| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Reply-To: | <hungchen AT ms1 DOT seeder DOT net> |
| From: | "Hungchen" <hungchen AT ms1 DOT seeder DOT net> |
| To: | "'Chris Metcalf'" <metcalf AT incert DOT com> |
| Cc: | <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | RE: ld option to leave .reloc section on .exe? |
| Date: | Mon, 13 Mar 2000 09:44:12 +0800 |
| Message-ID: | <010DDB3C1906D311A6A00080C8F8875A432442@MAIL> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) |
| In-Reply-To: | <Pine.LNX.4.10.10003101713490.8532-100000@rd.incert.com> |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id UAA06603 |
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 AT ms1 DOT seeder DOT net
> -----Original Message-----
> From: Chris Metcalf [mailto:metcalf AT incert DOT com]
> Sent: Saturday, March 11, 2000 6:16 AM
> To: cygwin AT sourceware DOT cygnus DOT 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 AT incert DOT com -- http://www.incert.com/~metcalf
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |