]> sourceware.org Git - glibc.git/commitdiff
Fix __dl_start declaration to avoid warning.
authorRoland McGrath <roland@hack.frob.com>
Wed, 8 Aug 2012 18:03:47 +0000 (11:03 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 8 Aug 2012 18:03:47 +0000 (11:03 -0700)
ports/ChangeLog.arm
ports/sysdeps/arm/dl-machine.h

index 842bbea5b2050d119a0e41b20443d4fab52a618a..2f1aa6174cf113369dc92322b895a4c6f326092c 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-08  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use proper type
+       for __dl_start declaration.
+
 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/arm/configure.in (arch_minimum_kernel):
index 442fc3ddcd14ee09a3a0b32eba879463c3d3cad5..fe39a5e6823310abe14d995ea23f8cab2914ee50 100644 (file)
@@ -70,7 +70,7 @@ elf_machine_dynamic (void)
 static inline Elf32_Addr __attribute__ ((unused))
 elf_machine_load_address (void)
 {
-  extern void __dl_start asm ("_dl_start");
+  extern Elf32_Addr internal_function __dl_start (void *) asm ("_dl_start");
   Elf32_Addr got_addr = (Elf32_Addr) &__dl_start;
   Elf32_Addr pcrel_addr;
 #ifdef __thumb__
This page took 0.042499 seconds and 5 git commands to generate.