summaryrefslogtreecommitdiff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-03-31 22:03:24 +0000
committerUlrich Drepper <drepper@redhat.com>2009-03-31 22:03:24 +0000
commit20739e5454c12acbc0479387fe795c5b19a4166f (patch)
treec919e6b6991686f97bac69910049a3e6325287ed /elf/dl-misc.c
parentcb14424eb93499ba6e6dc8dba45ef6a58ce0a174 (diff)
downloadglibc-20739e5454c12acbc0479387fe795c5b19a4166f.tar.gz
* elf/dl-load.c: Remove support for systems without MAP_ANON.
* elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 6da1e2e4aa..7c77cd040f 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -1,5 +1,5 @@
/* Miscellaneous support functions for dynamic linker
- Copyright (C) 1997-2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997-2004, 2006, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -34,17 +34,6 @@
#include <stdio-common/_itoa.h>
#include <bits/libc-lock.h>
-#ifndef MAP_ANON
-/* This is the only dl-sysdep.c function that is actually needed at run-time
- by _dl_map_object. */
-
-int
-_dl_sysdep_open_zero_fill (void)
-{
- return __open ("/dev/zero", O_RDONLY);
-}
-#endif
-
/* Read the whole contents of FILE into new mmap'd space with given
protections. *SIZEP gets the size of the file. On error MAP_FAILED
is returned. */