This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Minimal linker script for cortex M3 and M4 using gcc for c language applications
- From: Simon Wright <simon at pushface dot org>
- To: Sergio <hardmaker at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 2 Oct 2015 08:12:13 +0100
- Subject: Re: Minimal linker script for cortex M3 and M4 using gcc for c language applications
- Authentication-results: sourceware.org; auth=none
- References: <CAGAyL=xZK4ChrWOUiEUafYqBi-ax2cv7Pc-1J4r_end1z5+zTg at mail dot gmail dot com>
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.