rtems-libbsd: M68K linkcmds Patches Galore

Joel Sherrill joel.sherrill at OARcorp.com
Fri Aug 17 14:36:05 UTC 2012


On 08/17/2012 08:23 AM, Ralf Corsepius wrote:
> On 08/17/2012 03:08 PM, Gedare Bloom wrote:
>>
>> On Fri, Aug 17, 2012 at 9:02 AM, Joel Sherrill
>>      Some targets place a leading underscore in front of symbols. If you
>>      have every
>>      symbol both with and without an extra _ prepended, then it will be
>>      Ok. For example,
>>      both _bsd__stop_set_sysinit_set and __bsd__stop_set_sysinit_set
>>      would have
>>      to be defined.
>>
>> Is appending the leading _ a choice RTEMS makes or is it forced on us?
> It's part of a target's API/ABI. Therefore, they are mostly beyond
> RTEMS's scope.
Agreed.

Some of the older linker scripts which pre-date ELF could
easily have the same symbol defined with and without a
leading _.  Moving to ELF from COFF or a.out sometimes
resulted in the rule changing.
> Ralf
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel


-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985





More information about the devel mailing list