This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][ARM] Fix output local symbol count after relaxation.
- 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: Fri, 29 Jan 2010 07:43:31 -0800
- Subject: Re: [PATCH][ARM] Fix output local symbol count after relaxation.
- References: <498552561001281641y414ac6cbx5da816224a78db09@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 2010-01-28 Doug Kwan <dougkwan@google.com>
>
> * arm.cc (Arm_relobj::Arm_relobj): Initialize new data member
> output_local_symbol_count_needs_update_.
> (Arm_relobj::output_local_symbol_count_needs_update,
> Arm_relobj::set_output_local_symbol_count_needs_update,
> Arm_relobj::update_output_local_symbol_count): New methods.
> (Arm_relobj::output_local_symbol_count_needs_update_): New data
> member.
> (Arm_exidx_cantunwind::do_fixed_endian_write): Write address
> of pointed function as in a R_ARM_PREL31 relocation.
> (Arm_output_section<big_endian>::fix_exidx_coverage): Mark objects
> for output local symbol count updating.
> (Target_arm::do_relax): Update output local symbol counts in objects
> if necessary.
> * object.h (Sized_relobj::set_output_local_symbol_count): New method.
This is OK.
Thanks.
Ian