diff options
| author | Mark Mitchell <mark@codesourcery.com> | 2000-06-04 21:16:04 +0000 |
|---|---|---|
| committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-06-04 21:16:04 +0000 |
| commit | f5579898360cab241826dcdc2b22d0ce9d354f06 (patch) | |
| tree | d0a838ab4ac7afcba16af04b63f3841da7ca8c30 /libio/stdstrbufs.cc | |
| parent | 1f6e1acc0f2017e81282604bda62db1b2b865075 (diff) | |
| download | gcc-f5579898360cab241826dcdc2b22d0ce9d354f06.zip gcc-f5579898360cab241826dcdc2b22d0ce9d354f06.tar.gz gcc-f5579898360cab241826dcdc2b22d0ce9d354f06.tar.bz2 | |
libioP.h: Handle new ABI mangling.
* libioP.h: Handle new ABI mangling.
* stdstrbufs.cc: Likewise.
From-SVN: r34395
Diffstat (limited to 'libio/stdstrbufs.cc')
| -rw-r--r-- | libio/stdstrbufs.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libio/stdstrbufs.cc b/libio/stdstrbufs.cc index 48aa719..ee10cdc 100644 --- a/libio/stdstrbufs.cc +++ b/libio/stdstrbufs.cc @@ -35,11 +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[] +#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 @@ -87,11 +91,15 @@ 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) */ #else /* !__GNUC__ */ #if _G_VTABLE_LABEL_HAS_LENGTH #define stdiobuf_vtable _G_VTABLE_LABEL_PREFIX_ID##8stdiobuf |
