summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:17 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:16 -0400
commit680ef7ed1f01ab4fb77868a9dc5078273fb41bc6 (patch)
tree878a4e2878b5fcae05f0386bc5e77e24db7eb264
parent443d0c54d0465071d3f9908c67449e526ea67795 (diff)
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>
-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 5191dd7ac..75c58b0ec 100644
--- a/ldso/ldso/arm/dl-sysdep.h
+++ b/ldso/ldso/arm/dl-sysdep.h
@@ -98,11 +98,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__