Minimal linker script for cortex M3 and M4 using gcc for c language applications
Simon Wright
simon@pushface.org
Fri Oct 2 07:12:00 GMT 2015
On 2 Oct 2015, at 00:03, Sergio <hardmaker@gmail.com> wrote:
>
> I'm working in a project using gcc to develop applications using c
> language for embedded systems based on ARM Cortex M3 and M4. I have
> found some linker script used by commercial tools like lpcxpresso
> (from NXP) or Code Composer Studio (from TI) and others frecuently
> used for other developers with a lot of entries not documented. Where
> can I find the minimal entries required to make a linker script for c
> language applications using segments RAM and FLASH memories? As
> example (because I think my english is not so good) look at the sample
> code attached. Where can I find information about the entries marked
> with ???->
> ???-> *(.gnu.linkonce.t.*)
> ???-> *(.glue_7)
> ???-> *(.glue_7t)
> ???-> *(.gcc_except_table)
> ???-> *(.gcc_except_table.*)
> ???-> *(.ARM.extab*)
> ???-> *(.gnu.linkonce.armextab.*)
There’s info about the .gnu.linkonce entries at http://www.airs.com/blog/archives/52.
More information about the Gcc-help
mailing list