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 10:44:29 -0800
- Subject: Re: GOLD linker and arm-none-symbianelf
- Authentication-results: sourceware.org; auth=none
- References: <0d1821cb-04b3-584a-a8c0-73a271158626@circletech.net>
- Reply-to: Ian Lance Taylor <iant at google dot com>
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