elf32tilepro.sh 765 B

123456789101112131415161718192021222324252627
  1. SCRIPT_NAME=elf
  2. if [ -z "$OUTPUT_FORMAT" ]; then
  3. # Allow overriding externally to "elf32-tile64" if desired
  4. OUTPUT_FORMAT=elf32-tilepro
  5. fi
  6. TEXT_START_ADDR=0x10000
  7. NO_REL_RELOCS=yes
  8. MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
  9. COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
  10. # See also `include/elf/tilepro.h'
  11. ARCH=tilepro
  12. ALIGNMENT=64
  13. MACHINE=
  14. NOP=0
  15. TEMPLATE_NAME=elf
  16. GENERATE_SHLIB_SCRIPT=yes
  17. GENERATE_COMBRELOC_SCRIPT=yes
  18. GENERATE_PIE_SCRIPT=yes
  19. NO_SMALL_DATA=yes
  20. SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 8 ? 8 : 0"
  21. OTHER_SECTIONS="
  22. /* TILEPRO architecture interrupt vector areas */
  23. .intrpt0 0xfc000000 : { KEEP(*(.intrpt0)) }
  24. .intrpt1 0xfd000000 : { KEEP(*(.intrpt1)) }
  25. .intrpt2 0xfe000000 : { KEEP(*(.intrpt2)) }
  26. .intrpt3 0xff000000 : { KEEP(*(.intrpt3)) }
  27. "