From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14279 invoked by alias); 25 Jan 2011 22:40:05 -0000 Received: (qmail 14234 invoked by uid 22791); 25 Jan 2011 22:40:03 -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; Tue, 25 Jan 2011 22:39:58 +0000 Received: (qmail 23970 invoked from network); 25 Jan 2011 22:39:56 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Jan 2011 22:39:56 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PhrYI-0001JO-Rg; Tue, 25 Jan 2011 22:39:54 +0000 Date: Tue, 25 Jan 2011 23:10:00 -0000 From: "Joseph S. Myers" To: David Edelsohn cc: gcc-patches@gcc.gnu.org Subject: Re: [15/25] Specs cleanup: config/rs6000/sysv4.h SHARED_LIB_SUPPORT In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1152306461-1856552752-1295995194=:1203" 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-01/txt/msg01824.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1152306461-1856552752-1295995194=:1203 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-length: 2101 On Mon, 17 Jan 2011, David Edelsohn wrote: > On Thu, Jan 13, 2011 at 7:12 PM, Joseph S. Myers > wrote: > > config/rs6000/sysv4.h has a conditional on SHARED_LIB_SUPPORT, which > > is nowhere defined. =A0Removing this allows a conditional definition of > > LINK_SHLIB_SPEC to be removed, which this patch does. =A0OK to commit? > > > > 2011-01-13 =A0Joseph Myers =A0 > > > > =A0 =A0 =A0 =A0* config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove con= ditional. > > =A0 =A0 =A0 =A0(NO_SHARED_LIB_SUPPORT): Remove. > > =A0 =A0 =A0 =A0(LINK_SHLIB_SPEC): Remove one conditional definition. >=20 > Okay. >=20 > Thanks, David >=20 > P.S. Any idea where this block came from? It appeared in 2.8, presumably from Wed Jun 5 16:25:51 1996 Michael Meissner * rs6000.h (ASM_DEFAULT_SPEC): Default to "", not -mpwr. * sysv4.h (SUBTARGET_SWITCHES): Add -mshlib. (LINK_PATH_SPEC): Add -compat-bsd support from Solaris. (LINK_SPEC): Eliminate %{b} and %{G}, since they conflict with GCC switches. Defer shared library support to LINK_SHLIB_SPEC. Defer target selection to LINK_TARGET_SPEC. (LINK_SHLIB_SPEC): Provide two different versions, depending on whether shared libraries are default or not. Make shared libraries not default until linker is fixed. (LINK_OS_*_SPEC): New specs for OS specific linker switches. (SUBTARGET_EXTRA_SPECS): Add new specs. * {sol2,sysv4}.h (LINK_SPEC): Move Solaris link into general link s= pec. * {sysv4,sysv4le,eabile}.h (LINK_TARGET_SPEC): Only pass -oformat to the linker if the user is changing the default endian format. * {sol2,linux,eabisim,eabilesim}.h (LINK_OS_DEFAULT_SPEC): Define to use the appropriate OS link spec. which now appears to be r12167, part of a port to PowerPC Solaris.=20=20 Support for PowerPC Solaris was removed in r47232=20 . --=20 Joseph S. Myers joseph@codesourcery.com= ---1152306461-1856552752-1295995194=:1203--