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


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


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