This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GOLD linker and arm-none-symbianelf
- From: "Ian Lance Taylor via binutils" <binutils at sourceware dot org>
- To: Marian Kechlibar <marian dot kechlibar at circletech dot net>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 20 Feb 2017 12:26:58 -0800
- Subject: Re: GOLD linker and arm-none-symbianelf
- Authentication-results: sourceware.org; auth=none
- References: <0d1821cb-04b3-584a-a8c0-73a271158626@circletech.net> <CAKOQZ8zFC=CbNMw0Gfk8Lu2GmmqBiGXYkm4=u+jPDSssmhXk8w@mail.gmail.com> <87de8f45-f2d6-7183-cc38-6a704f5bf168@circletech.net>
- Reply-to: Ian Lance Taylor <iant at google dot com>
On Mon, Feb 20, 2017 at 10:50 AM, Marian Kechlibar
<marian.kechlibar@circletech.net> wrote:
> I must admit that I am not well-versed in the ELF format; I think that
> there must be some difference between "elf" and "symbianelf", though.
>
> Daniel Jacobowitz of Code Sourcery, who used to maintain the CSL ARM
> Toolchains, probably knows better.
Daniel left CodeSourcery over five years ago. I don't know whether he
still reads this mailing list.
Ian
> Dne 20.2.2017 v 19:44 Ian Lance Taylor via binutils napsal(a):
>> On Mon, Feb 20, 2017 at 9:16 AM, Marian Kechlibar
>> <marian.kechlibar@circletech.net> wrote:
>>>
>>> although Symbian OS is practically dead in the commercial world, I still
>>> have to support several hundred Symbian OS - based clients.
>>>
>>> Recently, I successfully built binutils 2.27 for target
>>> arm-none-symbianelf. It works. But I cannot build "gold" for this
>>> target, only "ld". It seems that the target platform is not supported.
>>>
>>> I can build gold for linux from the same sources just fine.
>>>
>>> Is really gold unusable on arm-none-symbianelf?
>>>
>>> If I still wanted to build gold for arm-none-symbianelf, what edits do I
>>> have to do in config/makefiles in order to get the system to build the
>>> binary?
>>
>> What is different between arm-none-elf and arm-none-symbianelf, and
>> how do does differences affect the linker?
>>
>> If there is no effect on the linker then you probably just need to
>> edit the handling of ENABLE_GOLD in the top-level configure.ac to
>> recognize "symbianelf" as identical to "elf".
>>
>> Looking at ld/emulparams/armsymbian.sh, though, and comparing it to
>> ld/emulparams/armelf.sh, it looks like some special symbols may need
>> to be defined. That will require more work.
>>
>> Ian
>>