2012-09-28 Roland McGrath <roland@hack.frob.com>
+ * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
+
* Makeconfig (nssobjdir, resolvobjdir): Remove variables.
(elfobjdir): Move out of conditionals.
/* Operating system support for run-time dynamic linker. Generic Unix version.
- Copyright (C) 1995-1998,2000-2010,2012
- Free Software Foundation, Inc.
+ Copyright (C) 1995-2012 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
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+/* We conditionalize the whole of this file rather than simply eliding it
+ from the static build, because other sysdeps/ versions of this file
+ might define things needed by a static build. */
+
+#ifdef SHARED
+
#include <assert.h>
#include <elf.h>
#include <errno.h>
return result;
}
+
+#endif