Content originally posted in LPCWare by lpcxpresso-support on Fri Aug 14 12:09:05 MST 2015
Let's back up a minute. Exactly what are you trying to do, and which release of LPCXpresso are you using?
The linker has a concept of both input and output sections. Using the section directive in your assembler code, you are actually creating a named input section. The linker script combines input sections into named output sections. And, the names may be similar enough to confuse. So, for example, note the section name .bss_RAM2 is actually an output section in the managed linker script. If you had placed your data in an input section named .bss.$RAM2 (see crt_section_macros.h), it would have located in .bss_RAM2. If you care not to follow the naming conventions established by the managed linker scripts, you can always create your own scripts.
Thanks and regards,
LPCXpresso-Support