This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]