ELF/m68k relocation fixes

Alan Modra amodra@bigpond.net.au
Sat May 17 12:05:00 GMT 2003


On Mon, May 12, 2003 at 03:44:27PM +0200, Andreas Schwab wrote:
> 	* elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
> 	elf_section_data during processing of pc-relative and absolute
> 	relocations.
> 	(elf_m68k_relocate_section): Use the cached reloc section instead
> 	of computing it again.  Fix handling of visibility.  Don't modify
> 	addend when copying over a relocation into the output.

Looks OK to me.  You might want to look at the latest round of x86 and
ppc patches too, as they are probably a good idea on all archs.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list