From: H.J. Lu Date: Sat, 12 May 2012 01:12:14 +0000 (+0000) Subject: Adjust testcases for readelf addend change X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=7dbe414f2453b79231a1a8ab5ce957a28a04628c;p=deliverable%2Fbinutils-gdb.git Adjust testcases for readelf addend change * ld-cris/hiddef1.d: Updated. * ld-cris/libdso-2.d: Likewise. * ld-cris/tls-js1.d: Likewise. * ld-cris/tls-local-63.d: Likewise. * ld-cris/tls-local-64.d: Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 63e8f90485..d7565b097c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-05-11 H.J. Lu + + * ld-cris/hiddef1.d: Updated. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/tls-js1.d: Likewise. + * ld-cris/tls-local-63.d: Likewise. + * ld-cris/tls-local-64.d: Likewise. + 2012-05-11 H.J. Lu PR binutils/14088 diff --git a/ld/testsuite/ld-cris/hiddef1.d b/ld/testsuite/ld-cris/hiddef1.d index b3bd87dfab..1a1cc186bd 100644 --- a/ld/testsuite/ld-cris/hiddef1.d +++ b/ld/testsuite/ld-cris/hiddef1.d @@ -20,7 +20,7 @@ There are 11 section headers, starting at offset 0x[0-9a-f]+: #... Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: #... -[0-9a-f]+ 0+c R_CRIS_RELATIVE [0-9a-f]+ +[0-9a-f]+ 0+c R_CRIS_RELATIVE +[0-9a-f]+ #... Symbol table '\.dynsym' contains 6 entries: #... diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index 165e2228e1..d50cceb24d 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -27,7 +27,7 @@ There are 13 section headers.* #... Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: #... -00002[12][0-9a-f][048c] +0000000c R_CRIS_RELATIVE +00000150 +00002[12][0-9a-f][048c] +0000000c R_CRIS_RELATIVE +150 #... Symbol table '\.dynsym' contains 4 entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name diff --git a/ld/testsuite/ld-cris/tls-js1.d b/ld/testsuite/ld-cris/tls-js1.d index 0dc4f7c19a..0c1509fb70 100644 --- a/ld/testsuite/ld-cris/tls-js1.d +++ b/ld/testsuite/ld-cris/tls-js1.d @@ -20,7 +20,7 @@ #... Relocation section '\.rela\.dyn' at offset 0x20c contains 2 entries: Offset Info Type Sym\.Value Sym\. Name \+ Addend -00002354 0000001e R_CRIS_DTPMOD 00000000 +00002354 0000001e R_CRIS_DTPMOD +0 00002364 0000050a R_CRIS_GLOB_DAT 00002368 expobj \+ 0 Relocation section '\.rela\.plt' at offset 0x224 contains 2 entries: diff --git a/ld/testsuite/ld-cris/tls-local-63.d b/ld/testsuite/ld-cris/tls-local-63.d index ea86a461b4..320e717c8a 100644 --- a/ld/testsuite/ld-cris/tls-local-63.d +++ b/ld/testsuite/ld-cris/tls-local-63.d @@ -10,7 +10,7 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: Offset Info Type Sym.Value Sym. Name \+ Addend -00002210 0000001c R_CRIS_32_TPREL[ ]+00+ +00002210 0000001c R_CRIS_32_TPREL[ ]+0 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported. diff --git a/ld/testsuite/ld-cris/tls-local-64.d b/ld/testsuite/ld-cris/tls-local-64.d index 7630fdcd2e..1ed741c15d 100644 --- a/ld/testsuite/ld-cris/tls-local-64.d +++ b/ld/testsuite/ld-cris/tls-local-64.d @@ -12,7 +12,7 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: Offset Info Type Sym.Value Sym. Name \+ Addend -00002290 0000001c R_CRIS_32_TPREL[ ]+0+80 +00002290 0000001c R_CRIS_32_TPREL[ ]+80 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported.