aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-12 13:46:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-12 13:46:26 +0000
commit9920b1ee65881e9bb30bd46f10299713c473363a (patch)
tree41d93c2b7b2994f30a00ef493cc3cacd2778c2ef /gas
parent56e63005cd68388efb769b08c8154c385a5345a3 (diff)
downloadgdb-9920b1ee65881e9bb30bd46f10299713c473363a.zip
gdb-9920b1ee65881e9bb30bd46f10299713c473363a.tar.gz
gdb-9920b1ee65881e9bb30bd46f10299713c473363a.tar.bz2
Adjust testcases for readelf addend change
gas/testsuite/ * gas/mips/elf-rel10.d: Updated. * gas/mips/elf-rel22.d: Likewise. * gas/mmix/comment-1.d: Likewise. ld/testsuite/ * ld-alpha/tlspic.rd: Updated. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlsso32.r: Likewise. * ld-powerpc/vxworks1-lib.rd: Likewise. * ld-s390/tlspic.rd: Likewise. * ld-s390/tlspic_64.rd: Likewise. * ld-sh/shared-1.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sparc/tlssunnopic32.rd: Likewise. * ld-sparc/tlssunnopic64.rd: Likewise. * ld-sparc/tlssunpic32.rd: Likewise. * ld-sparc/tlssunpic64.rd: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/elf-rel10.d16
-rw-r--r--gas/testsuite/gas/mips/elf-rel22.d2
-rw-r--r--gas/testsuite/gas/mmix/comment-1.d2
4 files changed, 16 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f1df950..f555213 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/mips/elf-rel10.d: Updated.
+ * gas/mips/elf-rel22.d: Likewise.
+ * gas/mmix/comment-1.d: Likewise.
+
+2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/i386/ilp32/ilp32.exp: Don't run reloc64-inval.
* gas/i386/ilp32/reloc64.s: Add test for -4294967295 addend.
diff --git a/gas/testsuite/gas/mips/elf-rel10.d b/gas/testsuite/gas/mips/elf-rel10.d
index 8fd3b79..c416f33 100644
--- a/gas/testsuite/gas/mips/elf-rel10.d
+++ b/gas/testsuite/gas/mips/elf-rel10.d
@@ -5,17 +5,17 @@
Relocation section '\.rela\.text' at offset .* contains 22 entries:
*Offset * Info * Type * Sym\.Value * Sym\. Name \+ Addend
0+0000 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * foo \+ 0
-0+0000 * 0+0018 * R_MIPS_SUB * 0+0000
-0+0000 * 0+0005 * R_MIPS_HI16 * 0+0000
+0+0000 * 0+0018 * R_MIPS_SUB * 0
+0+0000 * 0+0005 * R_MIPS_HI16 * 0
0+0004 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * foo \+ 0
-0+0004 * 0+0018 * R_MIPS_SUB * 0+0000
-0+0004 * 0+0006 * R_MIPS_LO16 * 0+0000
+0+0004 * 0+0018 * R_MIPS_SUB * 0
+0+0004 * 0+0006 * R_MIPS_LO16 * 0
0+000c * 0+..07 * R_MIPS_GPREL16 * 0+0000 * \.text \+ c
-0+000c * 0+0018 * R_MIPS_SUB * 0+0000
-0+000c * 0+0005 * R_MIPS_HI16 * 0+0000
+0+000c * 0+0018 * R_MIPS_SUB * 0
+0+000c * 0+0005 * R_MIPS_HI16 * 0
0+0010 * 0+..07 * R_MIPS_GPREL16 * 0+0000 * \.text \+ c
-0+0010 * 0+0018 * R_MIPS_SUB * 0+0000
-0+0010 * 0+0006 * R_MIPS_LO16 * 0+0000
+0+0010 * 0+0018 * R_MIPS_SUB * 0
+0+0010 * 0+0006 * R_MIPS_LO16 * 0
0+0018 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * foo \+ 0
0+001c * 0+..15 * R_MIPS_GOT_OFST * 0+0000 * foo \+ 0
0+0020 * 0+..14 * R_MIPS_GOT_PAGE * 0+0000 * foo \+ 1234
diff --git a/gas/testsuite/gas/mips/elf-rel22.d b/gas/testsuite/gas/mips/elf-rel22.d
index 14ab1a8..c4e85e5 100644
--- a/gas/testsuite/gas/mips/elf-rel22.d
+++ b/gas/testsuite/gas/mips/elf-rel22.d
@@ -4,6 +4,6 @@
Relocation section '\.rela\.text' .*:
.*
-.* R_MIPS_LO16 * 0+04
+.* R_MIPS_LO16 * 4
* Type2: R_MIPS_SUB *
* Type3: R_MIPS_LO16 *
diff --git a/gas/testsuite/gas/mmix/comment-1.d b/gas/testsuite/gas/mmix/comment-1.d
index 75b69bf..82559fe 100644
--- a/gas/testsuite/gas/mmix/comment-1.d
+++ b/gas/testsuite/gas/mmix/comment-1.d
@@ -13,7 +13,7 @@ Relocation section '\.rela\.text' at offset 0x... contains 5 entries:
0+46 +.* R_MMIX_16 +0+ +target2 +\+ 30
0+48 +.* R_MMIX_ADDR27 +0+ +target3 +\+ 38
0+54 +.* R_MMIX_ADDR19 +0+ +target3 +\+ 0
-0+78 +.* R_MMIX_LOCAL +0+30
+0+78 +.* R_MMIX_LOCAL +30
Symbol table '\.symtab' contains 12 entries:
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name