This is the mail archive of the
mailing list for the binutils project.
Re: RFA: pseudo-relocations for pe targets
2008/11/14 Danny Smith <email@example.com>:
> 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
for source) and all other interested in.
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination