Fix __dl_start declaration to avoid warning.

This commit is contained in:
Roland McGrath 2012-08-08 11:03:47 -07:00
parent a2433aac7e
commit 9b5281b65e
2 changed files with 6 additions and 1 deletions

View 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):

View 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__