[PATCH] New port @GOTOFF, @GOT, @PLT relocation token for target m32r

Kazuhiro Inaoka inaoka.kazuhiro@renesas.com
Tue Jun 22 12:11:00 GMT 2004


Hi Nick,

This is a patch to support R_M32R_GOTOFF relocation and new token
(@GOTOFF, @GOT, @PLT).

Please commit it.

Regards,

Kauhiro Inaoka

bfd/ChangeLog

2004-06-22  Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
	* elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF.
	(m32r_elf_relocate_section): Changed for R_M32R_GOTOFF.
	(m32r_elf_gcsweep_hook): Ditto.
	(m32r_elf_check_relocs): Ditto.

gas/ChangeLog

2004-06-22  Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>

	* config/tc-m32r.c (md_convert_frag): Changed for @PLT.
	(m32r_cgen_record_fixup_exp): Changed for  @GOTOFF, @GOT.
	(m32r_fix_adjustable): Changed for  @GOTOFF, @GOT, @PLT.
	(tc_gen_reloc): Ditto.
	(m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
	(m32r_parse_name): Ditto.
	(m32r_cgen_parse_fix_exp): Ditto.
	* config/tc-m32r.h (md_parse_name): Define for @GOTOFF,
	@GOT, @PLT.
	(O_PIC_reloc): Ditto
	(TC_CGEN_PARSE_FIX_EXP): Ditto.
	* cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
         for @GOTOFF, @GOT, @PLT.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gotoff.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040622/ab3a1f49/attachment.ksh>


More information about the Binutils mailing list