This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: ld option to leave .reloc section on .exe?
- To: "'Chris Metcalf'" <metcalf at incert dot com>
- Subject: RE: ld option to leave .reloc section on .exe?
- From: "Hungchen" <hungchen at ms1 dot seeder dot net>
- Date: Mon, 13 Mar 2000 09:44:12 +0800
- Cc: <cygwin at sourceware dot cygnus dot com>
- Reply-To: <hungchen at ms1 dot seeder dot net>
Hi Chris
I have an experience that add "--embedded-relocs" option
to ld. It will generate a .reloc section.
Like this
$m68k-pic-coff-gcc -Xlinker --embedded-relocs test.c
My target is "m68k-pic-coff" maybe it's differemce from yours
Hope it works.
Steven Chang
hungchen@ms1.seeder.net
> -----Original Message-----
> From: Chris Metcalf [mailto:metcalf@incert.com]
> Sent: Saturday, March 11, 2000 6:16 AM
> To: cygwin@sourceware.cygnus.com
> Subject: ld option to leave .reloc section on .exe?
>
>
> Is there any way to convince the Cygwin toolchain to leave
> the relocation
> information (normally in a .reloc section) in a .exe file?
> By default it
> strips it off, and if you pass -r (--relocateable) then what
> you actually
> get is a COFF object file (i.e. an .obj) but with a .exe
> extension, which
> is quite a different kind of animal.
>
> Many thanks!
>
> Chris Metcalf -- InCert Software -- 1 (617) 621 8080
> metcalf@incert.com -- http://www.incert.com/~metcalf
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>