This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: arm-eabi-4.4.3 with gold
- From: Doug Kwan (éæå) <dougkwan at google dot com>
- To: Qing Chang <changq at gmail dot com>
- Cc: binutils at sourceware dot org, Jing Yu <jingyu at google dot com>, Ying Wang <wangying at google dot com>
- Date: Tue, 8 Feb 2011 15:03:02 -0800
- Subject: Re: arm-eabi-4.4.3 with gold
- References: <AANLkTikQk6Va7VJ2CRyp6rZRB_aJ22FHq69jKi+tAFk6@mail.gmail.com>
KEEP is totally broken. What section do you need? You can fall back
on ld by adding -fuse-ld=bfd in gcc's linking step.
On Tue, Feb 8, 2011 at 2:58 PM, Qing Chang <changq@gmail.com> wrote:
> Dear all,
> In the latest arm-eabi-4.4.3 toolchain of Android repo, gold was
> installed/used as default arm-eabi-ld, instead of bfd ld.
>
> However, compared with?arm-eabi-4.4.0,?with this new 4.4.3 gold, seems some
> key words are not handled in the?same way as before. For example,
> ? * PROVIDE/PROVIDE_HIDDEN won't define symbol any more
> ? * KEEP won't keep sections during garbage collections any more
>
> Do we need certain extra option/flag to re-enable these when using
> 4.4.3 arm-eabi-ld (gold)?
> Thanks,
> Qing