/contrib/toolchain/gcc/5x/libstdc++-v3/Makefile |
---|
35,13 → 35,13 |
src/c++98/compatibility-debug_list-2.cc |
cxx11_sources = \ |
compatibility-c++0x.cc \ |
compatibility-atomic-c++0x.cc \ |
compatibility-thread-c++0x.cc \ |
compatibility-chrono.cc \ |
compatibility-condvar.cc |
src/c++11/compatibility-c++0x.cc \ |
src/c++11/compatibility-atomic-c++0x.cc \ |
src/c++11/compatibility-thread-c++0x.cc \ |
src/c++11/compatibility-chrono.cc \ |
src/c++11/compatibility-condvar.cc |
compat_sources = $(cxx98_sources) |
compat_sources = $(cxx98_sources) $(cxx11_sources) |
cow_string_host_sources = \ |
src/c++98/collate_members_cow.cc \ |
244,8 → 244,20 |
src/c++11/hashtable_c++0x.o: src/c++11/hashtable_c++0x.cc |
$(CXXCOMPILE) -fimplicit-templates -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -fimplicit-templates -o $@ $< |
src/c++11/compatibility-c++0x.o: src/c++11/compatibility-c++0x.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
src/c++11/compatibility-thread-c++0x.o: src/c++11/compatibility-thread-c++0x.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
src/c++11/compatibility-chrono.o: src/c++11/compatibility-chrono.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
src/c++11/compatibility-condvar.o: src/c++11/compatibility-condvar.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
clean: |
-rm -f *.o |
/contrib/toolchain/gcc/5x/libstdc++-v3/libsupc++/gthr_mutex.c |
---|
File deleted |
/contrib/toolchain/gcc/5x/libstdc++-v3/libsupc++/vterminate.idb |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/contrib/toolchain/gcc/5x/libstdc++-v3/libsupc++/Makefile |
---|
6,32 → 6,45 |
CPP= kos32-g++ |
STRIP = kos32-strip |
INSTALLDIR:= /home/autobuild/tools/win32/mingw32/lib |
export SDK_DIR:= $(abspath ../../../../../sdk) |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CPPFLAGS = -fno-rtti |
CFLAGSCPP = -nostdinc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi |
CFLAGSCPP+= -fdiagnostics-show-location=once -ffunction-sections -fdata-sections |
ARFLAGS= crs |
INCLUDES= -I. -I../include/mingw32 -I../include -I../../newlib/libc/include -I/home/autobuild/tools/win32/include |
GLIBCXX_INCLUDE_DIR= ../include |
INCLUDES= -I../include/mingw32 -I../include -I./ -I$(SDK_DIR)/sources/newlib/libc/include |
LIBS:= -ldll -lc.dll |
DEFINES= -D_GLIBCXX_HAVE_TLS |
DEFINES= -DHAVE_CONFIG_H -DIN_GCC -DIN_GLIBCPP_V3 -DUSE_EMUTLS=1 -D_GLIBCXX_HAVE_TLS |
C_COMPILE= $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) |
CXXCOMPILE= $(CPP) $(CFLAGS) $(CFLAGSCPP) $(INCLUDES) $(DEFINES) |
SOURCES = \ |
cp-demangle.c \ |
array_type_info.cc \ |
atexit_arm.cc \ |
atexit_thread.cc \ |
bad_alloc.cc \ |
bad_array_length.cc \ |
bad_array_new.cc \ |
bad_cast.cc \ |
bad_typeid.cc \ |
class_type_info.cc \ |
del_op.cc \ |
del_ops.cc \ |
del_opnt.cc \ |
del_opv.cc \ |
del_opvs.cc \ |
del_opvnt.cc \ |
dyncast.cc \ |
eh_alloc.cc \ |
eh_arm.cc \ |
eh_aux_runtime.cc \ |
eh_call.cc \ |
eh_catch.cc \ |
41,9 → 54,9 |
eh_ptr.cc \ |
eh_term_handler.cc \ |
eh_terminate.cc \ |
eh_tm.cc \ |
eh_throw.cc \ |
eh_tm.cc \ |
eh_type.c \ |
eh_type.cc \ |
eh_unex_handler.cc \ |
enum_type_info.cc \ |
function_type_info.cc \ |
77,29 → 90,60 |
$(LIBRARY).a: $(OBJECTS) Makefile |
$(AR) $(ARFLAGS) $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../../lib |
mv -f $(LIBRARY).a $(INSTALLDIR) |
%.o : %.c Makefile |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
%.o : %.cc Makefile |
$(CPP) $(CFLAGS) $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -o $@ $< |
cp-demangle.o: cp-demangle.c |
$(C_COMPILE) -DHAVE_CONFIG_H -D_USE_32BIT_TIME_T -DIN_GLIBCPP_V3 -Wno-error -o $@ $< |
bad_array_length.o: bad_array_length.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
bad_array_new.o: bad_array_new.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
eh_aux_runtime.o: eh_aux_runtime.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
eh_ptr.o: eh_ptr.cc |
$(CPP) $(CFLAGS) -std=gnu++0x $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
eh_terminate.o: eh_terminate.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
eh_throw.o: eh_throw.cc |
$(CPP) $(CFLAGS) -std=gnu++0x $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
guard.o: guard.cc |
$(CPP) $(CFLAGS) -std=gnu++0x $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
atexit_thread.o: atexit_thread.cc |
$(CPP) $(CFLAGS) -std=gnu++0x $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
nested_exception.o: nested_exception.cc |
$(CPP) $(CFLAGS) -std=gnu++0x $(CPPFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
new_handler.o: new_handler.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
new_op.o: new_op.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
new_opnt.o: new_opnt.cc |
$(CXXCOMPILE) -std=gnu++11 -o $@ $< |
del_ops.o: del_ops.cc |
$(CXXCOMPILE) -std=gnu++14 -o $@ $< |
del_opvs.o: del_opvs.cc |
$(CXXCOMPILE) -std=gnu++14 -o $@ $< |
clean: |
-rm -f *.o |
/contrib/toolchain/gcc/5x/libstdc++-v3/libsupc++/cp-demangle.h |
---|
122,6 → 122,11 |
mangled name to the demangled name, such as standard |
substitutions and builtin types. */ |
int expansion; |
/* Non-zero if we are parsing an expression. */ |
int is_expression; |
/* Non-zero if we are parsing the type operand of a conversion |
operator, but not when in an expression. */ |
int is_conversion; |
}; |
/* To avoid running past the ending '\0', don't: |
/contrib/toolchain/gcc/5x/libstdc++-v3/libsupc++/demangle.h |
---|
63,9 → 63,10 |
#define DMGL_EDG (1 << 13) |
#define DMGL_GNU_V3 (1 << 14) |
#define DMGL_GNAT (1 << 15) |
#define DMGL_DLANG (1 << 16) |
/* If none of these are set, use 'current_demangling_style' as the default. */ |
#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT) |
#define DMGL_STYLE_MASK (DMGL_AUTO|DMGL_GNU|DMGL_LUCID|DMGL_ARM|DMGL_HP|DMGL_EDG|DMGL_GNU_V3|DMGL_JAVA|DMGL_GNAT|DMGL_DLANG) |
/* Enumeration of possible demangling styles. |
87,7 → 88,8 |
edg_demangling = DMGL_EDG, |
gnu_v3_demangling = DMGL_GNU_V3, |
java_demangling = DMGL_JAVA, |
gnat_demangling = DMGL_GNAT |
gnat_demangling = DMGL_GNAT, |
dlang_demangling = DMGL_DLANG |
} current_demangling_style; |
/* Define string names for the various demangling styles. */ |
102,6 → 104,7 |
#define GNU_V3_DEMANGLING_STYLE_STRING "gnu-v3" |
#define JAVA_DEMANGLING_STYLE_STRING "java" |
#define GNAT_DEMANGLING_STYLE_STRING "gnat" |
#define DLANG_DEMANGLING_STYLE_STRING "dlang" |
/* Some macros to test what demangling style is active. */ |
115,6 → 118,7 |
#define GNU_V3_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNU_V3) |
#define JAVA_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_JAVA) |
#define GNAT_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_GNAT) |
#define DLANG_DEMANGLING (((int) CURRENT_DEMANGLING_STYLE) & DMGL_DLANG) |
/* Provide information about the available demangle styles. This code is |
pulled from gdb into libiberty because it is useful to binutils also. */ |
169,10 → 173,17 |
char * |
ada_demangle (const char *mangled, int options); |
extern char * |
dlang_demangle (const char *mangled, int options); |
enum gnu_v3_ctor_kinds { |
gnu_v3_complete_object_ctor = 1, |
gnu_v3_base_object_ctor, |
gnu_v3_complete_object_allocating_ctor, |
/* These are not part of the V3 ABI. Unified constructors are generated |
as a speed-for-space optimization when the -fdeclone-ctor-dtor option |
is used, and are always internal symbols. */ |
gnu_v3_unified_ctor, |
gnu_v3_object_ctor_group |
}; |
188,6 → 199,10 |
gnu_v3_deleting_dtor = 1, |
gnu_v3_complete_object_dtor, |
gnu_v3_base_object_dtor, |
/* These are not part of the V3 ABI. Unified destructors are generated |
as a speed-for-space optimization when the -fdeclone-ctor-dtor option |
is used, and are always internal symbols. */ |
gnu_v3_unified_dtor, |
gnu_v3_object_dtor_group |
}; |
365,6 → 380,10 |
/* A typecast, represented as a unary operator. The one subtree is |
the type to which the argument should be cast. */ |
DEMANGLE_COMPONENT_CAST, |
/* A conversion operator, represented as a unary operator. The one |
subtree is the type to which the argument should be converted |
to. */ |
DEMANGLE_COMPONENT_CONVERSION, |
/* A nullary expression. The left subtree is the operator. */ |
DEMANGLE_COMPONENT_NULLARY, |
/* A unary expression. The left subtree is the operator, and the |