diff options
Diffstat (limited to 'bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram')
-rw-r--r-- | bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram b/bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram index ca216204dc..6060eec80c 100644 --- a/bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram +++ b/bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram @@ -1,10 +1,4 @@ - -MEMORY { - ROM_INT (RX) : ORIGIN = 0x00000000, LENGTH = 3M - RAM_INT_VEC : ORIGIN = 0x08000000, LENGTH = 256 - RAM_INT (AIWX) : ORIGIN = 0x08000100, LENGTH = 256k - 256 - RAM_EXT (AIW) : ORIGIN = 0x80000000, LENGTH = 8M -} +INCLUDE linkcmds.memory REGION_ALIAS ("REGION_START", RAM_INT); REGION_ALIAS ("REGION_VECTOR", RAM_INT); @@ -24,6 +18,13 @@ REGION_ALIAS ("REGION_STACK", RAM_INT); REGION_ALIAS ("REGION_NOCACHE", RAM_INT); REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM_INT); -bsp_int_vec_overlay_start = ORIGIN(RAM_INT_VEC); +bsp_vector_table_in_start_section = 1; + +SECTIONS { + .int_vec_overlay : ALIGN_WITH_INPUT { + bsp_int_vec_overlay_start = .; + . += 256; + } > RAM_INT AT > RAM_INT +} INCLUDE linkcmds.armv4 |