OSDN Git Service

Fix up all non-x86 arches to cope with the latest ldso update
authorEric Andersen <andersen@codepoet.org>
Fri, 25 Jan 2002 01:00:44 +0000 (01:00 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 25 Jan 2002 01:00:44 +0000 (01:00 -0000)
 -Erik

ldso/ldso/arm/elfinterp.c
ldso/ldso/m68k/elfinterp.c
ldso/ldso/powerpc/elfinterp.c
ldso/ldso/sparc/elfinterp.c

index d1616c5..77ece78 100644 (file)
@@ -47,14 +47,6 @@ static char *_dl_reltypes[] =
    a more than adequate job of explaining everything required to get this
    working. */
 
-#include <sys/types.h>
-#include <errno.h>
-#include "linuxelf.h"
-#include "ld_hash.h"
-#include "ld_syscall.h"
-#include "ld_string.h"
-
-extern char *_dl_progname;
 
 extern int _dl_linux_resolve(void);
 
index f5554f6..50f58d1 100644 (file)
@@ -48,16 +48,9 @@ static char *_dl_reltypes[] =
    a more than adequate job of explaining everything required to get this
    working. */
 
-#include "linuxelf.h"
-#include "ld_hash.h"
-#include "ld_syscall.h"
-#include "ld_string.h"
 
-extern char *_dl_progname;
-
-unsigned int 
-_dl_linux_resolver (int dummy1, int dummy2,
-                   struct elf_resolve *tpnt, int reloc_entry)
+unsigned int _dl_linux_resolver (int dummy1, int dummy2, 
+       struct elf_resolve *tpnt, int reloc_entry)
 {
   int reloc_type;
   Elf32_Rela *this_reloc;
index 4da5d9d..33be8c5 100644 (file)
@@ -48,11 +48,6 @@ static char *_dl_reltypes[] =
    a more than adequate job of explaining everything required to get this
    working. */
 
-#include "linuxelf.h"
-#include "ld_hash.h"
-#include "ld_syscall.h"
-#include "ld_string.h"
-#include <errno.h>
 
 #ifdef DEBUG
 static void debug_sym(Elf32_Sym *symtab,char *strtab,int symtab_index);
@@ -64,8 +59,6 @@ static void debug_reloc(ELF_RELOC *rpnt);
 #define DPRINTF(fmt,args...)
 #endif
 
-extern char *_dl_progname;
-
 extern int _dl_linux_resolve(void);
 
 void _dl_init_got(unsigned long *plt,struct elf_resolve *tpnt)
index cd34bab..84f20f4 100644 (file)
@@ -41,13 +41,6 @@ an ELF sharable library or a linux style of shared library. */
    a more than adequate job of explaining everything required to get this
    working. */
 
-#include "linuxelf.h"
-#include "ld_hash.h"
-#include "ld_syscall.h"
-#include "ld_string.h"
-
-extern char *_dl_progname;
-
 extern _dl_linux_resolve(void);
 
 unsigned int _dl_linux_resolver(unsigned int reloc_entry, unsigned int * plt)