aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-libc.c2
-rw-r--r--elf/dl-runtime.c1
-rw-r--r--elf/do-lookup.h4
3 files changed, 4 insertions, 3 deletions
diff --git a/elf/dl-libc.c b/elf/dl-libc.c
index 784af27..39ccf82 100644
--- a/elf/dl-libc.c
+++ b/elf/dl-libc.c
@@ -89,7 +89,7 @@ do_dlsym (void *ptr)
static void
do_dlclose (void *ptr)
{
- _dl_close ((struct link_map *) ptr);
+ _dl_close ((struct link_map *) ptr);
}
/* ... and these functions call dlerror_run. */
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index a55fbf6..8e8728c 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <alloca.h>
#include <unistd.h>
#include <elf/ldsodefs.h>
#include "dynamic-link.h"
diff --git a/elf/do-lookup.h b/elf/do-lookup.h
index 3c5e6f4..03eb2c6 100644
--- a/elf/do-lookup.h
+++ b/elf/do-lookup.h
@@ -149,9 +149,9 @@ FCT (const char *undef_name, struct link_map *undef_map,
default version we still accept this symbol since there are
no possible ambiguities. */
#if VERSIONED
- sym = NULL;
+ sym = NULL;
#else
- sym = num_versions == 1 ? versioned_sym : NULL;
+ sym = num_versions == 1 ? versioned_sym : NULL;
#endif
if (sym != NULL