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

26 lines
806 B
Makefile

#source: bspec808.s
#source: start.s
#ld: -m mmo
#objdump: -sh
# See spec801.d.
# #8: Indecent section length.
.*: 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+20 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 00000002 61616161 61616161 00000011 .*
0010 0000ff00 00000000 000000ff 00000000 .*