Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Reply-To: From: "Hungchen" To: "'Chris Metcalf'" Cc: 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 Content-Type: text/plain; charset="big5" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Content-Transfer-Encoding: 8bit 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 >