]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fifth argument of la_pltenter() is not constant.
authorCarlos O'Donell <carlos_odonell@mentor.com>
Thu, 16 Aug 2012 15:36:24 +0000 (08:36 -0700)
committerCarlos O'Donell <carlos_odonell@mentor.com>
Thu, 16 Aug 2012 15:41:05 +0000 (08:41 -0700)
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.

ChangeLog
ports/ChangeLog.alpha
ports/ChangeLog.ia64
ports/ChangeLog.mips
ports/sysdeps/alpha/ldsodefs.h
ports/sysdeps/ia64/ldsodefs.h
ports/sysdeps/mips/ldsodefs.h
sysdeps/sh/ldsodefs.h
sysdeps/sparc/ldsodefs.h

index 5a3f08fc8e33e9209e8fd426c8e1eeeb1e2ac075..8f6903c4080051b0e41d0b90570aa9dca644c0a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
+       struct La_sh_regs is not constant.
+       * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
+       <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
+       and struct La_sparc64_regs are not constant.
+
 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h
index b09cbb8727a8ac097c0847d2909172607028e395..266f42d97022e271df76247b56b05075f555634f 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * sysdeps/alpha/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
+       <alpha_gnu_pltenter>: struct La_alpha_regs is not const.
+
 2012-08-13  Richard Henderson  <rth@twiddle.net>
 
        * configure.in: Don't test toolchain support for TLS or GPREL.
index 8e1f0ff7d0879930b0a98db50a609e1049992ff6..abc246364acaacb55a0112cc6c04ff04a4cdd67e 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * sysdeps/ia64/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
+       <ia64_gnu_pltenter>: struct La_ia64_regs is not constant.
+
 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
 
        * sysdeps/ia64/configure.in: Remove assembler-with-cpp debug check.
index f8c18b32757580a9b3f9c079c183a0c2d9276e05..dfab023ee7608721f2ca53a08ce3c43d6b8407ac 100644 (file)
@@ -1,3 +1,9 @@
+2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
+       <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
+       struct La_mips_32_regs and struct La_mips_64_regs are not constant.
+
 2012-08-15  Tom de Vries  <vries@codesourcery.com>
            Maxim Kuvyrkov  <maxim@codesourcery.com>
 
index 478bf237db039f521d0d8176af9b1f60e9559f73..464e84ea391dcfc30980d70777360157b6e7a3df 100644 (file)
@@ -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);
 
index 269319e841820f36e0ee10f2e516cdb3333818a4..d5fde9383634f2f1ba16c40b3e64a6f1d36e4609 100644 (file)
@@ -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);
 
index ab4e9ef1ec26b2c09e1be9f752beec1439a027d6..791e61896ee1fccf65506d67f6c2aec5753952a5 100644 (file)
@@ -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);
 
index 66d1e2fbb6e79d70b1c9bff6a177b062753985a3..74c0f417b4052071d3953887bcdd067733a69b08 100644 (file)
@@ -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)
 
index 2cfdc49f7bb6dff946a6ca33376c2467a0be5b1b..dc688608266a3ce0254cb3a29c009ccbfbffcd54 100644 (file)
@@ -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)