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: arm-eabi-4.4.3 with gold


why -fuse-ld=bfd does not work? Do you invoke the linker directly?

Could you give me an example in which PROVIDE_HIDDEN not long works
with the new tool-chain but does with the old one?

Thanks

-Doug

On Tue, Feb 8, 2011 at 7:48 PM, Qing Chang <changq@gmail.com> wrote:
>
> The section was created by myself.
> Seems "-fuse-ld=bfd" won't make PROVIDE_HIDDEN nor KEEP work as well.
> The only working way for me is to hardcode in my makefile to
> useÂarm-eabi-ld.bfdÂexplicitly
>
> On Tue, Feb 8, 2011 at 5:03 PM, Doug Kwan (éæå) <dougkwan@google.com> wrote:
>>
>> 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
>
>


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