Patch: Add c6x-uclinux support
Bernd Schmidt
bernds@codesourcery.com
Wed Mar 30 18:46:00 GMT 2011
On 03/30/2011 01:18 PM, Joseph S. Myers wrote:
> On Wed, 30 Mar 2011, Bernd Schmidt wrote:
>
>>> (from elf32_tic6x_le.sh). What is the far analogue of .scommon?
>>
>> .far :
>> {
>> *(.dynfar)
>> *(.far .far.* .gnu.linkonce.b.*)
>> *(COMMON) <-----------
>>
>> This, I'd think. Certainly if you remove that, far common symbols are
>> dropped.
>>
>> As far as I can tell .scommon (and its far analogue) exists only
>> internally in the linker, but it needs to be given some name to be
>> placed in the right output section (.sbss).
>
> Thanks. If it never appears in assembler output (and supposing the
> requested assembler tests for .scomm show that it does not appear in
> assembler output) then that resolves the .scommon questions - and
> indicates that it should *not* be added to the ABI since it's
> linker-internal - even if it would be better for the linker to know about
> *(SCOMMON) rather than hardcoding an internal name in linker scripts.
Here's a new version which includes all the changes you requested, and
some behaviour changes for shared libraries with DSBT index 0 requested
by TI.
Bernd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mainline-0330d.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20110330/5ac2dce2/attachment.ksh>
More information about the Binutils
mailing list