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 14:21:27:

> Hi Kai,
> 
> > Ok, I'll add a line to ld/NEWS.
> 
> Thanks,
> 
> > For version 2.19?
> 
> No, let's keep the branch clean.
> 
> Cheers
>    Nick
> 
> 


I add some lines to ld/NEWS and corrected a typo of mine in pe-dll.c.

2008-11-11  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.
        * NEWS: Add comment.



It would be very kind, if somebody could verify this patch on cygwin for 
no side-effects.

Cheers,
Kai



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

Attachment: pseudo_reloc_w64.txt
Description: Text document


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