PATCH: Fix linkonce for ELF/PPC.
Alan Modra
amodra@bigpond.net.au
Mon Oct 29 17:12:00 GMT 2001
On Mon, Oct 29, 2001 at 04:54:28PM -0800, H . J . Lu wrote:
> +
> +void
> +elf_remove_linkonce_rela (rel)
> + Elf_Internal_Rela *rel;
> +{
> + long r_type = ELF_R_TYPE (rel->r_info);
> + rel->r_info = ELF_R_INFO (STN_UNDEF, r_type);
> +}
I seem to recall ia64 had a problem with segment relative relocs against
removed linkonce sections. Have you tested ia64?
More importantly, you haven't shown why this problem requires hacks to
binutils rather than fixes to gcc.
Alan
More information about the Binutils
mailing list