[PATCH][gold] PR 21111: Mips: Add HIGHER and HIGHEST relocations

Vladimir Radosavljevic Vladimir.Radosavljevic@imgtec.com
Tue Feb 7 18:57:00 GMT 2017


This patch adds support for R_MIPS_HIGHER, R_MIPS_HIGHEST, R_MICROMIPS_HIGHER
and R_MICROMIPS_HIGHEST relocations.

Regards,
Vladimir

ChangeLog -

	* mips.cc (Mips_relocate_functions::relhigher): New method.
	(Mips_relocate_functions::relhighest): Likewise.
	(mips_get_size_for_reloc): Add support for relocs: R_MIPS_HIGHER and
	R_MIPS_HIGHEST.
	(Target_mips::Scan::local): Add support for relocs: R_MIPS_HIGHER,
	R_MIPS_HIGHEST, R_MICROMIPS_HIGHER and R_MICROMIPS_HIGHEST.
	(Target_mips::Scan::global): Likewise.
	(Target_mips::Scan::get_reference_flags): Likewise.
	(Target_mips::Relocate::relocate): Call static methods for resolving
	HIGHER and HIGHEST relocations.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: higher_highest.patch
Type: text/x-patch
Size: 5066 bytes
Desc: higher_highest.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20170207/e1ab965f/attachment.bin>


More information about the Binutils mailing list