bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R_ARM_REL32 processed incorrectly by ld


From: Nick Clifton
Subject: Re: R_ARM_REL32 processed incorrectly by ld
Date: 03 Aug 2001 12:07:52 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi Ben,

> --- binutils-2.11.2/bfd/elf32-arm.h.orig        Thu Jun 14 12:16:59 2001
> +++ binutils-2.11.2/bfd/elf32-arm.h     Fri Aug  3 00:09:36 2001
> @@ -1295,7 +1295,7 @@ elf32_arm_final_link_relocate (howto, in
> 
>         case R_ARM_REL32:
>           value -= (input_section->output_section->vma
> -                   + input_section->output_offset);
> +                   + input_section->output_offset + rel->r_offset);
>           value += addend;
>           break;
>         }

Thanks for pointing this out.  It does indeed appear to be a bug and
your patch does fix it, so I will be applying it to the sources in a
few moments.

Cheers
        Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]