hello.ld 261 B

123456789101112
  1. /* User program (ring-3): load at 0x40000000, the canonical user VA. */
  2. ENTRY(_start)
  3. SECTIONS
  4. {
  5. . = 0x40000000;
  6. .text : { *(.text .text.*) }
  7. .rodata : { *(.rodata .rodata.*) }
  8. .data : { *(.data .data.*) }
  9. .bss : { *(.bss .bss.*) *(COMMON) }
  10. _end = .;
  11. }