From 32e8667947c67298608e1b5bee496e3f310170fe Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Wed, 16 May 2012 09:32:04 -0400 Subject: [PATCH] tile: add proper const qualifier for pltexit function pointer field --- ChangeLog.tile | 5 +++++ sysdeps/tile/ldsodefs.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.tile b/ChangeLog.tile index 2a53817..183118a 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,3 +1,8 @@ +2012-05-15 Chris Metcalf + + * sysdeps/tile/ldsodefs.h (ARCH_PLTEXIT_MEMBERS): Add proper + const qualifier to "inregs" argument. + 2012-05-16 Chris Metcalf * sysdeps/tile/elf/stackguard-macros.h: Delete unused file. 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 -- 2.7.4