This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Please comment: A patch for elf32-i386.c
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: Please comment: A patch for elf32-i386.c
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 9 Feb 2001 14:16:22 +1100 (EST)
- cc: binutils at sourceware dot cygnus dot com
Hi H.J.,
I forgot to mention that the patch you posted is probably incomplete,
because you need to change relocate_section to match check_relocs.
Basically, the test in relocate_section case R_386_32, R_386_PC32 should
be the same as the one in check_relocs, with some extra conditions for
relocs dropped by discard_relocs.
Alan Modra
--
Linuxcare. Support for the Revolution.