This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [GOLD][PATCH][UPDATED] Added support for R_ARM_V4BX relocation (with interworking)
- From: Viktor Kutuzov <vkutuzov at accesssoftek dot com>
- To: Doug Kwan (關振紱) <dougkwan at google dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 19 Jan 2010 17:01:15 -0800
- Subject: RE: [GOLD][PATCH][UPDATED] Added support for R_ARM_V4BX relocation (with interworking)
Hello Doug,
ok, there is an updated patch for R_ARM_V4BX relocation. Would you take a look one more time?
Thank you.
Viktor.
________________________________________
From: binutils-owner@sourceware.org [binutils-owner@sourceware.org] On Behalf Of Viktor Kutuzov [vkutuzov@accesssoftek.com]
Sent: Tuesday, January 19, 2010 2:30 PM
To: binutils@sourceware.org; Doug Kwan (關振紱)
Subject: [GOLD][PATCH][UPDATED] Added support for R_ARM_V4BX relocation (with interworking)
Hello everyone,
Please find attached an updated patch that adds a support for R_ARM_V4BX relocation.
Once again, this is only the relocation patch, I'll send a patch for the --fix-v4bx/--fix-v4bx-interworking command-line arguments later.
Best regards,
Viktor.
* gold/arm.cc: Added support for R_ARM_V4BX relocation
(Arm_v4bx_stub): New class.
(DEF_STUBS): Updated definition to support v4_veneer_bx.
(Stub_factory::make_arm_v4bx_stub): New method.
(Stub_factory::elf32_arm_stub_v4_veneer_bx): New veneer template.
(Stub_table::empty()): Handle v4bx stubs.
(Stub_table::add_arm_v4bx_stub()): New method.
(Stub_table::find_arm_v4bx_stub()): New method.
(Arm_relocate_functions::v4bx): New method.
(Target_arm::fix_v4bx()): New method.
(Target_arm::Target_arm): Handle R_ARM_V4BX.
(Stub_table::relocate_stubs): Likewise.
(Stub_table::do_write): Likewise.
(Stub_table::update_data_size_and_addralign): Likewise.
(Stub_table::finalize_stubs): Likewise.
(Target_arm::Scan::local): Likewise.
(Target_arm::Scan::global): Likewise.
(Target_arm::do_finalize_sections): Likewise.
(Target_arm::Relocate::relocate): Likewise.
(Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
(Target_arm::scan_reloc_for_stub): Likewise.
(Target_arm::scan_reloc_section_for_stubs): Likewise.