mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
5f60280291
With the bfd_decode_symclass change, ld SIZEOF test fails due to data_end being reported as type '?'. bfd/ PR 24511 * mmo.c (mmo_scan): Set SEC_DATA for .data. ld/ PR 24511 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change. * testsuite/ld-mmix/sec-2.d: Likewise. * testsuite/ld-mmix/sec-3.d: Likewise. * testsuite/ld-mmix/sec-4.d: Likewise. * testsuite/ld-mmix/spec802.d: Likewise. * testsuite/ld-mmix/spec803.d: Likewise. * testsuite/ld-mmix/spec804.d: Likewise. * testsuite/ld-mmix/spec805.d: Likewise. * testsuite/ld-mmix/spec806.d: Likewise. * testsuite/ld-mmix/spec807.d: Likewise. * testsuite/ld-mmix/spec808.d: Likewise.
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
#source: sec-1.s
|
|
#source: start.s
|
|
#source: data1.s
|
|
#ld: -m mmo -u __etext -u __Sdata -u __Edata -u __Sbss -u __Ebss -u __Eall
|
|
#objdump: -sht
|
|
|
|
.*: file format mmo
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
1 secname 0+19 0+4 0+4 0+ 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
|
3 \.data 0+4 2000000000000004 2000000000000004 0+ 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
4 anothersec 0+13 2000000000000008 2000000000000008 0+ 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
5 thirdsec 0+a 0+ 0+ 0+ 2\*\*2
|
|
CONTENTS, READONLY
|
|
|
|
SYMBOL TABLE:
|
|
#...
|
|
0+30 g +\*ABS\* __etext
|
|
200000000000001c g +\*ABS\* __Ebss
|
|
200000000000001b g +\*ABS\* __Edata
|
|
#...
|
|
200000000000001c g +\*ABS\* __Eall
|
|
20+ g +\.data __Sdata
|
|
200000000000001c g +\*ABS\* __Sbss
|
|
|
|
Contents of section \.text:
|
|
0000 e3fd0001 .*
|
|
Contents of section secname:
|
|
0004 00000001 00000002 00000003 00000004 .*
|
|
0014 ffffffff fffff827 50 .*
|
|
Contents of section \.a\.fourth\.section:
|
|
0020 00000000 0087a238 00000000 302a55a8 .*
|
|
Contents of section \.data:
|
|
2000000000000004 0000002c .*
|
|
Contents of section anothersec:
|
|
2000000000000008 0000000a 00000009 00000008 00000007 .*
|
|
2000000000000018 252729 .*
|
|
Contents of section thirdsec:
|
|
0000 00030d41 000186a2 2628 .*
|