Tool/software: TI C/C++ Compiler
Hi,
I'm getting the following warning (ARM compiler 17.6.0 STS):
#10098-D specific address 0x402f0400 overrides alignment of 16384 for ".bss"
I want to put BSS into the SRAM area which starts at 0x402F0400, but I noticed that the linker places it at 0x402F4000. So I forced the linker to place it at 0x402F0400, now I get the above warning.
Can someone explain where this alignment of 16384 for bss is specified, and if there is any problem with overriding this?
Cmd file:
--stack_size=0x4000
--diag_suppress=10063
-e Entry
MEMORY
{
SRAM: o = 0x402F0400 l = 0x0000FC00 /* 64kB internal SRAM */
L3OCMC0: o = 0x40300000 l = 0x0000B7E8 /* 64kB L3 OCMC SRAM */
BOOT_HW_INFO: o = 0x4030B7E8 l = 0x18
BOOT_PROGRESS_STAT: o = 0x4030FBFC l = 0x4
AM335X_VECTOR_BASE: o = 0x4030FC00 l = 0x3F8 /*Section in L3 area for setting vector base address */
DDR0: o = 0x80000000 l = 0xFFFFC00 /* 256Mb minus shared area */
SHARED_DATA (RW): org = 0x8FFFFC00 len = 0x400
}
SECTIONS
{
/* EXECUTABLE CODE */
.text: > 0x40300000
{
init.obj(.text)
startup.obj(.text)
startup.obj(.const)
*(.data*)
*(.text*)
*(.const*)
}
.stack > SRAM(HIGH)
.bss: > 0x402F0400 RUN_START(bss_start) RUN_END(bss_end)
{
*(.bss*)
}
.sharedHwInfo > BOOT_HW_INFO
.sharedResetData: load > SHARED_DATA
}