From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21089 invoked by alias); 12 Jan 2013 06:30:20 -0000 Received: (qmail 21068 invoked by uid 22791); 12 Jan 2013 06:30:18 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Jan 2013 06:30:08 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6D46833DA89 for ; Sat, 12 Jan 2013 06:30:07 +0000 (UTC) From: Mike Frysinger To: binutils@sourceware.org Subject: [PATCH 2/2] gold: enable new dtags by default Date: Sat, 12 Jan 2013 06:30:00 -0000 Message-Id: <1357972375-30895-2-git-send-email-vapier@gentoo.org> In-Reply-To: <1357972375-30895-1-git-send-email-vapier@gentoo.org> References: <1356420600-11507-1-git-send-email-vapier@gentoo.org> <1357972375-30895-1-git-send-email-vapier@gentoo.org> 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: 2013-01/txt/msg00184.txt.bz2 The "new" dtags options have been around for 14+ years, and for all the targets that gold supports, these flags have always exist. So enable them by default. Having behavior be different from ld.bfd isn't new, and this behavior is the "better" one, so there shouldn't be a problem based on that. Signed-off-by: Mike Frysinger 2013-01-12 Mike Frysinger * options.h (General_options): Change default to true for new_dtags and new_dtags_only. --- gold/options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gold/options.h b/gold/options.h index ec3f823..9f7b5ae 100644 --- a/gold/options.h +++ b/gold/options.h @@ -904,11 +904,11 @@ class General_options N_("Do not page align data, do not make text readonly"), N_("Page align data, make text readonly")); - DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', false, + DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', true, N_("Enable use of DT_RUNPATH and DT_FLAGS"), N_("Disable use of DT_RUNPATH and DT_FLAGS")); - DEFINE_enable(new_dtags_only, options::EXACTLY_TWO_DASHES, '\0', false, + DEFINE_enable(new_dtags_only, options::EXACTLY_TWO_DASHES, '\0', true, N_("Skip the use of DT_RPATH"), N_("Do not skip the use of DT_RPATH")); -- 1.8.0.2