This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I put .bss in the end of image whatever is the size of .bbs?--- linker cmd

Other Parts Discussed in Thread: SYSBIOS

sysbiso will generate one linker cmd. it uses ">>" (automaticsectionsplitting operator). When bss is larger than .text, it will locate between boot code and .text. In this case, the final image is too big. I want to put .bss in the end of image,

How can I do that?

which priority is higher, user's linker or default linker.cmd?

TI CCS; Code Composer Studio Version: 5.2.1.00018; SYS/BIOS:  6.33.04.46; xdc tool: 3.23.03.53

defaut linker.cmd:

SECTIONS
{
.text: load >> DDR_1
.stack: load > OCMC_1
GROUP: load > DDR_1
{
.bss:
.neardata:
.rodata:
}
.cinit: load > DDR_1
.init_array: load > DDR_1
.const: load >> DDR_1
.data: load >> DDR_1
.fardata: load >> DDR_1
.switch: load >> DDR_1
.sysmem: load > DDR_1
.far: load >> DDR_1
.args: load > DDR_1 align = 0x4, fill = 0 {_argsize = 0x0; }
.cio: load >> DDR_1
_c_int00 { boot.aea8fnv<boot.oea8fnv> (.text) } load > 0x80000000
.vecs: load >> DDR_1
ti.sysbios.family.arm.a8.mmuTableSection: load >> DDR_1, type = NOINIT
xdc.meta: load >> DDR_1, type = COPY

}