diff options
author | samuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-30 15:25:33 +0000 |
---|---|---|
committer | samuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-30 15:25:33 +0000 |
commit | b7f68aff4588dca457de7aa052e23dc7d2631f19 (patch) | |
tree | 67c66f46e7f0fe9c54e0629a21c96199e0fae8f7 /libio | |
parent | 43106ad9b9724d1aa08421fef4737427314db2ac (diff) | |
download | gcc-b7f68aff4588dca457de7aa052e23dc7d2631f19.tar.gz |
in libiberty/ChangeLog:
* cp-demangle.c (demangle_encoding): Accept no substitutions.
(demangle_name): Handle <substitution> followed by
<unqualified-template-name>.
(demangle_type): Follow special substitutions with
<class-enum-type>
(demangle_subtitution): Set template_p for special substitutions.
(main): Fix typos.
in gcc/cp/ChangeLog:
* mangle.c (find_substitution): Use same_type_p.
(write_encoding): Don't check for substitutions.
in libio/ChangeLog:
* libioP.h (VTABLE_LABEL): Update for new vtable mangling.
* stdstrbufs.cc (filebuf_vtable): Likewise.
(stdiobuf_vtable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio')
-rw-r--r-- | libio/ChangeLog | 6 | ||||
-rw-r--r-- | libio/libioP.h | 4 | ||||
-rw-r--r-- | libio/stdstrbufs.cc | 6 |
3 files changed, 11 insertions, 5 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index b7b30ea0e24..1ac3f623145 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -1,3 +1,9 @@ +2000-06-28 Alex Samuel <samuel@codesourcery.com> + + * libioP.h (VTABLE_LABEL): Update for new vtable mangling. + * stdstrbufs.cc (filebuf_vtable): Likewise. + (stdiobuf_vtable): Likewise. + 2000-06-04 Mark Mitchell <mark@codesourcery.com> * libioP.h: Handle new ABI mangling. diff --git a/libio/libioP.h b/libio/libioP.h index 171d9b9c1da..0dee72d577e 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -603,7 +603,7 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list)); # endif # else # define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \ - extern char NAME[] asm ("_ZN" #CNLENGTH #CLASS "TVE"); + extern char NAME[] asm ("_ZTV" #CNLENGTH #CLASS); # endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */ #endif /* __GNUC__ */ diff --git a/libio/stdstrbufs.cc b/libio/stdstrbufs.cc index ee10cdc4d00..2425a56eec6 100644 --- a/libio/stdstrbufs.cc +++ b/libio/stdstrbufs.cc @@ -1,5 +1,5 @@ /* -Copyright (C) 1994 Free Software Foundation +Copyright (C) 1994, 2000 Free Software Foundation This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or modify it under the @@ -42,7 +42,7 @@ extern char filebuf_vtable[] #endif "filebuf"); #else - asm ( "_ZN7filebufTVE" ); + asm ( "_ZTV7filebuf" ); #endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */ #else /* !__GNUC__ */ #if _G_VTABLE_LABEL_HAS_LENGTH @@ -98,7 +98,7 @@ extern struct _IO_jump_t stdiobuf_vtable #endif "stdiobuf"); #else - asm ( "_ZN15stdiobuf_vtableTVE" ); + asm ( "_ZTV15stdiobuf_vtable" ); #endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */ #else /* !__GNUC__ */ #if _G_VTABLE_LABEL_HAS_LENGTH |