svn commit: trunk/uClibc/ldso/ldso/mips
vapier at uclibc.org
vapier at uclibc.org
Sun Jan 29 16:45:43 UTC 2006
Author: vapier
Date: 2006-01-29 08:45:42 -0800 (Sun, 29 Jan 2006)
New Revision: 13687
Log:
rename local i var to idx to get rid of shadow warning
Modified:
trunk/uClibc/ldso/ldso/mips/dl-sysdep.h
Changeset:
Modified: trunk/uClibc/ldso/ldso/mips/dl-sysdep.h
===================================================================
--- trunk/uClibc/ldso/ldso/mips/dl-sysdep.h 2006-01-29 16:44:25 UTC (rev 13686)
+++ trunk/uClibc/ldso/ldso/mips/dl-sysdep.h 2006-01-29 16:45:42 UTC (rev 13687)
@@ -30,7 +30,7 @@
/* Initialization sequence for the application/library GOT. */
#define INIT_GOT(GOT_BASE,MODULE) \
do { \
- unsigned long i; \
+ unsigned long idx; \
\
/* Check if this is the dynamic linker itself */ \
if (MODULE->libtype == program_interpreter) \
@@ -41,9 +41,9 @@
GOT_BASE[1] = (unsigned long) MODULE; \
\
/* Add load address displacement to all local GOT entries */ \
- i = 2; \
- while (i < MODULE->dynamic_info[DT_MIPS_LOCAL_GOTNO_IDX]) \
- GOT_BASE[i++] += (unsigned long) MODULE->loadaddr; \
+ idx = 2; \
+ while (idx < MODULE->dynamic_info[DT_MIPS_LOCAL_GOTNO_IDX]) \
+ GOT_BASE[idx++] += (unsigned long) MODULE->loadaddr; \
\
} while (0)
More information about the uClibc-cvs
mailing list