From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20518 invoked by alias); 7 May 2006 16:28:56 -0000 Received: (qmail 20510 invoked by uid 22791); 7 May 2006 16:28:55 -0000 X-Spam-Check-By: sourceware.org Received: from yosemite.airs.com (HELO yosemite.airs.com) (205.217.158.180) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 07 May 2006 16:28:21 +0000 Received: (qmail 18132 invoked by uid 10); 7 May 2006 16:28:20 -0000 Received: (qmail 15747 invoked by uid 500); 7 May 2006 16:28:13 -0000 Mail-Followup-To: gcc-help@gcc.gnu.org, info@guitarv.com To: "Gustavo Oliveira" Cc: gcc-help@gcc.gnu.org Subject: Re: linker script help. References: From: Ian Lance Taylor Date: Sun, 07 May 2006 16:28:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00076.txt.bz2 "Gustavo Oliveira" writes: > However, what I'd like to do is to see if the linker can spit out the > current linking script with all symbols so I can edit (instead of > writing one from scratch) and pass -T to the linker with my editable > script. I searched through the help and I found this option --print-map > but it doesn't do what I watn. > > anyway is the an option that the linker outputs to a text file the > linker script with all the info I need to be edited? --verbose. >From the compiler, you will need to use -Wl,--verbose. Ian