diff options
author | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-08-16 08:36:24 -0700 |
---|---|---|
committer | Carlos O'Donell <carlos_odonell@mentor.com> | 2012-08-16 08:41:05 -0700 |
commit | 30f696374d434578a159712552f3da533f02e8dd (patch) | |
tree | 548752821598648be65ca48fb1ce163ec5e3a908 /ports/sysdeps | |
parent | 93a78ac437ba44f493333d7e2a4b0249839ce460 (diff) | |
download | glibc-30f696374d434578a159712552f3da533f02e8dd.tar.gz glibc-30f696374d434578a159712552f3da533f02e8dd.tar.xz glibc-30f696374d434578a159712552f3da533f02e8dd.zip |
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.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/alpha/ldsodefs.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/ia64/ldsodefs.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/mips/ldsodefs.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ports/sysdeps/alpha/ldsodefs.h b/ports/sysdeps/alpha/ldsodefs.h index 478bf237db..464e84ea39 100644 --- a/ports/sysdeps/alpha/ldsodefs.h +++ b/ports/sysdeps/alpha/ldsodefs.h @@ -26,7 +26,7 @@ struct La_alpha_retval; #define ARCH_PLTENTER_MEMBERS \ Elf64_Addr (*alpha_gnu_pltenter) (Elf64_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_alpha_regs *, \ + struct La_alpha_regs *, \ unsigned int *, const char *name, \ long int *framesizep); diff --git a/ports/sysdeps/ia64/ldsodefs.h b/ports/sysdeps/ia64/ldsodefs.h index 269319e841..d5fde93836 100644 --- a/ports/sysdeps/ia64/ldsodefs.h +++ b/ports/sysdeps/ia64/ldsodefs.h @@ -26,7 +26,7 @@ struct La_ia64_retval; #define ARCH_PLTENTER_MEMBERS \ Elf64_Addr (*ia64_gnu_pltenter) (Elf64_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_ia64_regs *, \ + struct La_ia64_regs *, \ unsigned int *, const char *name, \ long int *framesizep); diff --git a/ports/sysdeps/mips/ldsodefs.h b/ports/sysdeps/mips/ldsodefs.h index ab4e9ef1ec..791e61896e 100644 --- a/ports/sysdeps/mips/ldsodefs.h +++ b/ports/sysdeps/mips/ldsodefs.h @@ -29,17 +29,17 @@ struct La_mips_64_retval; #define ARCH_PLTENTER_MEMBERS \ Elf32_Addr (*mips_o32_gnu_pltenter) (Elf32_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_mips_32_regs *, \ + struct La_mips_32_regs *, \ unsigned int *, const char *name, \ long int *framesizep); \ Elf32_Addr (*mips_n32_gnu_pltenter) (Elf32_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_mips_64_regs *, \ + struct La_mips_64_regs *, \ unsigned int *, const char *name, \ long int *framesizep); \ Elf64_Addr (*mips_n64_gnu_pltenter) (Elf64_Sym *, unsigned int, \ uintptr_t *, uintptr_t *, \ - const struct La_mips_64_regs *, \ + struct La_mips_64_regs *, \ unsigned int *, const char *name, \ long int *framesizep); |