aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dl-sysdep.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-02 21:14:03 +0000
committerRoland McGrath <roland@gnu.org>2002-05-02 21:14:03 +0000
commit519756318ce73e0a01e3031499b4483b3f618f2e (patch)
treef9410f46b39a6aa1e73c0170e83a5a479a69e5b9 /sysdeps/mach/hurd/dl-sysdep.c
parent0ca85e56d4c3b00f9c203dd017eea9e64ee08b01 (diff)
downloadglibc-519756318ce73e0a01e3031499b4483b3f618f2e.tar
glibc-519756318ce73e0a01e3031499b4483b3f618f2e.tar.gz
glibc-519756318ce73e0a01e3031499b4483b3f618f2e.tar.bz2
glibc-519756318ce73e0a01e3031499b4483b3f618f2e.zip
* sysdeps/mach/hurd/close.c: #undef __close before function defn,
and use INTDEF on it. * sysdeps/mach/hurd/fcntl.c: Use INTDEF2. * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable. * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished).
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 11493a7454..88e3c8b84a 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -57,6 +57,10 @@ void *__libc_stack_end;
struct hurd_startup_data *_dl_hurd_data;
+/* This is used only within ld.so, via dl-minimal.c's __errno_location. */
+#undef errno
+int errno attribute_hidden;
+
/* Defining these variables here avoids the inclusion of hurdsig.c. */
unsigned long int __hurd_sigthread_stack_base;
unsigned long int __hurd_sigthread_stack_end;