[PATCH][GOLD] Remove wrappers to reduce source code size.

Ian Lance Taylor iant@google.com
Fri Jan 29 22:07:00 GMT 2010


"Doug Kwan (關振德)" <dougkwan@google.com> writes:

> 2010-01-29  Doug Kwan  <dougkwan@google.com>
>
>         * arm.cc (Arm_relocate_functions::arm_branch_common) Change visibility
>         to public.
>         (Arm_relocate_functions::thumb_branch_common): Ditto.
>         (Arm_relocate_functions::thm_call, Arm_relocate_functions::thm_jump24,
>         Arm_relocate_functions::thm_xpc22, Arm_relocate_functions::plt32,
>         Arm_relocate_functions::xpc25, Arm_relocate_functions::call,
>         Arm_relocate_functions::jump24): Remove.
>         (Target_arm::Relocate::relocate): Adjust code to call
>         Arm_relocation_functions::arm_branch_common and
>         Arm_relocation_functions::thumb_branch_common instead of their removed
>         wrapped.  Merge switch-cases together to reduce source code size.

This is OK.

Thanks.

Ian



More information about the Binutils mailing list