Subversion Repositories QNX 8.QNX8 GNU binutils

Rev

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

  1. source_sh ${srcdir}/emulparams/plt_unwind.sh
  2. source_sh ${srcdir}/emulparams/extern_protected_data.sh
  3. source_sh ${srcdir}/emulparams/dynamic_undefined_weak.sh
  4. source_sh ${srcdir}/emulparams/reloc_overflow.sh
  5. source_sh ${srcdir}/emulparams/call_nop.sh
  6. source_sh ${srcdir}/emulparams/cet.sh
  7. source_sh ${srcdir}/emulparams/x86-report-relative.sh
  8. source_sh ${srcdir}/emulparams/x86-64-level.sh
  9. source_sh ${srcdir}/emulparams/x86-64-lam.sh
  10. source_sh ${srcdir}/emulparams/static.sh
  11. source_sh ${srcdir}/emulparams/dt-relr.sh
  12. SCRIPT_NAME=elf
  13. ELFSIZE=64
  14. OUTPUT_FORMAT="elf64-x86-64"
  15. NO_REL_RELOCS=yes
  16. TEXT_START_ADDR=0x400000
  17. MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
  18. COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
  19. ARCH="i386:x86-64"
  20. MACHINE=
  21. TEMPLATE_NAME=elf
  22. EXTRA_EM_FILE="elf-x86"
  23. GENERATE_SHLIB_SCRIPT=yes
  24. GENERATE_PIE_SCRIPT=yes
  25. NO_SMALL_DATA=yes
  26. LARGE_SECTIONS=yes
  27. LARGE_BSS_AFTER_BSS=
  28. SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
  29. IREL_IN_PLT=
  30. # These sections are placed right after .plt section.
  31. OTHER_PLT_SECTIONS="
  32. .plt.got      ${RELOCATING-0} : { *(.plt.got) }
  33. .plt.sec      ${RELOCATING-0} : { *(.plt.sec) }
  34. "
  35.  
  36. if [ "x${host}" = "x${target}" ]; then
  37.   case " $EMULATION_LIBPATH " in
  38.     *" ${EMULATION_NAME} "*)
  39.       NATIVE=yes
  40.   esac
  41. fi
  42.  
  43. # Linux/Solaris modify the default library search path to first include
  44. # a 64-bit specific directory.
  45. case "$target" in
  46.   x86_64*-linux*|i[3-7]86-*-linux-*)
  47.     case "$EMULATION_NAME" in
  48.       *64*)
  49.         LIBPATH_SUFFIX=64
  50.         ;;
  51.     esac
  52.     ;;
  53.   *-*-solaris2*)
  54.     LIBPATH_SUFFIX=/amd64
  55.     ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
  56.   ;;
  57.   # Pierre-Marie Baty -- added QNX Neutrino particularities
  58.   x86_64*-pc-nto-qnx*)
  59.     TEXT_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_btext = .${CREATE_SHLIB+)};"
  60.     ELF_INTERPRETER_NAME=\"/usr/lib/ldqnx-64.so.2\"
  61.   ;;
  62. esac
  63.