OSDN Git Service

In include,
authorsamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2000 02:28:41 +0000 (02:28 +0000)
committersamuel <samuel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Jun 2000 02:28:41 +0000 (02:28 +0000)
commit168d63e571b2a83ad509b48044e6d76ebf8a9f2d
tree78bcc08424b6a7e0df57d6cc138363c0ec3e70eb
parent148e86d77b446be8be1a7cb09ae50812deb040df
In include,

* dyn-string.h: Move here from gcc/dyn-string.h.  Add new functions.

* demangle.h (DMGL_GNU_NEW_ABI): New macro.
(DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI.
(current_demangling_style): Add gnu_new_abi_demangling.
(GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro.
(GNU_NEW_ABI_DEMANGLING): Likewise.
(cplus_demangle_new_abi): New declaration.

In libiberty,

* Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
(REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
(cp-demangle.o): New dependency.
(dyn-string.o): Likewise.

* dyn-string.c: Move here from gcc/dyn-string.c.  Add new functions.

* cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
demangler.
(cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
demangling mode.
(gnu_new_abi_symbol_characters): New function.
(main): Use gnu_new_abi_symbol_characters.  * cp-demangle.c: New
file.
* cp-demangle.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34397 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/demangle.h
include/dyn-string.h [new file with mode: 0644]
libiberty/ChangeLog
libiberty/Makefile.in
libiberty/cp-demangle.c [new file with mode: 0644]
libiberty/cplus-dem.c
libiberty/dyn-string.c [new file with mode: 0644]