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 Danny,

2008/11/14 Danny Smith <dansmister@gmail.com>:
> Kai,
>
> Thanks for doing this.
>
> Do you plan to contribute the runtime pseudo-reloc.c code to mingw32
> project?  At first though, putting the code  into it's own startup
> object  say  crt_reloc2.o so that it can override the default library
> version by   explicit
> "gcc -o foo.exe foo.c crt_reloc2.o -Wl,--enable-auto-import
> --enable-runtime-pseudo-reloc-v2  crt_reloc2.o  bar.dll"
>
> or perhaps the startup object could be added by ld automatically  (for
> 32 bit target) by --enable-runtime-pseudo-reloc-v2  switch
>
> What do you think?

I wrote the pseudo-reloc.c code in a way that both variants (32-bit
and 64-bit) are covered. So I think that there shouldn't be a need to
pack it in a separate object file. Of course I donate the code for
pseudo relocation to mingw (see
http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-crt/crt64/pseudo-reloc.c?view=markup
for source) and all other interested in.

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]