[GOLD][PATCH][UPDATED] Added support for R_ARM_V4BX relocation (with interworking)

Viktor Kutuzov vkutuzov@accesssoftek.com
Tue Jan 19 22:36:00 GMT 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-gold-arm-rel-v4bx_interworking.patch
Type: application/octet-stream
Size: 14999 bytes
Desc: binutils-gold-arm-rel-v4bx_interworking.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20100119/33634597/attachment.obj>


More information about the Binutils mailing list