I have a linker script like the one below :
....
.MemSection :
{
_MEM_SEC_BEGIN = . ;
*(.bss .vbss.* .section.*)
*(.common)
_MEM_SEC_END = . ;
} > RAM
_MEM_SEC_END_OUTSIDE = . ;
ASSERT( (_MEM_SEC_END_OUTSIDE == _MEM_SEC_END) , "Warning message" )
ASSERT( (_MEM_SEC_END_OUTSIDE != _MEM_SEC_BEGIN) , "Warning message" )
....
All the names are fictive , but the structure is the same. The problem is that asserts are failing , I don't know why my location counter is not changing . Please keep in mind that my .MemSection is not empty . In which situation the location counter could remain the same after an output section definition ?
Thank you !