From 68715859c7df9bce56e502bd297a3993a9592786 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 5 Mar 2004 19:27:34 +0000 Subject: [PATCH] * ld-scripts/size-1.d: Add bigendian regexps. * ld-scripts/size-2.d: Set --wide for readelf. --- ld/testsuite/ChangeLog | 3 +++ ld/testsuite/ld-scripts/size-1.d | 9 +++++++-- ld/testsuite/ld-scripts/size-2.d | 14 +++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 18c66f4612..9d755d3a04 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2004-03-05 Nathan Sidwell + * ld-scripts/size-1.d: Add bigendian regexps. + * ld-scripts/size-2.d: Set --wide for readelf. + * ld-scripts/size.exp: New. * ld-scripts/size-[12].{d,s,t}: New. diff --git a/ld/testsuite/ld-scripts/size-1.d b/ld/testsuite/ld-scripts/size-1.d index 667f5317db..8f36407d3a 100644 --- a/ld/testsuite/ld-scripts/size-1.d +++ b/ld/testsuite/ld-scripts/size-1.d @@ -4,13 +4,18 @@ .*: file format .* +#... Contents of section \.text: 0+00 (01)?000000(01)? (02)?000000(02)? ........ +#... Contents of section \.data: 0+08 (03)?000000(03)? (04)?000000(04)? (05)?000000(05)? ............ +#... Contents of section \.tdata: - 0+24 (06)?000000 07000000 08000000 09000000 ................ - 0+34 (0a)?000000 .... + 0+24 (06)?000000(06)? (07)?000000(07)? (08)?000000(08)? (09)?000000(09)? ................ + 0+34 (0a)?000000(0a)? .... +#... Contents of section \.map: 0+38 (08)?000000(08)? (0c)?000000(0c)? (10)?000000(10)? (14)?000000(14)? ................ 0+48 (18)?000000(18)? .... +#... diff --git a/ld/testsuite/ld-scripts/size-2.d b/ld/testsuite/ld-scripts/size-2.d index 3cbfb447d9..8b56c7a1e6 100644 --- a/ld/testsuite/ld-scripts/size-2.d +++ b/ld/testsuite/ld-scripts/size-2.d @@ -1,17 +1,13 @@ #source: size-2.s #ld: -T size-2.t -#readelf: -l +#readelf: -l --wide #... Program Headers: - Type Offset VirtAddr PhysAddr - FileSiz MemSiz Flags Align - PHDR 0x[0-9a-f]+ 0x0+0000 0x0+0000 - 0x[0-9a-f]+ 0x[0-9a-f]+ R . - LOAD 0x[0-9a-f]+ 0x0+0000 0x0+0000 - 0x0+0030 0x0+0030 R [0-9a-f]+ - TLS 0x[0-9a-f]+ 0x0+0008 0x0+0008 - 0x0+0014 0x0+002c R [0-9a-f]+ + Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align + PHDR 0x[0-9a-f]+ 0x0+0000 0x0+0000 0x[0-9a-f]+ 0x[0-9a-f]+ R 0x[0-9a-f]+ + LOAD 0x[0-9a-f]+ 0x0+0000 0x0+0000 0x0+0030 0x0+0030 R 0x[0-9a-f]+ + TLS 0x[0-9a-f]+ 0x0+0008 0x0+0008 0x0+0014 0x0+002c R 0x[0-9a-f]+ Section to Segment mapping: Segment Sections... -- 2.34.1