tic80coff.sh 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # This file is sourced by the genscripts.sh script.
  2. # These are shell variables that are used later by either genscripts
  3. # or on of the scripts that it sources.
  4. # The name of the scripttempl script to use. In this case, genscripts
  5. # uses scripttempl/tic80coff.sc
  6. #
  7. SCRIPT_NAME=tic80coff
  8. # The name of the emultempl script to use. If set to "template" then
  9. # genscripts.sh will use the script emultempl/template.em. If not set,
  10. # then the default value is "generic".
  11. #
  12. # TEMPLATE_NAME=
  13. # If this is set to an nonempty string, genscripts.sh will invoke the
  14. # scripttempl script an extra time to create a shared library script.
  15. #
  16. # GENERATE_SHLIB_SCRIPT=
  17. # The BFD output format to use. The scripttempl script will use it in
  18. # an OUTPUT_FORMAT expression in the linker script.
  19. #
  20. OUTPUT_FORMAT="coff-tic80"
  21. # This is normally set to indicate the architecture to use, such as
  22. # "sparc". The scripttempl script will normally use it in an OUTPUT_ARCH
  23. # expression in the linker script.
  24. #
  25. ARCH=tic80
  26. # Some scripttempl scripts use this to set the entry address in an ENTRY
  27. # expression in the linker script.
  28. #
  29. # ENTRY=
  30. # The scripttempl script uses this to set the start address of the
  31. # ".text" section.
  32. #
  33. TEXT_START_ADDR=0x2000000
  34. # The genscripts.sh script uses this to set the default value of
  35. # DATA_ALIGNMENT when running the scripttempl script.
  36. #
  37. # SEGMENT_SIZE=
  38. # If SEGMENT_SIZE is not defined, the genscripts.sh script uses this
  39. # to define it.
  40. #
  41. TARGET_PAGE_SIZE=0x1000