diff options
| author | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-06-10 03:02:21 +0000 |
|---|---|---|
| committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-06-10 03:02:21 +0000 |
| commit | d2103f699c01e1b506fa894e8f8c99cf52d95a58 (patch) | |
| tree | a0bcdfb150422be9163d15f232aa17dc922ff927 /libio/stdstrbufs.cc | |
| parent | 27985b669a096e686ab206be177d7e3df114e207 (diff) | |
| download | gcc-d2103f699c01e1b506fa894e8f8c99cf52d95a58.zip gcc-d2103f699c01e1b506fa894e8f8c99cf52d95a58.tar.gz gcc-d2103f699c01e1b506fa894e8f8c99cf52d95a58.tar.bz2 | |
Revert previous patch
From-SVN: r34482
Diffstat (limited to 'libio/stdstrbufs.cc')
| -rw-r--r-- | libio/stdstrbufs.cc | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/libio/stdstrbufs.cc b/libio/stdstrbufs.cc index 8b9e375..ee10cdc 100644 --- a/libio/stdstrbufs.cc +++ b/libio/stdstrbufs.cc @@ -1,5 +1,5 @@ /* -Copyright (C) 1994, 2000 Free Software Foundation +Copyright (C) 1994 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,7 +35,15 @@ the executable file might be covered by the GNU General Public License. */ #if !defined(filebuf_vtable) && defined(__cplusplus) #ifdef __GNUC__ extern char filebuf_vtable[] - asm ( "_ZTV7filebuf" ); +#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) */ #else /* !__GNUC__ */ #if _G_VTABLE_LABEL_HAS_LENGTH #define filebuf_vtable _G_VTABLE_LABEL_PREFIX_ID##7filebuf @@ -83,7 +91,15 @@ struct _IO_fake_stdiobuf { #ifndef stdiobuf_vtable #ifdef __GNUC__ extern struct _IO_jump_t stdiobuf_vtable - asm ( "_ZTV15stdiobuf_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) */ #else /* !__GNUC__ */ #if _G_VTABLE_LABEL_HAS_LENGTH #define stdiobuf_vtable _G_VTABLE_LABEL_PREFIX_ID##8stdiobuf |
