2001-10-30 15:20:14 +00:00
|
|
|
#source: sec-1.s
|
|
|
|
#source: start.s
|
* ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
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.
2012-09-09 16:31:12 +00:00
|
|
|
#ld: -m elf64mmix -u _etext -u _edata -u _end
|
2001-10-30 15:20:14 +00:00
|
|
|
#objcopy_linked_file: -O mmo
|
* ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
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.
2012-09-09 16:31:12 +00:00
|
|
|
#objdump: -sht
|
2001-10-30 15:20:14 +00:00
|
|
|
|
2005-11-17 02:01:14 +00:00
|
|
|
# Test conversion from ELF to mmo with non-mmo-sections present,
|
|
|
|
# testing that support.
|
|
|
|
|
2001-10-30 15:20:14 +00:00
|
|
|
.*: 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
|
2006-01-03 07:03:26 +00:00
|
|
|
1 secname 0+19 0+4 0+4 0+ 2\*\*2
|
2005-11-17 02:01:14 +00:00
|
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
2006-01-03 07:03:26 +00:00
|
|
|
2 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
|
|
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
2002-07-19 03:30:13 +00:00
|
|
|
3 anothersec 0+13 2000000000000000 2000000000000000 0+ 2\*\*2
|
2001-10-30 15:20:14 +00:00
|
|
|
CONTENTS, ALLOC, LOAD, DATA
|
2002-07-19 03:30:13 +00:00
|
|
|
4 thirdsec 0+a 0+ 0+ 0+ 2\*\*2
|
2001-10-30 15:20:14 +00:00
|
|
|
CONTENTS, READONLY
|
* ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
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.
2012-09-09 16:31:12 +00:00
|
|
|
|
|
|
|
SYMBOL TABLE:
|
|
|
|
#...
|
|
|
|
0+1d g +\*ABS\* _etext
|
|
|
|
#...
|
|
|
|
2000000000000013 g +\*ABS\* __bss_start
|
|
|
|
2000000000000013 g +\*ABS\* _edata
|
|
|
|
2000000000000018 g +\*ABS\* _end
|
|
|
|
|
2001-10-30 15:20:14 +00:00
|
|
|
Contents of section \.text:
|
|
|
|
0000 e3fd0001 .*
|
|
|
|
Contents of section secname:
|
|
|
|
0004 00000001 00000002 00000003 00000004 .*
|
2002-07-19 03:30:13 +00:00
|
|
|
0014 ffffffff fffff827 50 .*
|
2006-01-03 07:03:26 +00:00
|
|
|
Contents of section \.a\.fourth\.section:
|
|
|
|
0020 00000000 0087a238 00000000 302a55a8 .*
|
2001-10-30 15:20:14 +00:00
|
|
|
Contents of section anothersec:
|
* ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d,
ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d,
ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d,
ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d,
ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d,
ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d,
ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for
objdump no longer truncating dump addresses.
2003-05-12 05:45:38 +00:00
|
|
|
2000000000000000 0000000a 00000009 00000008 00000007 .*
|
|
|
|
2000000000000010 252729 .*
|
2001-10-30 15:20:14 +00:00
|
|
|
Contents of section thirdsec:
|
2002-07-19 03:30:13 +00:00
|
|
|
0000 00030d41 000186a2 2628 .*
|