binutils-gdb/ld/testsuite/ld-mmix/sec-2.d
Alan Modra 5f60280291 mmix-mmo set SEC_DATA for .data section
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.
2020-02-28 08:19:42 +10:30

27 lines
1.0 KiB
Makefile

#source: sec-1.s
#source: start.s
#source: data1.s
#ld: -m mmo -T $srcdir/$subdir/mmosec1.ld
#objdump: -sh
.*: file format mmo
Sections:
Idx Name Size VMA LMA File off Algn
0 \.text 0+4 0+100 0+100 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.other 0+50 1000000000000000 1000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE, DATA
2 \.data 0+4 2000000000000004 2000000000000004 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, DATA
Contents of section \.text:
0100 e3fd0001 .*
Contents of section \.other:
1000000000000000 00000001 00000002 00000003 00000004 .*
1000000000000010 ffffffff fffff827 50000000 0000000a .*
1000000000000020 00000009 00000008 00000007 25272900 .*
1000000000000030 00030d41 000186a2 26280000 00000000 .*
1000000000000040 00000000 0087a238 00000000 302a55a8 .*
Contents of section \.data:
2000000000000004 0000012c .*