mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 08:13:37 +08:00
2e0a763211
to be emitted and checked. * ld-mmix/data-1.s, ld-mmix/orph-.d, ld-mmix/orph-awp.d, ld-mmix/orph-d-a.d, ld-mmix/orph-d-awn.d, ld-mmix/orph-d-awp.d, ld-mmix/orph-d-awpe.d, ld-mmix/orph-d.d, ld-mmix/orph-dc-ap.d, ld-mmix/orph-dc-awp.d, ld-mmix/orph-dc.d, ld-mmix/tm-ae.s, ld-mmix/tm-ape.s, ld-mmix/tm-awne.s, ld-mmix/tm-awpe.s, ld-mmix/tm-d-ap.s, ld-mmix/tm-d-awp.s, ld-mmix/tm-d.s, ld-mmix/tm-e.s, ld-mmix/tm-orph1.s: New test files.
34 lines
912 B
Makefile
34 lines
912 B
Makefile
#as: -linker-allocated-gregs
|
|
#source: start.s
|
|
#source: data-1.s
|
|
#source: tm-orph1.s
|
|
#source: tm-awpe.s
|
|
#ld: -m mmo -u __etext -u __Sdata -u __Edata -u __Sbss -u __Ebss -u __Eall
|
|
#objdump: -rst
|
|
|
|
# An orphan section (.tm_clone_table) would attach after the register
|
|
# section, and contents and symbols and related relocations would be
|
|
# reduced to be relative to the register section, which is an error.
|
|
# We check the original case ("aw",@progbits, to .data or .bss),
|
|
# PR ld/1xxxx.
|
|
|
|
.*: file format mmo
|
|
|
|
SYMBOL TABLE:
|
|
0+ +g +\.text Main
|
|
0+8 +g +\.text __etext
|
|
20+8 +g +\.data __TMC_END__
|
|
20+8 +g +\.data __Ebss
|
|
20+8 +g +\.data __Edata
|
|
0+ +g +\.text _start
|
|
20+8 +g +\.data __Eall
|
|
20+ +g +\.data __Sdata
|
|
20+8 +g +\.data __Sbss
|
|
|
|
Contents of section \.text:
|
|
0000 e3fd0001 23fcfe00 .*
|
|
Contents of section \.data:
|
|
2000000000000004 00000042 .*
|
|
Contents of section \.MMIX\.reg_contents:
|
|
07f0 20000000 0000000f .*
|