sec-9.d 817 B

12345678910111213141516171819
  1. #source: start.s
  2. #ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
  3. #objdump: -sh
  4. # This is based on sec-5.d which used to link .text at an unexpected
  5. # address to check that a special section was created in objdump when
  6. # reading in contents at an unusual location without a proper section
  7. # descriptor. As .text (like .data) now gets a section descriptor when
  8. # linked to an unexpected location, the old test is transformed into a
  9. # specific check that the section description for .text works.
  10. .*: file format mmo
  11. Sections:
  12. Idx Name Size VMA LMA File off Algn
  13. 0 \.text 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
  14. CONTENTS, ALLOC, LOAD, READONLY, CODE
  15. Contents of section \.text:
  16. 1000000000000000 e3fd0001 .*