Patchwork [wwwdocs] Update links to C++ ABI (was: at exit alternative for AIX)

login
register
mail settings
Submitter Gerald Pfeifer
Date Aug. 26, 2012, 10:43 a.m.
Message ID <alpine.LNX.2.00.1208261232120.5727@ghan.fvgr>
Download mbox | patch
Permalink /patch/180038/
State New
Headers show

Comments

Gerald Pfeifer - Aug. 26, 2012, 10:43 a.m.
On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
> The official link at http://codesourcery.com/cxx-abi/ (note trailing
> slash) still works.

It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
and now redirects to http://mentorembedded.github.com/cxx-abi/ .

I went ahead and updated all our references per the patch below.

Jonathan, libstdc++/doc/xml/manual/abi.xml also has three references
to the old address.

Gerald
Ian Taylor - Aug. 26, 2012, 4:55 p.m.
On Sun, Aug 26, 2012 at 3:43 AM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
>> The official link at http://codesourcery.com/cxx-abi/ (note trailing
>> slash) still works.
>
> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>
> I went ahead and updated all our references per the patch below.

I don't think that is wise.  The document itself promises that the
permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
promised to be permanent.  I think we should link to the permanent URL
as long as it continues to work.

Ian
Gerald Pfeifer - Aug. 26, 2012, 5:02 p.m.
On Sun, 26 Aug 2012, Ian Lance Taylor wrote:
>> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
>> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>>
>> I went ahead and updated all our references per the patch below.
> I don't think that is wise.  The document itself promises that the
> permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> promised to be permanent.  I think we should link to the permanent URL
> as long as it continues to work.

Well, the document itself also carries "Revised 20 March 2001" in
line 2. ;-)

Mark, any recommendation from your side?  Is it fine to refer to 
the new mentorembedded.github.com address?

(Linking to a page that redirects makes verifying the accuracy of
links tricky.)

Gerald
Mitchell, Mark - Aug. 26, 2012, 5:54 p.m.
Gerald --

I think that the GitHub address is more canonical at this point, so I would recommend that.  That said, I would expect the codesourcery.com address to work "forever"; Mentor IT has set up permanent redirects for addresses from that domain.

Thank you,

--
Mark Mitchell
Mentor Graphics
mark_mitchell@mentor.com
+1 (510) 354-7337


> -----Original Message-----
> From: Gerald Pfeifer [mailto:gerald@pfeifer.com]
> Sent: Sunday, August 26, 2012 10:02 AM
> To: Ian Lance Taylor; Mitchell, Mark
> Cc: gcc-patches@gcc.gnu.org; Jonathan Wakely; gcc@gcc.gnu.org
> Subject: Re: [wwwdocs] Update links to C++ ABI
> 
> On Sun, 26 Aug 2012, Ian Lance Taylor wrote:
> >> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of
> >> lately, and now redirects to http://mentorembedded.github.com/cxx-
> abi/ .
> >>
> >> I went ahead and updated all our references per the patch below.
> > I don't think that is wise.  The document itself promises that the
> > permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> > promised to be permanent.  I think we should link to the permanent
> URL
> > as long as it continues to work.
> 
> Well, the document itself also carries "Revised 20 March 2001" in line
> 2. ;-)
> 
> Mark, any recommendation from your side?  Is it fine to refer to the
> new mentorembedded.github.com address?
> 
> (Linking to a page that redirects makes verifying the accuracy of links
> tricky.)
> 
> Gerald
Gabriel Dos Reis - Aug. 26, 2012, 6:03 p.m.
On Sun, Aug 26, 2012 at 11:55 AM, Ian Lance Taylor <iant@google.com> wrote:
> On Sun, Aug 26, 2012 at 3:43 AM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
>> On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
>>> The official link at http://codesourcery.com/cxx-abi/ (note trailing
>>> slash) still works.
>>
>> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
>> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>>
>> I went ahead and updated all our references per the patch below.
>
> I don't think that is wise.  The document itself promises that the
> permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> promised to be permanent.  I think we should link to the permanent URL
> as long as it continues to work.
>
> Ian

That makes sense.

Patch

Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.215
diff -u -3 -p -r1.215 faq.html
--- faq.html	20 Feb 2012 22:41:41 -0000	1.215
+++ faq.html	26 Aug 2012 10:37:21 -0000
@@ -433,7 +433,7 @@  linkage the same name is a violation of 
 
 <p>For more details about the way that GCC implements these and other
 C++ features, please read the <a
-href="http://sourcery.mentor.com/public/cxx-abi/">C++ ABI specification</a>.
+href="http://mentorembedded.github.com/cxx-abi/">C++ ABI specification</a>.
 Note the <code>std::type_info</code> objects which <i>must</i> be
 resolved all begin with "_ZTS". Refer to <code>ld</code>'s
 documentation for a description of the "<code>-E</code>" &amp;
Index: readings.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v
retrieving revision 1.219
diff -u -3 -p -r1.219 readings.html
--- readings.html	23 Feb 2012 13:24:36 -0000	1.219
+++ readings.html	26 Aug 2012 10:37:21 -0000
@@ -37,7 +37,7 @@ 
   by Joachim Nadler and Tim Josling
   &lt;<a href="mailto:tej@melbpc.org.au">tej@melbpc.org.au</a>&gt;.</li>
 
-  <li><a href="http://sourcery.mentor.com/public/cxx-abi/">
+  <li><a href="http://mentorembedded.github.com/cxx-abi/">
   The V3 multi-vendor standard C++ ABI</a> is used in GCC releases 3.0 and
   above.</li>
 
Index: gcc-3.2/c++-abi.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.2/c++-abi.html,v
retrieving revision 1.6
diff -u -3 -p -r1.6 c++-abi.html
--- gcc-3.2/c++-abi.html	20 Feb 2012 22:51:27 -0000	1.6
+++ gcc-3.2/c++-abi.html	26 Aug 2012 10:37:21 -0000
@@ -10,7 +10,7 @@ 
     The main point of the GCC 3.2 release is to have a relatively
     stable and common C++ ABI for GNU/Linux and BSD usage, following
     the documentation at
-    <a href="http://sourcery.mentor.com/public/cxx-abi/">http://sourcery.mentor.com/public/cxx-abi/</a>.
+    <a href="http://mentorembedded.github.com/cxx-abi/">http://sourcery.mentor.com/public/cxx-abi/</a>.
    
     Unfortunately this means that GCC 3.2 is incompatible with GCC 3.0
     and GCC 3.1 releases.</p>
Index: gcc-4.0/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.0/changes.html,v
retrieving revision 1.60
diff -u -3 -p -r1.60 changes.html
--- gcc-4.0/changes.html	20 Feb 2012 22:51:27 -0000	1.60
+++ gcc-4.0/changes.html	26 Aug 2012 10:37:22 -0000
@@ -182,7 +182,7 @@ 
         <a href="#visibility"><code>-fvisibility</code> option</a>.</li>
 
     <li>The compiler now uses the library interface specified by the <a
-        href="http://sourcery.mentor.com/public/cxx-abi/">C++ ABI</a> for
+        href="http://mentorembedded.github.com/cxx-abi/">C++ ABI</a> for
         thread-safe initialization of function-scope static variables.
         Most users should leave this alone, but embedded programmers may
         want to disable this by specifying