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: RFA: pseudo-relocations for pe targets


Hi Nick,

Nick Clifton <nickc@redhat.com> wrote on 06.11.2008 12:55:31:

> Hi Kai,
> 
> > Ok, here is my patch for it. I verified it on x86_64-pc-mingw32, so 
maybe 
> > somebody could verify it for 32-bit cygwin/mingw, too.
> 
> Assuming that it can be verified for 32-bit cygwin/mingw then this patch 

> is approved.
> 
> > 2008-11-02  Kai Tietz  <kai.tietz@onevision.com>
> > 
> >         * emultempl/pep.em (..._before_parse): initialize 
> > pei386_runtime_pseudo_reloc by version 2.
> >         (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
> >         (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
> >         (make_import_fixup): Use relocation size to read addend.
> >         * emultempl/pe.em (..._before_parse): initialize 
> > pei386_runtime_pseudo_reloc by version 1.
> >         (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
> >         (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
> >         * pe-dll.c (pe-dll.h): Remove useless include.
> >         (make_runtime_pseudo_reloc): Change addend to use bfd_vma.
> >         Handle the two variants of pseudo-relocation.
> >         (pe_create_import_fixup): Change addend to type bfd_vma.
> >         Modify for the two pseudo_relocation variants.
> >         * pe-dll.h (pe_create_import_fixup): Change addend argument 
type 
> > to bfd_vma.
> >         * pep-dll.h (pep_create_import_fixup): Likewise.
> 
> One thing - please could you add a line to ld/NEWS mentioning the new 
> feature ?
> 
> Cheers
>    Nick

Ok, I'll add a line to ld/NEWS. For version 2.19?

Cheers,
Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.


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