summaryrefslogtreecommitdiffstats
path: root/ldso
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:17 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:34:49 -0700
commit43eee9323fbc1327f2eadb2f547ff7c134f74fed (patch)
tree1f9679fc0adf9724188073dcb583ad8c302c0c03 /ldso
parent9d43e61a4ead177134bb32a8926e572712720506 (diff)
downloaduClibc-alpine-43eee9323fbc1327f2eadb2f547ff7c134f74fed.tar.bz2
uClibc-alpine-43eee9323fbc1327f2eadb2f547ff7c134f74fed.tar.xz
Move extern prototype out of function scope
gcc-4.4 now barks about this, so appease it. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arm/dl-sysdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/ldso/arm/dl-sysdep.h b/ldso/ldso/arm/dl-sysdep.h
index 59a7142c2..5a2912ab5 100644
--- a/ldso/ldso/arm/dl-sysdep.h
+++ b/ldso/ldso/arm/dl-sysdep.h
@@ -110,11 +110,12 @@ elf_machine_dynamic (void)
return dynamic;
}
+extern void __dl_start __asm__ ("_dl_start");
+
/* Return the run-time load address of the shared object. */
static __always_inline Elf32_Addr __attribute__ ((unused))
elf_machine_load_address (void)
{
- extern void __dl_start __asm__ ("_dl_start");
Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
Elf32_Addr pcrel_addr;
#if defined __OPTIMIZE__ && !defined __thumb__