From 30f696374d434578a159712552f3da533f02e8dd Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 16 Aug 2012 08:36:24 -0700 Subject: Fifth argument of la_pltenter() is not constant. The original runtime linker auditing interface described by Solaris allows the 5th argument of la_pltenter() to be modified. This patch cleans up the ldsodefs.h definitions such that the 5th argument is not constant. At one point the 5th argument *was* constant but this was changed with commit 2413fdba7a02ba8916f75d17199a6e9133a8f7b0. This patch updates alpha, ia64, mips, sh and sparc with similar changes. --- sysdeps/sh/ldsodefs.h | 2 +- sysdeps/sparc/ldsodefs.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/sh/ldsodefs.h b/sysdeps/sh/ldsodefs.h index 66d1e2fbb6..74c0f417b4 100644 --- a/sysdeps/sh/ldsodefs.h +++ b/sysdeps/sh/ldsodefs.h @@ -26,7 +26,7 @@ struct La_sh_retval; #define ARCH_PLTENTER_MEMBERS \ uintptr_t (*sh_gnu_pltenter) (Elf32_Sym *, unsigned int, uintptr_t *, \ - uintptr_t *, const struct La_sh_regs *, \ + uintptr_t *, struct La_sh_regs *, \ unsigned int *, const char *name, \ long int *framesizep) diff --git a/sysdeps/sparc/ldsodefs.h b/sysdeps/sparc/ldsodefs.h index 2cfdc49f7b..dc68860826 100644 --- a/sysdeps/sparc/ldsodefs.h +++ b/sysdeps/sparc/ldsodefs.h @@ -29,12 +29,12 @@ struct La_sparc64_retval; #define ARCH_PLTENTER_MEMBERS \ Elf32_Addr (*sparc32_gnu_pltenter) (Elf32_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_sparc32_regs *, \ + struct La_sparc32_regs *, \ unsigned int *, const char *name, \ long int *framesizep); \ Elf64_Addr (*sparc64_gnu_pltenter) (Elf64_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_sparc64_regs *, \ + struct La_sparc64_regs *, \ unsigned int *, const char *name, \ long int *framesizep) -- cgit 1.4.1