This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][REVERTED] Handle --target1-abs, --target1-rel and --target2 options.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, binutils <binutils at sourceware dot org>
- Date: Wed, 25 Nov 2009 16:13:32 +0800
- Subject: Re: [GOLD][REVERTED] Handle --target1-abs, --target1-rel and --target2 options.
- References: <498552560911250012q1605bd01ha8e1d8e3647e5627@mail.gmail.com>
Change log for the revert.
2009-11-25 Doug Kwan <dougkwan@google.com>
Revert:
2009-11-25 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::Target_arm): Move method definition
outside of class definition. Add code to handle
--target1-rel, --target1-abs and --target2= options.
(Target_arm::get_reloc_reloc_type): Change method to be
non-static and const.
(Target_arm::target1_is_rel_, Target_arm::target2_reloc_):
New data member declaration.
(Target_arm::Scan::local, Target_arm::Scan::global,
Target_arm::Relocate::relocate,
Target_arm::Relocatable_size_for_reloc::get_size_for_reloc):
Adjust call to Target_arm::get_real_reloc_type.
(Target_arm::get_real_reloc_type): Use command line options
to determine real types of R_ARM_TARGET1 and R_ARM_TARGET2.
* options.h (--target1-rel, --target1-abs, --target2): New
ARM-only options.
2009/11/25 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> There is a bug in the patch and breaks the ARM port. Because of the
> up-coming Thanksgiving holidays, I revert this instead fixing the bug
> now to avoid potentially leaving the ARM port in a broken state for a
> few days. Sorry about that.
>
> -Doug
>