This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Fix handling of undefined symbols in relocations.
- From: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 29 Jun 2010 22:33:08 -0700
- Subject: Re: [PATCH][GOLD] Fix handling of undefined symbols in relocations.
- References: <AANLkTiknvmgvi7AImzlkXQ_h5zEl4vM3UBQ7ikT5RDfJ@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 2010-06-29 Doug Kwan <dougkwan@google.com>
>
> * arm-reloc-property.cc (Arm_reloc_property::Arm_reloc_property):
> Initialize USE_SYMBOL_.
> * arm-reloc-property.h (Arm_reloc_property::uses_symbol): New method
> definition.
> (Arm_reloc_property::uses_symbol_): New data member declaration.
> * arm.cc (Target_arm::Relocate::relocate): Exit early if relocation
> uses symbol value and symbol is undefined but not weakly undefined.
This is OK.
Thanks.
Ian