You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
698 B

  1. /* identify the Entry Point */
  2. ENTRY(reset_handler)
  3. /* specify the mini-ICache memory areas */
  4. MEMORY
  5. {
  6. mini_icache_0 (x) : ORIGIN = 0x0, LENGTH = 1024 /* first part of mini icache (sets 0-31) */
  7. mini_icache_1 (x) : ORIGIN = 0x400, LENGTH = 1024 /* second part of mini icache (sets 0-31) */
  8. }
  9. /* now define the output sections */
  10. SECTIONS
  11. {
  12. .part1 :
  13. {
  14. LONG(0)
  15. LONG(0)
  16. LONG(0)
  17. LONG(0)
  18. LONG(0)
  19. LONG(0)
  20. LONG(0)
  21. LONG(0)
  22. *(.part1)
  23. } >mini_icache_0
  24. .part2 :
  25. {
  26. LONG(0)
  27. LONG(0)
  28. LONG(0)
  29. LONG(0)
  30. LONG(0)
  31. LONG(0)
  32. LONG(0)
  33. LONG(0)
  34. *(.part2)
  35. FILL(0x0)
  36. } >mini_icache_1
  37. /DISCARD/ :
  38. {
  39. *(.text)
  40. *(.glue_7)
  41. *(.glue_7t)
  42. *(.data)
  43. *(.bss)
  44. }
  45. }