This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] Set plt_got.offset to (bfd_vma) -1


On Wed, Feb 24, 2016 at 5:50 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Since plt_got.offset may be updated in x86 allocate_dynrelocs, set
> plt_got.offset to (bfd_vma) -1 when setting needs_plt to 0.
>
>         * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
>         to (bfd_vma) -1 when setting needs_plt to 0.
>         * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.

I backported it to 2.26 branch.

-- 
H.J.


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