* ld option to leave .reloc section on .exe?
@ 2000-03-10 14:16 Chris Metcalf
2000-03-12 17:45 ` Hungchen
0 siblings, 1 reply; 2+ messages in thread
From: Chris Metcalf @ 2000-03-10 14:16 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: ld option to leave .reloc section on .exe?
2000-03-10 14:16 ld option to leave .reloc section on .exe? Chris Metcalf
@ 2000-03-12 17:45 ` Hungchen
0 siblings, 0 replies; 2+ messages in thread
From: Hungchen @ 2000-03-12 17:45 UTC (permalink / raw)
To: 'Chris Metcalf'; +Cc: cygwin
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-12 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-10 14:16 ld option to leave .reloc section on .exe? Chris Metcalf
2000-03-12 17:45 ` Hungchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).