diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-16 05:28:18 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-16 05:28:18 +0000 |
commit | 0ee5c8523124d886197f8de7c78cf59d01c520b6 (patch) | |
tree | ee4f04c7880924aff4b1eb67bb94e1c0d82fbd7c /libexec/ld.so | |
parent | 70401f5aebbaec12f24cb602e8825c49f82312db (diff) |
Now that powerpc is using UVM, this shared library hack is no longer necessary.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/library.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c index a9fa1c8c901..3126d5d966a 100644 --- a/libexec/ld.so/library.c +++ b/libexec/ld.so/library.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library.c,v 1.2 2000/10/06 17:40:17 rahnds Exp $ */ +/* $OpenBSD: library.c,v 1.3 2001/02/16 05:28:17 drahn Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -240,7 +240,7 @@ _dl_tryload_shlib(const char *libname, int type) /* * We map the entire area to see that we can get the VM - * space requiered. Map it unaccessible to start with. + * space required. Map it unaccessible to start with. */ libaddr = (Elf32_Addr)_dl_mmap(0, maxva - minva, PROT_NONE, MAP_COPY|MAP_ANON, -1, 0); @@ -262,9 +262,6 @@ _dl_tryload_shlib(const char *libname, int type) res = _dl_mmap(start, size, PFLAGS(phdp->p_flags), MAP_FIXED|MAP_COPY, libfile, phdp->p_offset & ~align); -#ifdef __powerpc__ - _dl_syncicache(start, size); -#endif if(_dl_check_error(res)) { _dl_printf("%s: rtld mmap failed mapping %s.\n", _dl_progname, libname); |