[PATCH] m32r's pcrel relocate miss at between different sections in the same module.

Kazuhiro Inaoka inaoka.kazuhiro@renesas.com
Mon Nov 29 08:25:00 GMT 2004


Hi Nick,

m32r-*-as has a relocate miss at pcrel between different sections
in the same module.
In this case, the relocation field was not 0 with RELA and the addend was 0.

These are patterns of test and a patch for it.

Please commit it.

Kazuhiro Inaoka

gas/ChangeLog

2004-11-29  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
	* config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel
	relocte miss between different section in the same module.
	(tc_gen_reloc): Ditto.
	* testsuite/gas/m32r/rela-1.s: New file.
	* testsuite/gas/m32r/rela-1.d: New file.
	* testsuite/gas/m32r/m32r.exp: Add new file.
	* testsuite/gas/m32r/relax-1.d: Update file.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rela.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20041129/2d8f56de/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rela_test.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20041129/2d8f56de/attachment-0001.ksh>


More information about the Binutils mailing list