This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: GOLD linker and arm-none-symbianelf


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
>>


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