This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Minimal linker script for cortex M3 and M4 using gcc for c language applications


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]