[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso/sparc

vapier at uclibc.org vapier at uclibc.org
Wed Mar 16 23:20:17 UTC 2005


Author: vapier
Date: 2005-03-16 16:20:17 -0700 (Wed, 16 Mar 2005)
New Revision: 10032

Log:
add hack like m68k so it *builds* again ... probably needs to be cleaned up like m68k though ...

Modified:
   trunk/uClibc/ldso/ldso/sparc/elfinterp.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/sparc/elfinterp.c
===================================================================
--- trunk/uClibc/ldso/ldso/sparc/elfinterp.c	2005-03-16 23:19:36 UTC (rev 10031)
+++ trunk/uClibc/ldso/ldso/sparc/elfinterp.c	2005-03-16 23:20:17 UTC (rev 10032)
@@ -50,7 +50,7 @@
    a more than adequate job of explaining everything required to get this
    working. */
 
-extern _dl_linux_resolve(void);
+extern int _dl_linux_resolve(void);
 
 unsigned int _dl_linux_resolver(unsigned int reloc_entry, unsigned int * plt)
 {
@@ -146,7 +146,7 @@
   return (unsigned int) new_addr;
 }
 
-void _dl_parse_lazy_relocation_information(struct dyn_elf *rpnt,
+void _dl_parse_lazy_relocation_information(struct dyn_elf *arg_rpnt,
 	unsigned long rel_addr, unsigned long rel_size)
 {
   int i;
@@ -156,7 +156,7 @@
   Elf32_Sym * symtab;
   Elf32_Rela * rpnt;
   unsigned int * reloc_addr;
-  struct elf_resolve * tpnt = rpnt->dyn;
+  struct elf_resolve * tpnt = arg_rpnt->dyn;
 
   /* Now parse the relocation information */
   rpnt = (Elf32_Rela *) (rel_addr + tpnt->loadaddr);
@@ -186,7 +186,7 @@
   };
 }
 
-int _dl_parse_relocation_information(struct dyn_elf *rpnt,
+int _dl_parse_relocation_information(struct dyn_elf *arg_rpnt,
 	unsigned long rel_addr, unsigned long rel_size)
 {
   int i;
@@ -198,7 +198,7 @@
   unsigned int * reloc_addr;
   unsigned int symbol_addr;
   int symtab_index;
-  struct elf_resolve * tpnt = rpnt->dyn;
+  struct elf_resolve * tpnt = arg_rpnt->dyn;
   /* Now parse the relocation information */
 
   rpnt = (Elf32_Rela *) (rel_addr + tpnt->loadaddr);




More information about the uClibc-cvs mailing list