From a2b2bf0e868e5c1f7061ba1e8316916a68fb2193 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 1 Dec 2003 06:56:51 +0000 Subject: [PATCH] Update for changed section alignment. --- ld/testsuite/ChangeLog | 12 ++++++++++++ ld/testsuite/ld-sh/sh64/abi32.xd | 2 +- ld/testsuite/ld-sh/sh64/abi64.xd | 2 +- ld/testsuite/ld-sh/sh64/cmpct1.xd | 2 +- ld/testsuite/ld-sh/sh64/rel32.xd | 2 +- ld/testsuite/ld-sh/sh64/rel64.xd | 2 +- ld/testsuite/ld-sh/sh64/shdl32.xd | 4 ++-- ld/testsuite/ld-sh/sh64/shdl64.xd | 4 ++-- ld/testsuite/ld-sh/tlsbin-2.d | 4 ++-- ld/testsuite/ld-sh/tlspic-2.d | 4 ++-- 10 files changed, 25 insertions(+), 13 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d22282dcaf5..8e47c841a77 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2003-12-01 Alan Modra + + * ld-sh/tlsbin-2.d: Update section alignment. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + 2003-11-19 Alan Modra * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump. diff --git a/ld/testsuite/ld-sh/sh64/abi32.xd b/ld/testsuite/ld-sh/sh64/abi32.xd index 22160a961de..8fd05c99d78 100644 --- a/ld/testsuite/ld-sh/sh64/abi32.xd +++ b/ld/testsuite/ld-sh/sh64/abi32.xd @@ -17,7 +17,7 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 00000064 0+1000 0+1000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.data 00000018 0+10e8 0+10e8 00000168 2\*\*0 + 1 \.data 00000018 0+10e8 0+10e8 00000168 2\*\*2 CONTENTS, ALLOC, LOAD, DATA 2 \.ctors 00000000 0+1100 0+1100 00000184 2\*\*0 CONTENTS diff --git a/ld/testsuite/ld-sh/sh64/abi64.xd b/ld/testsuite/ld-sh/sh64/abi64.xd index f857d25a0cb..65ee15e7798 100644 --- a/ld/testsuite/ld-sh/sh64/abi64.xd +++ b/ld/testsuite/ld-sh/sh64/abi64.xd @@ -16,7 +16,7 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 000000ac 0000000000001000 0000000000001000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.data 00000018 0000000000001130 0000000000001130 000001b0 2\*\*0 + 1 \.data 00000018 0000000000001130 0000000000001130 000001b0 2\*\*2 CONTENTS, ALLOC, LOAD, DATA 2 \.ctors 00000000 0000000000001148 0000000000001148 00000204 2\*\*0 CONTENTS diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd index b0ed87533f3..37a8c7cc317 100644 --- a/ld/testsuite/ld-sh/sh64/cmpct1.xd +++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd @@ -17,7 +17,7 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 00000008 0+1000 0+1000 00000100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 0000000c 0+1008 0+1008 00000108 2\*\*0 + 1 \.rodata 0000000c 0+1008 0+1008 00000108 2\*\*2 CONTENTS, ALLOC, LOAD, READONLY, DATA 2 \.data 00000000 0+1098 0+1098 00000118 2\*\*0 CONTENTS, ALLOC, LOAD, DATA diff --git a/ld/testsuite/ld-sh/sh64/rel32.xd b/ld/testsuite/ld-sh/sh64/rel32.xd index 80074859a8d..61c2f3927c2 100644 --- a/ld/testsuite/ld-sh/sh64/rel32.xd +++ b/ld/testsuite/ld-sh/sh64/rel32.xd @@ -9,7 +9,7 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 0+40 0+ 0+ 0+34 2\*\*0 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE - 1 \.data 0+40 0+ 0+ 0+74 2\*\*0 + 1 \.data 0+40 0+ 0+ 0+74 2\*\*2 CONTENTS, ALLOC, LOAD, RELOC, DATA 2 \.bss 0+ 0+ 0+ 0+b4 2\*\*0 ALLOC diff --git a/ld/testsuite/ld-sh/sh64/rel64.xd b/ld/testsuite/ld-sh/sh64/rel64.xd index dd470cbf828..c1842cc91d3 100644 --- a/ld/testsuite/ld-sh/sh64/rel64.xd +++ b/ld/testsuite/ld-sh/sh64/rel64.xd @@ -9,7 +9,7 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 0+40 0+ 0+ 0+40 2\*\*0 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE - 1 \.data 0+40 0+ 0+ 0+80 2\*\*0 + 1 \.data 0+40 0+ 0+ 0+80 2\*\*2 CONTENTS, ALLOC, LOAD, RELOC, DATA 2 \.bss 0+ 0+ 0+ 0+c0 2\*\*0 ALLOC diff --git a/ld/testsuite/ld-sh/sh64/shdl32.xd b/ld/testsuite/ld-sh/sh64/shdl32.xd index 8aa5dd39e87..facaa78eee6 100644 --- a/ld/testsuite/ld-sh/sh64/shdl32.xd +++ b/ld/testsuite/ld-sh/sh64/shdl32.xd @@ -16,9 +16,9 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 0+204 0+1000 0+1000 0+100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 0+144 0+1204 0+1204 0+304 2\*\*0 + 1 \.rodata 0+144 0+1204 0+1204 0+304 2\*\*2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*0 + 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*2 CONTENTS, ALLOC, LOAD, DATA 3 \.ctors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS diff --git a/ld/testsuite/ld-sh/sh64/shdl64.xd b/ld/testsuite/ld-sh/sh64/shdl64.xd index 34123b18e2b..1d9bce36f58 100644 --- a/ld/testsuite/ld-sh/sh64/shdl64.xd +++ b/ld/testsuite/ld-sh/sh64/shdl64.xd @@ -16,9 +16,9 @@ Sections: Idx Name Size VMA LMA File off Algn 0 \.text 0+204 0+1000 0+1000 0+100 2\*\*0 CONTENTS, ALLOC, LOAD, READONLY, CODE - 1 \.rodata 0+144 0+1204 0+1204 0+304 2\*\*0 + 1 \.rodata 0+144 0+1204 0+1204 0+304 2\*\*2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*0 + 2 \.data 0+194 0+13c8 0+13c8 0+448 2\*\*2 CONTENTS, ALLOC, LOAD, DATA 3 \.ctors 0+ 0+155c 0+155c 0+604 2\*\*0 CONTENTS diff --git a/ld/testsuite/ld-sh/tlsbin-2.d b/ld/testsuite/ld-sh/tlsbin-2.d index d84b1020af3..6c059870f51 100644 --- a/ld/testsuite/ld-sh/tlsbin-2.d +++ b/ld/testsuite/ld-sh/tlsbin-2.d @@ -19,7 +19,7 @@ Section Headers: \[ 7\] \.plt +.* \[ 8\] \.text +PROGBITS +0+401000 .* \[ 9\] \.data +.* - \[10\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT 0 0 1 + \[10\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT 0 0 4 \[11\] \.tbss +NOBITS +0+413018 [0-9a-f]+ 0+010 00 WAT 0 0 1 \[12\] \.dynamic +DYNAMIC +0+413018 .* #... @@ -47,7 +47,7 @@ Program Headers: LOAD.* LOAD.* DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x1 + TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4 Section to Segment mapping: Segment Sections\.\.\. diff --git a/ld/testsuite/ld-sh/tlspic-2.d b/ld/testsuite/ld-sh/tlspic-2.d index 3a99d2243ba..bf8cdd6bb89 100644 --- a/ld/testsuite/ld-sh/tlspic-2.d +++ b/ld/testsuite/ld-sh/tlspic-2.d @@ -18,7 +18,7 @@ Section Headers: \[ 6\] \.plt +.* \[ 7\] \.text +PROGBITS +0+[0-9a-f]+ .* \[ 8\] \.data +.* - \[ 9\] \.tdata +PROGBITS +0+[0-9a-f]+ [0-9a-f]+ 0+018 00 WAT 0 0 1 + \[ 9\] \.tdata +PROGBITS +0+[0-9a-f]+ [0-9a-f]+ 0+018 00 WAT 0 0 4 \[10\] \.tbss +NOBITS +0+[0-9a-f]+ [0-9a-f]+ 0+008 00 WAT 0 0 1 \[11\] \.dynamic +DYNAMIC +0+[0-9a-f]+ .* #... @@ -43,7 +43,7 @@ Program Headers: LOAD.* LOAD.* DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+20 R +0x1 + TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+20 R +0x4 Section to Segment mapping: Segment Sections\.\.\. -- 2.30.2