]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0079.git/blob - EC_Master_SysBios_Am572x_20170214/Workspace/SYSBIOS_AM57xx/EcMasterDemo/Release/configPkg/linker.cmd
TTS
[apps/tidep0079.git] / EC_Master_SysBios_Am572x_20170214 / Workspace / SYSBIOS_AM57xx / EcMasterDemo / Release / configPkg / linker.cmd
1 /*
2  * This file was generated by linkcmd_bm_v7a.xdt from the gnu.target.arm  package.
3  */
5 ENTRY(_c_int00)
7 __TI_STACK_SIZE = 0x2000;
8 __STACK_SIZE = __TI_STACK_SIZE;
10 __HEAP_SIZE = 0x0;
12 INPUT(
13     "C:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_EC_master\EC_Master_SysBios_Am572x_20170202\Workspace\SYSBIOS_AM57xx\EcMasterDemo\Release\configPkg\package\cfg\EcMaster_pa15fg.oa15fg"
14     "C:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_EC_master\EC_Master_SysBios_Am572x_20170202\Workspace\SYSBIOS_AM57xx\EcMasterDemo\src\sysbios\sysbios.aa15fg"
15     "C:\TI\pdk_am57xx_1_0_3\packages\ti\drv\icss_emac\lib\a15\release\ti.drv.icss_emac.aa15fg"
16     "C:\TI\pdk_am57xx_1_0_3\packages\ti\drv\gpio\lib\a15\release\ti.drv.gpio.aa15fg"
17     "C:\TI\pdk_am57xx_1_0_3\packages\ti\drv\pruss\lib\a15\release\ti.drv.pruss.aa15fg"
18     "C:\TI\pdk_am57xx_1_0_3\packages\ti\drv\i2c\lib\a15\release\ti.drv.i2c.aa15fg"
19     "C:\TI\pdk_am57xx_1_0_3\packages\ti\drv\uart\lib\a15\release\ti.drv.uart.aa15fg"
20     "C:\TI\pdk_am57xx_1_0_3\packages\ti\board\lib\idkAM572x\a15\release\ti.board.aa15fg"
21     "C:\TI\pdk_am57xx_1_0_3\packages\ti\csl\lib\am572x\a15\release\ti.csl.aa15fg"
22     "C:\TI\pdk_am57xx_1_0_3\packages\ti\osal\lib\tirtos\a15\release\ti.osal.aa15fg"
23     "C:\TI\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa15fg"
24     "C:\TI\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7A\lib\boot.aa15fg"
25     "C:\TI\bios_6_45_01_29\packages\gnu\targets\arm\rtsv7A\lib\syscalls.aa15fg"
26 )
28 MEMORY
29 {
30     SRAM (RWX) : org = 0x402f0000, len = 0x10000
31     OCMC_RAM1 : org = 0x40300000, len = 0x80000
32     EXT_RAM : org = 0x80000000, len = 0x80000000
33 }
35 /*
36  * In order to put the .bass, .text, .data, .heap or .stack into a
37  * different memory section, change the corresponding REGION_ALIAS.
38  */
39 REGION_ALIAS("REGION_BSS", EXT_RAM);
40 REGION_ALIAS("REGION_TEXT", EXT_RAM);
41 REGION_ALIAS("REGION_DATA", EXT_RAM);
42 REGION_ALIAS("REGION_STACK", EXT_RAM);
43 REGION_ALIAS("REGION_HEAP", EXT_RAM);
44 REGION_ALIAS("REGION_ARM_EXTAB", EXT_RAM);
45 REGION_ALIAS("REGION_ARM_EXIDX", EXT_RAM);
47 /*
48  * symbolic aliases for static instance objects
49  */
50 xdc_runtime_Startup__EXECFXN__C = 1;
51 xdc_runtime_Startup__RESETFXN__C = 1;
53 /*
54  * Linker command file contributions from all loaded packages:
55  */
57 /* Content from ti.sysbios.family.arm (ti/sysbios/family/arm/linkcmd.xdt): */
59 /* Content from ti.sysbios.rts (ti/sysbios/rts/linkcmd.xdt): */
61 /* Content from ti.sysbios.family.arm.gic (ti/sysbios/family/arm/gic/linkcmd.xdt): */
62 ti_sysbios_family_arm_gic_Hwi_gicd = 1210126336;
63 ti_sysbios_family_arm_gic_Hwi_gicc = 1210130432;
66 SECTIONS {
68         BOARD_IO_DELAY_DATA : {*(BOARD_IO_DELAY_DATA)}  AT> OCMC_RAM1
69     BOARD_IO_DELAY_CODE : {*(BOARD_IO_DELAY_CODE)}  AT> OCMC_RAM1
70     .vecs : {*(.vecs)}  AT> EXT_RAM
71     ti.sysbios.family.arm.a15.mmuFirstLevelTableSection (NOLOAD) : {*(ti.sysbios.family.arm.a15.mmuFirstLevelTableSection)}  AT> EXT_RAM
72     ti.sysbios.family.arm.a15.mmuSecondLevelTableSection0 (NOLOAD) : {*(ti.sysbios.family.arm.a15.mmuSecondLevelTableSection0)}  AT> EXT_RAM
73     ti.sysbios.family.arm.a15.mmuSecondLevelTableSection1 (NOLOAD) : {*(ti.sysbios.family.arm.a15.mmuSecondLevelTableSection1)}  AT> EXT_RAM
74     ti.sysbios.family.arm.a15.mmuSecondLevelTableSection2 (NOLOAD) : {*(ti.sysbios.family.arm.a15.mmuSecondLevelTableSection2)}  AT> EXT_RAM
75     ti.sysbios.family.arm.a15.mmuSecondLevelTableSection3 (NOLOAD) : {*(ti.sysbios.family.arm.a15.mmuSecondLevelTableSection3)}  AT> EXT_RAM
76     xdc.meta (COPY) : {KEEP(*(xdc.meta))}  AT> EXT_RAM
79     .c_int00 : {
80         KEEP (*(.c_int00))
81     } > REGION_TEXT
83     .text : {
84         CREATE_OBJECT_SYMBOLS
85         KEEP (*(.resetVecs))
86         KEEP (*(.text))
87         *(.text.*)
88         *(.gnu.linkonce.t*)
89         *(.gnu.warning)
90         *(.glue*)
91         . = ALIGN(0x4);
92         KEEP (*(.ctors))
93         *(.gnu.linkonce.r.*)
94         . = ALIGN(0x4);
95         __init_array_start = .;
96         KEEP(*(SORT(.init_array.*)))
97         KEEP(*(.init_array))
98         __init_array_end = .;
99         *(.init)
100         *(.fini*)
101     } > REGION_TEXT
103     .rodata : {
104         *(.rodata)
105         *(.rodata.*)
106     } > REGION_TEXT
108     .ARM.extab : {
109         *(.ARM.extab*)
110         *(.gnu.linkonce.armextab.*)
111     } > REGION_ARM_EXTAB
113     .ARM.exidx : {
114         __exidx_start = .;
115         *(.ARM.exidx*)
116         *(.gnu.linkonce.armexidx.*)
117         __exidx_end = .;
118     } > REGION_ARM_EXIDX
120     etext   = .;
121     _etext  = .;
122     __etext = .;
124     .data : {
125         __data_load__ = LOADADDR (.data);
126         __data_start__ = .;
127         *(.got.plt)
128         *(.got)
129         *(.shdata)
130         KEEP (*(.data))
131         KEEP (*(.data*))
132         *(.gnu.linkonce.d.*)
133         . = ALIGN (4);
134         __data_end__ = .;
135     } > REGION_DATA AT> REGION_TEXT
137     /*
138      * Place .heap section before .bss and .stack as the _sbrk
139      * implementation in librdimon.a compares the (heap_end + incr)
140      * to the current SP value to check if the heap has overlapped
141      * with the stack. 
142      *
143      * If .heap is placed between .bss and .stack in a SYS/BIOS app,
144      * when the task stack (allocated in .bss) is the current stack,
145      * the heap check in _sbrk will fail and trigger an error even
146      * though the heap might not have actually overlapped with the
147      * system stack.
148      */
149     .heap : ALIGN(0x100) {
150         __heap_start__ = .;
151         end = __heap_start__;
152         _end = end;
153         __end = end;
154         . += __HEAP_SIZE;
155         __heap_end__ = .;
156         __HeapLimit = __heap_end__;
157     } > REGION_HEAP
159     .bss : {
160         __bss_start__ = .;
161         *(.shbss)
162         KEEP (*(.bss))
163         *(.bss.*)
164         *(.gnu.linkonce.b.*)
165         *(COMMON)
166         . = ALIGN (4);
167         __bss_end__ = .;
168     } > REGION_BSS
170     .stack : ALIGN(0x0008) {
171         __TI_STACK_BASE = .;
172         __stack = .;
173         . += __TI_STACK_SIZE;
174     } > REGION_STACK
176     .stab           0 : { *(.stab) }
177     .stabstr        0 : { *(.stabstr) }
178     .stab.excl      0 : { *(.stab.excl) }
179     .stab.exclstr   0 : { *(.stab.exclstr) }
180     .stab.index     0 : { *(.stab.index) }
181     .stab.indexstr  0 : { *(.stab.indexstr) }
182     .comment        0 : { *(.comment) }
184     .debug          0 : { *(.debug) }
185     .line           0 : { *(.line)  }
186     .debug_srcinfo  0 : { *(.debug_srcinfo) }
187     .debug_sfnames  0 : { *(.debug_sfnames) }
188     .debug_aranges  0 : { *(.debug_aranges) }
189     .debug_pubnames 0 : { *(.debug_pubnames) }
190     .debug_info     0 : { *(.debug_info) }
191     .debug_abbrev   0 : { *(.debug_abbrev) }
192     .debug_line     0 : { *(.debug_line) }
193     .debug_frame    0 : { *(.debug_frame) }
194     .debug_str      0 : { *(.debug_str) }
195     .debug_loc      0 : { *(.debug_loc) }
196     .debug_macinfo  0 : { *(.debug_macinfo) }
197     .debug_weaknames    0 : { *(.debug_weaknames) }
198     .debug_funcnames    0 : { *(.debug_funcnames) }
199     .debug_typenames    0 : { *(.debug_typenames) }
200     .debug_varnames     0 : { *(.debug_varnames) }
201     .debug_pubtypes     0 : { *(.debug_pubtypes) }
202     .debug_ranges       0 : { *(.debug_ranges) }
206 /* function aliases */
207 xdc_runtime_System_asprintf_va__E = xdc_runtime_System_asprintf_va__F;
208 xdc_runtime_System_snprintf_va__E = xdc_runtime_System_snprintf_va__F;
209 xdc_runtime_System_printf_va__E = xdc_runtime_System_printf_va__F;
210 xdc_runtime_System_aprintf_va__E = xdc_runtime_System_aprintf_va__F;
211 xdc_runtime_System_sprintf_va__E = xdc_runtime_System_sprintf_va__F;