Displaying 2 results from an estimated 2 matches for "d8009aa".
2012 Jul 05
1
[GIT-PULL] Elflink fixes
...e debug by default
com32/lib/sys/module/elf_module.c | 4 +---
com32/lib/vdprintf.c | 5 ++---
core/Makefile | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/com32/lib/sys/module/elf_module.c b/com32/lib/sys/module/elf_module.c
index d8009aa..dbb5afe 100644
--- a/com32/lib/sys/module/elf_module.c
+++ b/com32/lib/sys/module/elf_module.c
@@ -509,15 +509,13 @@ int module_load(struct elf_module *module) {
* reverse order.
*/
for (i = module->nr_needed - 1; i >= 0; i--) {
- size_t len, j;
char *dep, *p;
char *argv...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...wd(path, sizeof(path))) {
- DBG_PRINT("Could not get cwd\n");
- return NULL;
- }
-
- i = strlen(path);
- }
-
n = name;
while (*n && i < FILENAME_MAX)
path[i++] = *n++;
diff --git a/com32/lib/sys/module/elf_module.c b/com32/lib/sys/module/elf_module.c
index 3e37384..d8009aa 100644
--- a/com32/lib/sys/module/elf_module.c
+++ b/com32/lib/sys/module/elf_module.c
@@ -19,8 +19,6 @@
#include "elfutils.h"
#include "common.h"
-#define MAX_NR_DEPS 64
-
static int check_header(Elf32_Ehdr *elf_hdr) {
int res;
@@ -181,9 +179,6 @@ out:
return res;
}...