Subject: RE: ld option to leave .reloc section on .exe?
From: "Hungchen" <[email-masked]>
To: "'Chris Metcalf'" <[email-masked]>
Cc: <[email-masked]>
Date: Mon, 13 Mar 2000 09:44:12 +0800

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
[email-masked]

> -----Original Message-----
> From: Chris Metcalf [mailto:[email-masked]]
> Sent: Saturday, March 11, 2000 6:16 AM
> To: [email-masked]
> 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
>                 [email-masked] -- http://www.incert.com/~metcalf
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to [email-masked]
>