diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-libc.c | 2 | ||||
-rw-r--r-- | elf/dl-runtime.c | 1 | ||||
-rw-r--r-- | elf/do-lookup.h | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/elf/dl-libc.c b/elf/dl-libc.c index 784af27c3d..39ccf82ed1 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 a55fbf6e4b..8e8728c8ff 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 3c5e6f4e9b..03eb2c66c7 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 |