From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1529 invoked by alias); 7 Mar 2011 22:52:08 -0000 Received: (qmail 1497 invoked by uid 22791); 7 Mar 2011 22:52:07 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Mar 2011 22:52:03 +0000 Received: from hpaq6.eem.corp.google.com (hpaq6.eem.corp.google.com [172.25.149.6]) by smtp-out.google.com with ESMTP id p27Mq0aR015247 for ; Mon, 7 Mar 2011 14:52:00 -0800 Received: from yic13 (yic13.prod.google.com [10.243.65.141]) by hpaq6.eem.corp.google.com with ESMTP id p27Mpwf0011999 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 7 Mar 2011 14:51:59 -0800 Received: by yic13 with SMTP id 13so2481619yic.17 for ; Mon, 07 Mar 2011 14:51:58 -0800 (PST) Received: by 10.150.94.19 with SMTP id r19mr5156347ybb.310.1299538315890; Mon, 07 Mar 2011 14:51:55 -0800 (PST) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id w15sm2030642ybk.1.2011.03.07.14.51.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2011 14:51:55 -0800 (PST) From: Ian Lance Taylor To: binutils@sourceware.org Subject: gold patch committed: Add -dy and -dn options Date: Mon, 07 Mar 2011 22:52:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00099.txt.bz2 --=-=-= Content-length: 315 This patch to gold adds the -dy and -dn options, which are used by the Solaris linker. They are synonyms for -Bdynamic and -Bshared respectively. Committed to mainline and 2.21 branch. Ian 2011-03-07 Ian Lance Taylor PR gold/12525 * options.h (class General_options): Add -dy and -dn. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=foo.patch Content-Description: patch Content-length: 781 Index: options.h =================================================================== RCS file: /cvs/src/src/gold/options.h,v retrieving revision 1.154 diff -u -p -r1.154 options.h --- options.h 25 Jan 2011 06:08:47 -0000 1.154 +++ options.h 7 Mar 2011 22:44:50 -0000 @@ -623,6 +623,10 @@ class General_options DEFINE_bool_alias(Bstatic, Bdynamic, options::ONE_DASH, '\0', N_("-l does not search for shared libraries"), NULL, true); + DEFINE_bool_alias(dy, Bdynamic, options::ONE_DASH, '\0', + N_("alias for -Bdynamic"), NULL, false); + DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0', + N_("alias for -Bstatic"), NULL, true); DEFINE_bool(Bsymbolic, options::ONE_DASH, '\0', false, N_("Bind defined symbols locally"), NULL); --=-=-=--