From a6d30cac92c9ee3194aa9c257377e4f641b3a095 Mon Sep 17 00:00:00 2001
From: emarsden <emarsden>
Date: Sun, 2 Mar 2003 16:13:38 +0000
Subject: [PATCH] Following the Large File Support changes, add names of 64-bit
 variants of library calls to the list of symbols that need special handling
 when linking.

---
 lisp/linux-stubs.S | 18 +++++++++++++++++-
 lisp/undefineds.h  | 12 +++++++++++-
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/lisp/linux-stubs.S b/lisp/linux-stubs.S
index e3833fbbc..5221446b3 100644
--- a/lisp/linux-stubs.S
+++ b/lisp/linux-stubs.S
@@ -1,6 +1,6 @@
 /*	linux-stubs.S
 
-	$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.13 2003/03/02 15:48:32 emarsden Exp $
+	$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.14 2003/03/02 16:13:38 emarsden Exp $
 
 	These are needed because the locations of the
 	libraries are filled in by ld.so at runtime.
@@ -160,6 +160,22 @@ PVE_stub_ ## fct: ;\
  doe(tan)
 #endif
 
+
+ doe(getpwnam_r)
+ doe(getpwuid_r)
+ doe(getgrnam_r)
+ doe(getgrgid_r)
+ doe(open64)
+ doe(creat64)
+ doe(lseek64)
+ doe(truncate64)
+ doe(ftruncate64)
+ doe(stat64)
+ doe(fstat64)
+ doe(lstat64)
+ doe(readdir64)
+ doe(statfs64)
+
 /*  doe(abort) */
 /*  doe(abs) */
 /*  doe(accept) */
diff --git a/lisp/undefineds.h b/lisp/undefineds.h
index 048faeadc..02b5dd721 100644
--- a/lisp/undefineds.h
+++ b/lisp/undefineds.h
@@ -1,5 +1,5 @@
 /* Routines that must be linked into the core for lisp to work. */
-/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.30 2003/02/18 18:37:26 emarsden Exp $ */
+/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.31 2003/03/02 16:13:38 emarsden Exp $ */
 
 /* Pick up all the syscalls. */
 F(accept)
@@ -266,6 +266,16 @@ F(sched_yield)
 F(setpgid)
 D(tzname)
 D(errno)
+F(open64)
+F(creat64)
+F(lseek64)
+F(truncate64)
+F(ftruncate64)
+F(stat64)
+F(fstat64)
+F(lstat64)
+F(readdir64)
+F(statfs64)
 #endif
 
 #if defined(sparc) || defined(linux)
-- 
GitLab