summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-16 09:31:23 +0000
committerRoland McGrath <roland@gnu.org>1996-06-16 09:31:23 +0000
commit26da047f376abd5da2561be914b93179c7230afa (patch)
treec2f1ae03ba5e26ee38a222f6a27ee027ac13a264 /hurd
parent3433189e8a3934084db3945f1e9c0c8fa3f8f166 (diff)
* hurd/hurdinit.c (map0): Remove [!PIC] conditional.cvs/libc-960616
* shlib-versions (*-*-*): Add libutil=1. * rpm/Makefile (install-lib): Add libc.a et al. (install-others): Only add libc.so if $(build-shared) is yes. * math/Makefile (install-lib): New variable, list libieee.a. (non-lib.a): Likewise. (extra-objs): Likewise, and ieee-math.o. ($(objpfx)libieee.a): New target, link to ieee-math.o. * math/ieee-math.c: New file. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw and libieee.a stuff. * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdinit.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c
index eccbd8ed3d..7d946b8bff 100644
--- a/hurd/hurdinit.c
+++ b/hurd/hurdinit.c
@@ -202,15 +202,13 @@ _hurd_setproc (process_t procserver)
return 0;
}
-#ifndef PIC
-
/* Map the page at address zero with no access allowed, so
dereferencing NULL will fault and no "anywhere" allocations
(e.g. the out of line memory containing the argument strings)
can be assigned address zero, which C says is not a valid pointer.
- When dynamically linked, this will be done by the dynamic linker
- before we run. */
+ When dynamically linked, this should be done by the dynamic linker
+ before we run, but failing is harmless and we ignore the error. */
static void map0 (void) __attribute__ ((unused));
text_set_element (_hurd_preinit_hook, map0);
@@ -223,5 +221,3 @@ map0 (void)
&addr, __vm_page_size, 0, 0, MACH_PORT_NULL, 0, 1,
VM_PROT_NONE, VM_PROT_NONE, VM_INHERIT_COPY);
}
-
-#endif