rtems-libbsd: Thoughts on Refactoring linkcmds.base

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Wed Jul 25 08:25:20 UTC 2012


Hi,

Am 25.07.2012 10:23, schrieb Sebastian Huber:
> On 07/25/2012 10:17 AM, Thomas Doerfler wrote:
>> will there also be architecture specific linkcomds, which will collect
>> sections defined by GCC? AFAIK, GCC defines different sections (and they
>> change with GCC evolution) for each architecture, so IMHO it would be
>> good to have separate linkcmds fragments for:
>> - BSP specifics
>> - GCC/architecture specifics
>> - RTEMS specifics
>>
>> Any ideas on that?
> 
> I think the approach on ARM is sufficient.  Here we have one
> linkcmds.base for all BSPs.
> 
> http://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
> 
> 
> In this file it is trivial to include the linkcmds.rwrtems and
> linkcmds.rortems.

ok, this should be a proper place for architecture specifics.

wkr,
Thomas.

> 


-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler
Obere Lagerstrasse 30
D-82178 Puchheim
Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax: +49-89-18908079-9
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list