+2012-09-10 Joseph Myers <joseph@codesourcery.com>
+
+ * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
+ [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
+ * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
+ * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
+ (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
+ (_G_VTABLE_LABEL_PREFIX): Likewise.
+ (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
+
2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
* libio/Makefile: Include ../Makeconfig before tests.
# endif
#endif
-/* VTABLE_LABEL defines NAME as of the CLASS class.
- CNLENGTH is strlen(#CLASS). */
-#ifdef __GNUC__
-# 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
-#endif /* __GNUC__ */
-
-#if !defined(builtinbuf_vtable) && defined(__cplusplus)
-# ifdef __GNUC__
-VTABLE_LABEL(builtinbuf_vtable, builtinbuf, 10)
-# else
-# if _G_VTABLE_LABEL_HAS_LENGTH
-# define builtinbuf_vtable _G_VTABLE_LABEL_PREFIX_ID##10builtinbuf
-# else
-# define builtinbuf_vtable _G_VTABLE_LABEL_PREFIX_ID##builtinbuf
-# endif
-# endif
-#endif /* !defined(builtinbuf_vtable) && defined(__cplusplus) */
-
#define _IO_va_start(args, last) va_start(args, last)
extern struct _IO_fake_stdiobuf _IO_stdin_buf, _IO_stdout_buf, _IO_stderr_buf;
#define _G_BUFSIZ 8192
-/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_PREFIX "_vt."
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
-
#endif /* _G_config.h */
#define _G_BUFSIZ 8192
/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
#define _G_USING_THUNKS 1
-#define _G_VTABLE_LABEL_PREFIX "__vt_"
-#define _G_VTABLE_LABEL_PREFIX_ID __vt_
#endif /* _G_config.h */
#define _G_BUFSIZ 8192
/* These are the vtbl details for ELF. */
-#define _G_NAMES_HAVE_UNDERSCORE 0
-#define _G_VTABLE_LABEL_HAS_LENGTH 1
#define _G_USING_THUNKS 1
-#define _G_VTABLE_LABEL_PREFIX "__vt_"
-#define _G_VTABLE_LABEL_PREFIX_ID __vt_
#endif /* _G_config.h */