relax_call26_boundary.ld 444 B

1234567891011121314
  1. /* Simple script for testing call26 relaxation via linker stubs.
  2. This script is used for a bunch of tests that vary the placement of
  3. section text0 near a 256 memory segment boundary, by using
  4. --section-start command-line options. */
  5. OUTPUT_FORMAT("elf32-littlenios2", "elf32-littlenios2", "elf32-littlenios2")
  6. OUTPUT_ARCH(nios2)
  7. ENTRY(_start)
  8. SECTIONS
  9. {
  10. _start = .;
  11. text0 : { *(text0) *(text1) }
  12. text2 0x40000000 : { *(text2) }
  13. }