orphan4.ld 363 B

12345678910111213
  1. /* The .foo section doesn't specify *any* objects, but the object
  2. we're linking has sections named ".foo". Make sure these sections
  3. are linked into the .foo output section anyway. The bug that was
  4. fixed was that a new .foo output section would be created at
  5. address 0. */
  6. SECTIONS {
  7. .foo 0x00001000 : {
  8. }
  9. .text 0x00002000 : {
  10. *(.text);
  11. }
  12. }