Patch to allow bfd to build natively using solaris cc
Richard Henderson
rth@redhat.com
Tue Oct 16 16:33:00 GMT 2001
On Tue, Oct 16, 2001 at 03:58:26PM -0700, Jeff Holcomb wrote:
> - erelend = (Elf_External_Rel *) ((PTR) o->contents + o->_raw_size);
> + erelend = (Elf_External_Rel *) (o->contents + o->_raw_size);
This is ok.
> - dest = (Elf_Internal_Group *) (shdr->contents + amt);
> + dest = ((Elf_Internal_Group *) shdr->contents) + amt);
This isn't. You're no longer doing pointer arithmetic on characters.
r~
More information about the Binutils
mailing list