Subversion Repositories QNX 8.QNX8 GNU binutils

Rev

Rev 4 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ARCH=aarch64
  2. MACHINE=
  3. # Pierre-Marie Baty -- align value with the official QNX linker
  4. NOP=0
  5.  
  6. SCRIPT_NAME=elf
  7. ELFSIZE=64
  8. OUTPUT_FORMAT="elf64-littleaarch64"
  9. BIG_OUTPUT_FORMAT="elf64-bigaarch64"
  10. LITTLE_OUTPUT_FORMAT="elf64-littleaarch64"
  11. NO_REL_RELOCS=yes
  12.  
  13. TEMPLATE_NAME=elf
  14. EXTRA_EM_FILE=nto
  15.  
  16. GENERATE_SHLIB_SCRIPT=yes
  17. GENERATE_PIE_SCRIPT=yes
  18.  
  19. MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
  20. COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
  21. SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
  22. IREL_IN_PLT=
  23.  
  24. TEXT_START_ADDR=0x400000
  25.  
  26. # Pierre-Marie Baty -- align changes with the official QNX linker
  27. TEXT_START_SYMBOLS='_btext = .;'
  28. DATA_START_SYMBOLS='__data_start = .;';
  29.  
  30. # AArch64 does not support .s* sections.
  31. NO_SMALL_DATA=yes
  32.  
  33. OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__bss_start__ = .${CREATE_SHLIB+)};"
  34. OTHER_BSS_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ = .${CREATE_SHLIB+)};"
  35. OTHER_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__end__ = .${CREATE_SHLIB+)};"
  36.  
  37. OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
  38. ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }'
  39. # Ensure each PLT entry is aligned to a cache line.
  40. PLT=".plt          ${RELOCATING-0} : ALIGN(16) { *(.plt)${RELOCATING+${IREL_IN_PLT+ *(.iplt)}} }"
  41.  
  42.  
  43. ELF_INTERPRETER_NAME=\"/usr/lib/ldqnx-64.so.2\"
  44.