about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-08 14:57:07 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-08 14:57:07 -0700
commit44c94c1da0d243a20539ae326567eb6dc4e1f540 (patch)
tree903bd06b679a0c7c7f45a17eedfa18da48487c2d
parent92142c0cfd69f7171695ca68f88fe8407aa8b7e5 (diff)
downloadglibc-44c94c1da0d243a20539ae326567eb6dc4e1f540.tar.gz
glibc-44c94c1da0d243a20539ae326567eb6dc4e1f540.tar.xz
glibc-44c94c1da0d243a20539ae326567eb6dc4e1f540.zip
Add a const in arm_gnu_pltexit signature.
-rw-r--r--ports/ChangeLog.arm3
-rw-r--r--ports/sysdeps/arm/ldsodefs.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 32e24bafd7..9ad541987a 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,8 @@
 2012-08-08  Roland McGrath  <roland@hack.frob.com>
 
+	* sysdeps/arm/ldsodefs.h (ARCH_PLTEXIT_MEMBERS): Use const on
+	`struct La_arm_regs *' parameter.
+
 	* sysdeps/unix/sysv/linux/arm/dl-machine.h: Move #include outside of
 	[!dl_machine_h].
 
diff --git a/ports/sysdeps/arm/ldsodefs.h b/ports/sysdeps/arm/ldsodefs.h
index aa323d3ecd..73375b60d4 100644
--- a/ports/sysdeps/arm/ldsodefs.h
+++ b/ports/sysdeps/arm/ldsodefs.h
@@ -1,5 +1,5 @@
 /* Run-time dynamic linker data structures for loaded ELF shared objects.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@ struct La_arm_retval;
 
 #define ARCH_PLTEXIT_MEMBERS \
     Elf32_Addr (*arm_gnu_pltexit) (Elf32_Sym *, unsigned int, uintptr_t *,   \
-				   uintptr_t *, struct La_arm_regs *,	     \
+				   uintptr_t *, const struct La_arm_regs *,  \
 				   struct La_arm_retval *, const char *)
 
 #include_next <ldsodefs.h>