summaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-05-31 17:27:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-05-31 17:27:27 +0000
commitce1783fbd3dcbab443d8566c2c72c73d644e85dc (patch)
tree3915d29ac5091f2b67c2725ebfa2063677a5a361 /gas/testsuite
parentfc45d64e3032efc36403954bb2578fd4842ee1d8 (diff)
downloadbinutils-redhat-ce1783fbd3dcbab443d8566c2c72c73d644e85dc.tar.gz
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 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog10
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-size-1.d4
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-size-5.d4
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-unwind.d6
-rw-r--r--gas/testsuite/gas/i386/size-3.d4
-rw-r--r--gas/testsuite/gas/i386/x86-64-size-1.d4
-rw-r--r--gas/testsuite/gas/i386/x86-64-unwind.d6
7 files changed, 24 insertions, 14 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f8ae2b8615..c572d9c551 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2013-05-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * 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.
+
2013-05-31 Catherine Moore <clm@codesourcery.com>
gas/testsuite/
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
index 7b0884f4f4..d3e5a13f87 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
@@ -3,7 +3,7 @@
#readelf: -r
-Relocation section '.rela.text' at offset 0x2e0 contains 9 entries:
+Relocation section '.rela.text' at offset 0x2dc contains 9 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
0+1 00000420 R_X86_64_SIZE32 00000000 xxx \+ 0
0+6 00000420 R_X86_64_SIZE32 00000000 xxx - 8
@@ -15,7 +15,7 @@ Relocation section '.rela.text' at offset 0x2e0 contains 9 entries:
0+24 00000620 R_X86_64_SIZE32 00000020 zzz - 20
0+29 00000620 R_X86_64_SIZE32 00000020 zzz \+ 20
-Relocation section '.rela.data' at offset 0x34c contains 3 entries:
+Relocation section '.rela.data' at offset 0x348 contains 3 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
0+50 00000420 R_X86_64_SIZE32 00000000 xxx - 1
0+54 00000520 R_X86_64_SIZE32 00000000 yyy \+ 2
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
index 1c420fa990..46d38e65aa 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
@@ -3,13 +3,13 @@
#readelf: -r
-Relocation section '.rela.text' at offset 0x2dc contains 3 entries:
+Relocation section '.rela.text' at offset 0x2d8 contains 3 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
0+2 00000421 R_X86_64_SIZE64 00000000 xxx \+ 0
0+c 00000421 R_X86_64_SIZE64 00000000 xxx - 8
0+16 00000421 R_X86_64_SIZE64 00000000 xxx \+ 8
-Relocation section '.rela.data' at offset 0x300 contains 3 entries:
+Relocation section '.rela.data' at offset 0x2fc contains 3 entries:
Offset Info Type Sym.Value Sym. Name \+ Addend
0+50 00000421 R_X86_64_SIZE64 00000000 xxx - 1
0+58 00000621 R_X86_64_SIZE64 00000000 yyy \+ c8
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
index 3c9f88b3fa..d92f9c4875 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
@@ -7,9 +7,9 @@ There are 8 section headers, starting at offset 0x74:
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 000034 000000 00 AX 0 0 4
- \[ 2\] .data PROGBITS 00000000 000034 000000 00 WA 0 0 4
- \[ 3\] .bss NOBITS 00000000 000034 000000 00 WA 0 0 4
+ \[ 1\] .text PROGBITS 00000000 000034 000000 00 AX 0 0 1
+ \[ 2\] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
\[ 4\] .eh_frame X86_64_UNWIND 00000000 000034 000008 00 A 0 0 1
\[ 5\] .shstrtab STRTAB 00000000 00003c 000036 00 0 0 1
\[ 6\] .symtab SYMTAB 00000000 0001b4 000050 10 7 5 4
diff --git a/gas/testsuite/gas/i386/size-3.d b/gas/testsuite/gas/i386/size-3.d
index 78a9fb61e9..4f01766bab 100644
--- a/gas/testsuite/gas/i386/size-3.d
+++ b/gas/testsuite/gas/i386/size-3.d
@@ -2,7 +2,7 @@
#readelf: -r
-Relocation section '.rel.text' at offset 0x334 contains 6 entries:
+Relocation section '.rel.text' at offset 0x330 contains 6 entries:
Offset Info Type Sym.Value Sym. Name
0+1 00000626 R_386_SIZE32 00000000 xxx
0+6 00000626 R_386_SIZE32 00000000 xxx
@@ -11,7 +11,7 @@ Relocation section '.rel.text' at offset 0x334 contains 6 entries:
0+15 00000726 R_386_SIZE32 00000000 yyy
0+1a 00000726 R_386_SIZE32 00000000 yyy
-Relocation section '.rel.tdata' at offset 0x364 contains 2 entries:
+Relocation section '.rel.tdata' at offset 0x360 contains 2 entries:
Offset Info Type Sym.Value Sym. Name
0+50 00000626 R_386_SIZE32 00000000 xxx
0+54 00000726 R_386_SIZE32 00000000 yyy
diff --git a/gas/testsuite/gas/i386/x86-64-size-1.d b/gas/testsuite/gas/i386/x86-64-size-1.d
index 03484f8f53..798229ed43 100644
--- a/gas/testsuite/gas/i386/x86-64-size-1.d
+++ b/gas/testsuite/gas/i386/x86-64-size-1.d
@@ -3,7 +3,7 @@
#readelf: -r
-Relocation section '.rela.text' at offset 0x400 contains 9 entries:
+Relocation section '.rela.text' at offset 0x3f8 contains 9 entries:
Offset Info Type Sym. Value Sym. Name \+ Addend
0+1 000400000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 0
0+6 000400000020 R_X86_64_SIZE32 0000000000000000 xxx - 8
@@ -15,7 +15,7 @@ Relocation section '.rela.text' at offset 0x400 contains 9 entries:
0+24 000600000020 R_X86_64_SIZE32 0000000000000020 zzz - 20
0+29 000600000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 20
-Relocation section '.rela.data' at offset 0x4d8 contains 3 entries:
+Relocation section '.rela.data' at offset 0x4d0 contains 3 entries:
Offset Info Type Sym. Value Sym. Name \+ Addend
0+50 000400000020 R_X86_64_SIZE32 0000000000000000 xxx - 1
0+54 000500000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 2
diff --git a/gas/testsuite/gas/i386/x86-64-unwind.d b/gas/testsuite/gas/i386/x86-64-unwind.d
index ce60be4457..fbfc580817 100644
--- a/gas/testsuite/gas/i386/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/x86-64-unwind.d
@@ -9,11 +9,11 @@ Section Headers:
\[ 0\] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
\[ 1\] \.text PROGBITS 0000000000000000 00000040
- 0000000000000000 0000000000000000 AX 0 0 4
+ 0000000000000000 0000000000000000 AX 0 0 1
\[ 2\] \.data PROGBITS 0000000000000000 00000040
- 0000000000000000 0000000000000000 WA 0 0 4
+ 0000000000000000 0000000000000000 WA 0 0 1
\[ 3\] \.bss NOBITS 0000000000000000 00000040
- 0000000000000000 0000000000000000 WA 0 0 4
+ 0000000000000000 0000000000000000 WA 0 0 1
\[ 4\] \.eh_frame X86_64_UNWIND 0000000000000000 00000040
0000000000000008 0000000000000000 A 0 0 1
\[ 5\] \.shstrtab STRTAB 0000000000000000 00000048