This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] tile: add proper const qualifier for pltexit function pointer field
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: <libc-ports at sourceware dot org>
- Date: Tue, 15 May 2012 18:32:23 +0000
- Subject: [PATCH] tile: add proper const qualifier for pltexit function pointer field
---
I'll commit this one as obviously correct.
ChangeLog.tile | 5 +++++
sysdeps/tile/ldsodefs.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 3a0a82d..0541a50 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -0,0 +1,5 @@
+2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/tile/ldsodefs.h (ARCH_PLTEXIT_MEMBERS): Add proper
+ const qualifier to "inregs" argument.
+
diff --git a/sysdeps/tile/ldsodefs.h b/sysdeps/tile/ldsodefs.h
index bbe0409..393252d 100644
--- a/sysdeps/tile/ldsodefs.h
+++ b/sysdeps/tile/ldsodefs.h
@@ -32,7 +32,7 @@ struct La_tile_retval;
#define ARCH_PLTEXIT_MEMBERS \
ElfW(Addr) (*tile_gnu_pltexit) (ElfW(Sym) *, unsigned int, uintptr_t *, \
- uintptr_t *, struct La_tile_regs *, \
+ uintptr_t *, const struct La_tile_regs *, \
struct La_tile_retval *, const char *)
#include_next <ldsodefs.h>
--
1.6.5.2