This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] libiberty: fix URL for demangler ABI
- From: David Malcolm <dmalcolm at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Malcolm <dmalcolm at redhat dot com>
- Date: Fri, 2 Mar 2018 11:44:53 -0500
- Subject: [PATCH] libiberty: fix URL for demangler ABI
- Authentication-results: sourceware.org; auth=none
The comment at the top of cp-demangle.c lists:
http://www.codesourcery.com/cxx-abi/abi.html#mangling
which redirects to:
https://mentorembedded.github.io/cxx-abi/abi.html#mangling
but this is a 404: the latter site is empty.
I looked on archive.org; the final version before the redirect
seems to be:
https://web.archive.org/web/20110903075217/http://www.codesourcery.com:80/public/cxx-abi/abi.html
Some searching showed up:
https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling
I don't know how canonical this page is, but:
https://itanium-cxx-abi.github.io/cxx-abi/
has "Revised March 14, 2017", which seems relatively up-to-date, so this
patch updates the comment to point to that site.
OK for trunk?
libiberty/ChangeLog:
* cp-demangle.c: Update URL for g++ V3 ABI.
---
libiberty/cp-demangle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 1d5b855..3f2a097 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -30,7 +30,7 @@
/* This code implements a demangler for the g++ V3 ABI. The ABI is
described on this web page:
- http://www.codesourcery.com/cxx-abi/abi.html#mangling
+ https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling
This code was written while looking at the demangler written by
Alex Samuel <samuel@codesourcery.com>.
--
1.8.5.3