tile: add proper const qualifier for pltexit function pointer field
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 16 May 2012 13:32:04 +0000 (09:32 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 16 May 2012 13:32:04 +0000 (09:32 -0400)
ChangeLog.tile
sysdeps/tile/ldsodefs.h

index 2a53817..183118a 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
+
+       * sysdeps/tile/ldsodefs.h (ARCH_PLTEXIT_MEMBERS): Add proper
+        const qualifier to "inregs" argument.
+
 2012-05-16  Chris Metcalf  <cmetcalf@tilera.com>
 
        * sysdeps/tile/elf/stackguard-macros.h: Delete unused file.
index bbe0409..393252d 100644 (file)
@@ -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>