This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix linkonce for ELF/PPC.
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