This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, roland/arm-dl_start-warning, created. glibc-2.16-ports-merge-146-g9b5281b
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Aug 2012 18:04:52 -0000
- Subject: GNU C Library master sources branch, roland/arm-dl_start-warning, created. glibc-2.16-ports-merge-146-g9b5281b
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, roland/arm-dl_start-warning has been created
at 9b5281b65e2ce654610c0809aa829b4b18213b27 (commit)
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9b5281b65e2ce654610c0809aa829b4b18213b27
commit 9b5281b65e2ce654610c0809aa829b4b18213b27
Author: Roland McGrath <roland@hack.frob.com>
Date: Wed Aug 8 11:03:47 2012 -0700
Fix __dl_start declaration to avoid warning.
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 842bbea..2f1aa61 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -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):
diff --git a/ports/sysdeps/arm/dl-machine.h b/ports/sysdeps/arm/dl-machine.h
index 442fc3d..fe39a5e 100644
--- a/ports/sysdeps/arm/dl-machine.h
+++ b/ports/sysdeps/arm/dl-machine.h
@@ -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__
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources