merge from gcc

This commit is contained in:
DJ Delorie
2013-10-16 00:29:48 +00:00
parent 90c9b2c61c
commit 26505cc0c4
9 changed files with 56 additions and 2 deletions

View File

@ -1,3 +1,13 @@
2013-10-15 David Malcolm <dmalcolm@redhat.com>
* configure.ac: If --enable-host-shared, use -fPIC.
* configure: Regenerate.
2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
* cp-demangle.c (d_name): Demangle local-source-names.
* testsuite/demangle-expected: New test.
2013-09-10 Paolo Carlini <paolo.carlini@oracle.com>
PR bootstrap/58386

6
libiberty/configure vendored
View File

@ -4963,6 +4963,12 @@ case "${enable_shared}" in
"") shared=no ;;
*) shared=yes ;;
esac
# ...unless --enable-host-shared was passed from top-level config:
if [ "${enable_host_shared}" = "yes" ]; then
shared=yes
fi
if [ "${shared}" != "yes" ]; then
PICFLAG=
fi

View File

@ -225,6 +225,12 @@ case "${enable_shared}" in
"") shared=no ;;
*) shared=yes ;;
esac
# ...unless --enable-host-shared was passed from top-level config:
if [[ "${enable_host_shared}" = "yes" ]]; then
shared=yes
fi
if [[ "${shared}" != "yes" ]]; then
PICFLAG=
fi

View File

@ -1276,7 +1276,6 @@ d_name (struct d_info *di)
case 'Z':
return d_local_name (di);
case 'L':
case 'U':
return d_unqualified_name (di);
@ -1323,6 +1322,7 @@ d_name (struct d_info *di)
return dc;
}
case 'L':
default:
dc = d_unqualified_name (di);
if (d_peek_char (di) == 'I')

View File

@ -4291,3 +4291,6 @@ void m<void () &&>(void (A::*)() &&)
--format=gnu-v3
_Z1nIM1AKFvvREEvT_
void n<void (A::*)() const &>(void (A::*)() const &)
--format=gnu-v3
_ZL1fIiEvv
void f<int>()