From patchwork Mon Mar 14 19:32:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 86803 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id B91C7B6F0B for ; Tue, 15 Mar 2011 06:33:04 +1100 (EST) Received: (qmail 18773 invoked by alias); 14 Mar 2011 19:33:02 -0000 Received: (qmail 18730 invoked by uid 22791); 14 Mar 2011 19:33:01 -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 snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Mar 2011 19:32:57 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id B6FD58E1; Mon, 14 Mar 2011 20:32:54 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yb--Pfzmq2if; Mon, 14 Mar 2011 20:32:52 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id E063E8E0; Mon, 14 Mar 2011 20:32:51 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p2EJWpEZ011830; Mon, 14 Mar 2011 20:32:51 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org Subject: [v3] Replace docs.sun.com URLs by their OTN equivalents Date: Mon, 14 Mar 2011 20:32:51 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org In their infinite wisdom, Oracle has moved all contents from docs.sun.com to the Oracle Technical Network without putting specific redirects in place, thus invalidating more than a decade of links in a single stroke. Oh well ;-( The following patch deals with the outfall. I've decided to remove the links from gcc/config/sol2.c, leaving only the citations in place. In the libstdc++ manual, OTOH, I've updated the URLs. I've no idea how stable they are going to be, tough: in about a week, the first link has already been invalidated by inserting a /html somewhere in the middle. So much for competent webmasters. Unfortunately, I've again lost the battle against the DocBook/XSL tools: even with the exact same version of docbook-xsl (1.75.2), I couldn't properly regenerate doc/html/manual/abi.html. I will never be able to understand how people are able to cope with this mess. When this patch is checked in, could someone with the right magic please regenerate that file for me? Thanks. Ok for mainline and perhaps the 4.6 branch? Rainer 2011-03-06 Rainer Orth gcc: * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. libstdc++-v3: * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN equivalents. * doc/html/manual/abi.html: Regenerate. diff -r 2cb06ad64348 gcc/config/sol2.c --- a/gcc/config/sol2.c Sun Mar 06 00:52:15 2011 +0100 +++ b/gcc/config/sol2.c Sun Mar 06 00:59:45 2011 +0100 @@ -1,5 +1,5 @@ /* General Solaris system support. - Copyright (C) 2004, 2005 , 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 , 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. This file is part of GCC. @@ -136,10 +136,8 @@ STV_SINGLETON, and STV_ELIMINATE. See Linker and Libraries Guide, Ch. 2, Link-Editor, Defining - Additional Symbols with a mapfile, - http://docs.sun.com/app/docs/doc/819-0690/gdzmc?a=view - and Ch. 7, Object-File Format, Symbol Table Section, - http://docs.sun.com/app/docs/doc/819-0690/chapter6-79797?a=view */ + Additional Symbols, and Ch. 7, Object-File Format, Symbol Table + Section. */ static const char * const visibility_types[] = { NULL, "symbolic", "hidden", "hidden" diff -r 2cb06ad64348 libstdc++-v3/doc/xml/manual/abi.xml --- a/libstdc++-v3/doc/xml/manual/abi.xml Sun Mar 06 00:52:15 2011 +0100 +++ b/libstdc++-v3/doc/xml/manual/abi.xml Sun Mar 06 00:59:45 2011 +0100 @@ -1127,7 +1127,7 @@ - + Linker and Libraries Guide (document 819-0690) @@ -1136,7 +1136,7 @@ - + Sun Studio 11: C++ Migration Guide (document 819-3689)