From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19970 invoked by alias); 11 Apr 2011 15:27:32 -0000 Received: (qmail 19955 invoked by uid 22791); 11 Apr 2011 15:27:31 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Apr 2011 15:27:24 +0000 Received: (qmail 5497 invoked from network); 11 Apr 2011 15:27:23 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Apr 2011 15:27:23 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q9J1N-0007t4-RJ for gcc-patches@gcc.gnu.org; Mon, 11 Apr 2011 15:27:21 +0000 Date: Mon, 11 Apr 2011 15:27:00 -0000 From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: Fix -Ttext= etc. handling Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg00762.txt.bz2 A problem was reported on IRC where the -Ttext= etc. joined-argument options no longer worked because they were passed to the linker as -T text= etc.; the driver only knew about the separate-argument -Ttext etc. versions as distinct from the -T option. This patch fixes this by adding these option forms to common.opt. Bootstrapped with no regressions on x86_64-unknown-linux-gnu. Applied to trunk and 4.6 branch. 2011-04-11 Joseph Myers * common.opt (Tbss=, Tdata=, Ttext=): New options. Index: gcc/common.opt =================================================================== --- gcc/common.opt (revision 172252) +++ gcc/common.opt (working copy) @@ -456,12 +456,21 @@ Driver Joined Separate Tbss Driver Separate +Tbss= +Driver Joined + Tdata Driver Separate +Tdata= +Driver Joined + Ttext Driver Separate +Ttext= +Driver Joined + W Common RejectNegative Warning Alias(Wextra) This switch is deprecated; use -Wextra instead -- Joseph S. Myers joseph@codesourcery.com