tm4c_rom.ld 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /******************************************************************************
  2. *
  3. * blinky.ld - Linker configuration file for blinky.
  4. *
  5. * Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved.
  6. * Software License Agreement
  7. *
  8. * Texas Instruments (TI) is supplying this software for use solely and
  9. * exclusively on TI's microcontroller products. The software is owned by
  10. * TI and/or its suppliers, and is protected under applicable copyright
  11. * laws. You may not combine this software with "viral" open-source
  12. * software in order to form a larger program.
  13. *
  14. * THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
  15. * NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
  16. * NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. * A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
  18. * CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
  19. * DAMAGES, FOR ANY REASON WHATSOEVER.
  20. *
  21. * This is part of revision 2.1.4.178 of the DK-TM4C129X Firmware Package.
  22. *
  23. *****************************************************************************/
  24. MEMORY
  25. {
  26. FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
  27. SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
  28. }
  29. SECTIONS
  30. {
  31. .text :
  32. {
  33. _text = .;
  34. KEEP(*(.isr_vector))
  35. *(.text*)
  36. *(.rodata*)
  37. /* section information for finsh shell */
  38. . = ALIGN(4);
  39. __fsymtab_start = .;
  40. KEEP(*(FSymTab))
  41. __fsymtab_end = .;
  42. . = ALIGN(4);
  43. __vsymtab_start = .;
  44. KEEP(*(VSymTab))
  45. __vsymtab_end = .;
  46. . = ALIGN(4);
  47. /* section information for initial. */
  48. . = ALIGN(4);
  49. __rt_init_start = .;
  50. KEEP(*(SORT(.rti_fn*)))
  51. __rt_init_end = .;
  52. . = ALIGN(4);
  53. _etext = .;
  54. } > FLASH
  55. .data : AT(ADDR(.text) + SIZEOF(.text))
  56. {
  57. _data = .;
  58. _ldata = LOADADDR (.data);
  59. *(vtable)
  60. *(.data*)
  61. _edata = .;
  62. } > SRAM
  63. .bss :
  64. {
  65. _bss = .;
  66. *(.bss*)
  67. *(COMMON)
  68. _ebss = .;
  69. } > SRAM
  70. }