binutils-gdb/ld/testsuite/ld-mmix/spec802.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

25 lines
757 B
Makefile

#source: bspec802.s
#source: start.s
#ld: -m mmo
#objdump: -sh
# See spec801.d.
# #2: non-quote LOP in name.
.*: 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 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0000 e3fd0001 .*
Contents of section \.data:
2000000000000000 00112233 .*
Contents of section \.MMIX\.spec_data\.80:
0000 00000004 .*