RFA: pseudo-relocations for pe targets

Danny Smith dansmister@gmail.com
Fri Nov 14 20:50:00 GMT 2008


On Sat, Nov 15, 2008 at 4:16 AM, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> Nick Clifton <nickc@redhat.com> wrote on 14.11.2008 15:50:43:
>
>> Hi Kai,
>>
>> > Can I assume that the patch for binutils/ld is ok?
>>
>> Sure is.  Go ahead and apply it.
>
> Committed.
>
> Thanks, Kai

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?



Danny



More information about the Binutils mailing list