summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-08 17:35:44 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-08 17:35:44 +0000
commit3eb7531d91a3c04a7b0f9c543afc90c25959322c (patch)
treeb24366a475050e92331bd6a312993db02166fd10 /libio
parentf2b8a47dda48aed89fbac66ebb8455cf206cae83 (diff)
downloadgcc-3eb7531d91a3c04a7b0f9c543afc90c25959322c.tar.gz
* libioP.h: Remove old ABI mangling code.
* stdstrbufs.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio')
-rw-r--r--libio/ChangeLog5
-rw-r--r--libio/libioP.h16
-rw-r--r--libio/stdstrbufs.cc22
3 files changed, 11 insertions, 32 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index b7b30ea0e24..cbee31978bf 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-08 Mark Mitchell <mark@codesourcery.com>
+
+ * libioP.h: Remove old ABI mangling code.
+ * stdstrbufs.cc: 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..77ec9a3b6bb 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
@@ -593,18 +593,8 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list));
/* VTABLE_LABEL defines NAME as of the CLASS class.
CNLENGTH is strlen(#CLASS). */
#ifdef __GNUC__
-# if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
-# if _G_VTABLE_LABEL_HAS_LENGTH
-# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
- extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CNLENGTH #CLASS);
-# else
-# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
- extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CLASS);
-# endif
-# else
-# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
- extern char NAME[] asm ("_ZN" #CNLENGTH #CLASS "TVE");
-# endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
+# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
+ extern char NAME[] asm ("_ZTV" #CNLENGTH #CLASS );
#endif /* __GNUC__ */
#if !defined(builtinbuf_vtable) && defined(__cplusplus)
diff --git a/libio/stdstrbufs.cc b/libio/stdstrbufs.cc
index ee10cdc4d00..8b9e375d894 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
@@ -35,15 +35,7 @@ the executable file might be covered by the GNU General Public License. */
#if !defined(filebuf_vtable) && defined(__cplusplus)
#ifdef __GNUC__
extern char filebuf_vtable[]
-#if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
- asm (_G_VTABLE_LABEL_PREFIX
-#if _G_VTABLE_LABEL_HAS_LENGTH
- "7"
-#endif
- "filebuf");
-#else
- asm ( "_ZN7filebufTVE" );
-#endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
+ asm ( "_ZTV7filebuf" );
#else /* !__GNUC__ */
#if _G_VTABLE_LABEL_HAS_LENGTH
#define filebuf_vtable _G_VTABLE_LABEL_PREFIX_ID##7filebuf
@@ -91,15 +83,7 @@ struct _IO_fake_stdiobuf {
#ifndef stdiobuf_vtable
#ifdef __GNUC__
extern struct _IO_jump_t stdiobuf_vtable
-#if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
- asm (_G_VTABLE_LABEL_PREFIX
-#if _G_VTABLE_LABEL_HAS_LENGTH
- "8"
-#endif
- "stdiobuf");
-#else
- asm ( "_ZN15stdiobuf_vtableTVE" );
-#endif /* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
+ asm ( "_ZTV15stdiobuf_vtable" );
#else /* !__GNUC__ */
#if _G_VTABLE_LABEL_HAS_LENGTH
#define stdiobuf_vtable _G_VTABLE_LABEL_PREFIX_ID##8stdiobuf