aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-05-31 17:27:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-05-31 17:27:28 +0000
commitf60cf82f204ed6f59ced98ca15b5d50ced6d5aea (patch)
tree0fb10c91014060be22f8551e1a88532579dfcd02 /binutils
parent2013-05-31 Paul Brook <paul@codesourcery.com> (diff)
downloadbinutils-gdb-f60cf82f204ed6f59ced98ca15b5d50ced6d5aea.tar.gz
binutils-gdb-f60cf82f204ed6f59ced98ca15b5d50ced6d5aea.tar.bz2
binutils-gdb-f60cf82f204ed6f59ced98ca15b5d50ced6d5aea.zip
Don't align text/data/bss sections for ELF
binutils/testsuite/ * binutils-all/i386/compressed-1b.d: Updated for text/data/bss section alignment change. * binutils-all/i386/compressed-1c.d: Likewise. * binutils-all/x86-64/compressed-1b.d: Likewise. * binutils-all/x86-64/compressed-1c.d: Likewise. gas/ * config/tc-i386.c (md_begin): Don't align text/data/bss sections for ELF. gas/testsuite/ * gas/i386/size-3.d: Updated for text/data/bss section alignment change. * gas/i386/x86-64-size-1.d: Likewise. * gas/i386/x86-64-unwind.d: Likewise. * gas/i386/ilp32/x86-64-size-1.d: Likewise. * gas/i386/ilp32/x86-64-size-5.d: Likewise. * gas/i386/ilp32/x86-64-unwind.d: Likewise. ld/testsuite/ * ld-i386/pr12718.d: Updated for text/data/bss section alignment change. * ld-i386/tlsbindesc.dd: Likewise. * ld-i386/tlsbindesc.rd: Likewise. * ld-i386/tlsnopic.dd: Likewise. * ld-i386/tlspic.dd: Likewise. * ld-x86-64/ilp32-4.d: Likewise. * ld-x86-64/pr12718.d: Likewise. * ld-x86-64/split-by-file.rd: Likewise. * ld-x86-64/tlsbin.dd: Likewise. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsdesc.dd: Likewise. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlspic.dd: Likewise. * ld-x86-64/tlspic.rd: Likewise.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog8
-rw-r--r--binutils/testsuite/binutils-all/i386/compressed-1b.d6
-rw-r--r--binutils/testsuite/binutils-all/i386/compressed-1c.d6
-rw-r--r--binutils/testsuite/binutils-all/x86-64/compressed-1b.d6
-rw-r--r--binutils/testsuite/binutils-all/x86-64/compressed-1c.d6
5 files changed, 20 insertions, 12 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 47d0ced6f6c..ac10932fe22 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2013-05-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * binutils-all/i386/compressed-1b.d: Updated for text/data/bss
+ section alignment change.
+ * binutils-all/i386/compressed-1c.d: Likewise.
+ * binutils-all/x86-64/compressed-1b.d: Likewise.
+ * binutils-all/x86-64/compressed-1c.d: Likewise.
+
2013-05-28 Cary Coutant <ccoutant@google.com>
* binutils-all/dw2-1.W: Adjust expected output.
diff --git a/binutils/testsuite/binutils-all/i386/compressed-1b.d b/binutils/testsuite/binutils-all/i386/compressed-1b.d
index d7ffe21d887..8cc9653eef2 100644
--- a/binutils/testsuite/binutils-all/i386/compressed-1b.d
+++ b/binutils/testsuite/binutils-all/i386/compressed-1b.d
@@ -11,8 +11,8 @@ Section Headers:
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
\[ 0\] NULL 00000000 000000 000000 00 0 0 0
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16
- \[ 2\] .data PROGBITS 00000000 00005c 000000 00 WA 0 0 4
- \[ 3\] .bss NOBITS 00000000 00005c 000000 00 WA 0 0 4
- \[ 4\] .shstrtab STRTAB 00000000 00005c 00001c 00 0 0 1
+ \[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1
+ \[ 4\] .shstrtab STRTAB 00000000 00005b 00001c 00 0 0 1
Key to Flags:
#...
diff --git a/binutils/testsuite/binutils-all/i386/compressed-1c.d b/binutils/testsuite/binutils-all/i386/compressed-1c.d
index 3db18fe31c3..f05380fc62e 100644
--- a/binutils/testsuite/binutils-all/i386/compressed-1c.d
+++ b/binutils/testsuite/binutils-all/i386/compressed-1c.d
@@ -11,8 +11,8 @@ Section Headers:
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
\[ 0\] NULL 00000000 000000 000000 00 0 0 0
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16
- \[ 2\] .data PROGBITS 00000000 00005c 000000 00 WA 0 0 4
- \[ 3\] .bss NOBITS 00000000 00005c 000000 00 WA 0 0 4
- \[ 4\] .shstrtab STRTAB 00000000 00005c 00001c 00 0 0 1
+ \[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1
+ \[ 4\] .shstrtab STRTAB 00000000 00005b 00001c 00 0 0 1
Key to Flags:
#...
diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
index 078ccb6c6e8..ed5a45eddb2 100644
--- a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
+++ b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
@@ -11,8 +11,8 @@ Section Headers:
\[Nr\] Name Type Address Off Size ES Flg Lk Inf Al
\[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0
\[ 1\] .text PROGBITS 0000000000000000 000040 000015 00 AX 0 0 16
- \[ 2\] .data PROGBITS 0000000000000000 000058 000000 00 WA 0 0 4
- \[ 3\] .bss NOBITS 0000000000000000 000058 000000 00 WA 0 0 4
- \[ 4\] .shstrtab STRTAB 0000000000000000 000058 00001c 00 0 0 1
+ \[ 2\] .data PROGBITS 0000000000000000 000055 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 0000000000000000 000055 000000 00 WA 0 0 1
+ \[ 4\] .shstrtab STRTAB 0000000000000000 000055 00001c 00 0 0 1
Key to Flags:
#...
diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
index 90a3c2d7ffd..a0308c89bf9 100644
--- a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
+++ b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
@@ -11,8 +11,8 @@ Section Headers:
\[Nr\] Name Type Address Off Size ES Flg Lk Inf Al
\[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0
\[ 1\] .text PROGBITS 0000000000000000 000040 000015 00 AX 0 0 16
- \[ 2\] .data PROGBITS 0000000000000000 000058 000000 00 WA 0 0 4
- \[ 3\] .bss NOBITS 0000000000000000 000058 000000 00 WA 0 0 4
- \[ 4\] .shstrtab STRTAB 0000000000000000 000058 00001c 00 0 0 1
+ \[ 2\] .data PROGBITS 0000000000000000 000055 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 0000000000000000 000055 000000 00 WA 0 0 1
+ \[ 4\] .shstrtab STRTAB 0000000000000000 000055 00001c 00 0 0 1
Key to Flags:
#...