diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 3372910dcc..89bb4168e9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2005-01-11 Kaz Kojima + + * ld-sh/shared-1.d: Update for changed dynamic syms. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init64.d: Likewise. + 2004-12-21 Tomer Levi * ld-crx/reloc-abs32.d: Update reference file according diff --git a/ld/testsuite/ld-sh/sh64/gotplt.d b/ld/testsuite/ld-sh/sh64/gotplt.d index 75d148c83a..89a401a28a 100644 --- a/ld/testsuite/ld-sh/sh64/gotplt.d +++ b/ld/testsuite/ld-sh/sh64/gotplt.d @@ -7,6 +7,6 @@ # Make sure that gotplt relocations of forced local symbols # use the GOT. -Relocation section '\.rela\.dyn' at offset 0x29c contains 1 entries: +Relocation section '\.rela\.dyn' at offset 0x270 contains 1 entries: Offset Info Type Sym\.Value Sym\. Name \+ Addend -000003cc 000000a5 R_SH_RELATIVE 000002a8 +0000039c 000000a5 R_SH_RELATIVE 0000027c diff --git a/ld/testsuite/ld-sh/sh64/init-cmpct.d b/ld/testsuite/ld-sh/sh64/init-cmpct.d index e6f094dd82..b9f1731efb 100644 --- a/ld/testsuite/ld-sh/sh64/init-cmpct.d +++ b/ld/testsuite/ld-sh/sh64/init-cmpct.d @@ -7,14 +7,14 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is not set # when _init and _fini are SHcompact code. -Dynamic section at offset 0x250 contains 8 entries: +Dynamic section at offset 0x228 contains 8 entries: Tag Type Name/Value - 0x0000000c \(INIT\) 0x240 - 0x0000000d \(FINI\) 0x248 + 0x0000000c \(INIT\) 0x216 + 0x0000000d \(FINI\) 0x21e 0x00000004 \(HASH\) 0x94 - 0x00000005 \(STRTAB\) 0x1d4 - 0x00000006 \(SYMTAB\) 0xe4 - 0x0000000a \(STRSZ\) 107 \(bytes\) + 0x00000005 \(STRTAB\) 0x1c0 + 0x00000006 \(SYMTAB\) 0xe0 + 0x0000000a \(STRSZ\) 85 \(bytes\) 0x0000000b \(SYMENT\) 16 \(bytes\) 0x00000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/sh64/init-media.d b/ld/testsuite/ld-sh/sh64/init-media.d index 1b4f45446c..4e0e585261 100644 --- a/ld/testsuite/ld-sh/sh64/init-media.d +++ b/ld/testsuite/ld-sh/sh64/init-media.d @@ -7,13 +7,13 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is set # when _init and _fini are SHmedia code. -Dynamic section at offset 0x260 contains 8 entries: +Dynamic section at offset 0x238 contains 8 entries: Tag Type Name/Value - 0x0000000c \(INIT\) 0x241 - 0x0000000d \(FINI\) 0x251 + 0x0000000c \(INIT\) 0x217 + 0x0000000d \(FINI\) 0x227 0x00000004 \(HASH\) 0x94 - 0x00000005 \(STRTAB\) 0x1d4 - 0x00000006 \(SYMTAB\) 0xe4 - 0x0000000a \(STRSZ\) 107 \(bytes\) + 0x00000005 \(STRTAB\) 0x1c0 + 0x00000006 \(SYMTAB\) 0xe0 + 0x0000000a \(STRSZ\) 85 \(bytes\) 0x0000000b \(SYMENT\) 16 \(bytes\) 0x00000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/sh64/init64.d b/ld/testsuite/ld-sh/sh64/init64.d index eae44571f8..c32a76fec0 100644 --- a/ld/testsuite/ld-sh/sh64/init64.d +++ b/ld/testsuite/ld-sh/sh64/init64.d @@ -7,13 +7,13 @@ # Make sure that the lsb of DT_INIT and DT_FINI entries is set # when _init and _fini are SHmedia code. -Dynamic section at offset 0x330 contains 8 entries: +Dynamic section at offset 0x300 contains 8 entries: Tag Type Name/Value - 0x000000000000000c \(INIT\) 0x30d - 0x000000000000000d \(FINI\) 0x31d + 0x000000000000000c \(INIT\) 0x2df + 0x000000000000000d \(FINI\) 0x2ef 0x0000000000000004 \(HASH\) 0xe8 - 0x0000000000000005 \(STRTAB\) 0x2a0 + 0x0000000000000005 \(STRTAB\) 0x288 0x0000000000000006 \(SYMTAB\) 0x138 - 0x000000000000000a \(STRSZ\) 107 \(bytes\) + 0x000000000000000a \(STRSZ\) 85 \(bytes\) 0x000000000000000b \(SYMENT\) 24 \(bytes\) 0x0000000000000000 \(NULL\) 0x0 diff --git a/ld/testsuite/ld-sh/shared-1.d b/ld/testsuite/ld-sh/shared-1.d index f04f940ff4..8ee19bd1a1 100644 --- a/ld/testsuite/ld-sh/shared-1.d +++ b/ld/testsuite/ld-sh/shared-1.d @@ -13,10 +13,10 @@ Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries: .* -00000220 000000a5 R_SH_RELATIVE +00000224 +000001f8 000000a5 R_SH_RELATIVE +000001fc Hex dump of section '\.rela\.text': - 0x0000020c 00000224 000000a5 00000220 .* + 0x000001e4 000001fc 000000a5 000001f8 .* Hex dump of section '\.text': - 0x00000218 00000224 00090009 00090009 .* + 0x000001f0 000001fc 00090009 00090009 .*