From dadde3e1c875e08e16f13c0ec23e2dd07881d88e Mon Sep 17 00:00:00 2001
From: wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 27 Aug 1997 23:09:53 +0000
Subject: [PATCH] alpha linux glibc2 patch from H.J. Lu 	* config/alpha/elf.h
 (DEFAULT_VTABLE_THUNKS): New. Defined as 1 	if USE_GNULIBC_1 is not
 defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14975 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog          | 5 +++++
 gcc/config/alpha/elf.h | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 281d6fa6ce3c..510c9d97b926 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 27 16:08:43 1997  Jim Wilson  <wilson@cygnus.com>
+
+	* config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
+	if USE_GNULIBC_1 is not defined.
+
 Wed Aug 27 15:49:12 1997  Richard Henderson  <rth@cygnus.com>
 
 	* alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index 63c9f1ba8643..f433a686504f 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -57,6 +57,11 @@ Currently only Linux uses this. */
     %{static:-static}}"
 #endif
 
+#ifndef USE_GNULIBC_1
+#undef DEFAULT_VTABLE_THUNKS
+#define DEFAULT_VTABLE_THUNKS 1
+#endif
+
 /* Output at beginning of assembler file.  */
 
 #undef ASM_FILE_START
-- 
GitLab