summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-01 15:10:39 -0400
committerMike Frysinger <vapier@gentoo.org>2011-10-01 15:10:39 -0400
commitc44d37d6a21ee9a62cd6b26c24999e8006e2c62c (patch)
tree7e62689516b8fd4249522248aec57ad0d7cce36c /ldso
parent82f8d0bce10403deab704871e638edc24e7933ee (diff)
ldso: constify reloc array itself
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arm/dl-debug.h2
-rw-r--r--ldso/ldso/avr32/dl-debug.h2
-rw-r--r--ldso/ldso/bfin/dl-debug.h2
-rw-r--r--ldso/ldso/c6x/dl-debug.h2
-rw-r--r--ldso/ldso/cris/dl-debug.h2
-rw-r--r--ldso/ldso/frv/dl-debug.h2
-rw-r--r--ldso/ldso/i386/dl-debug.h2
-rw-r--r--ldso/ldso/m68k/dl-debug.h2
-rw-r--r--ldso/ldso/mips/dl-debug.h2
-rw-r--r--ldso/ldso/powerpc/dl-debug.h2
-rw-r--r--ldso/ldso/sh/dl-debug.h2
-rw-r--r--ldso/ldso/sh64/dl-debug.h2
-rw-r--r--ldso/ldso/sparc/dl-debug.h2
-rw-r--r--ldso/ldso/x86_64/dl-debug.h2
-rw-r--r--ldso/ldso/xtensa/dl-debug.h2
15 files changed, 15 insertions, 15 deletions
diff --git a/ldso/ldso/arm/dl-debug.h b/ldso/ldso/arm/dl-debug.h
index 1bca6ff36..af14eca2d 100644
--- a/ldso/ldso/arm/dl-debug.h
+++ b/ldso/ldso/arm/dl-debug.h
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
[0] "R_ARM_NONE", "R_ARM_PC24", "R_ARM_ABS32", "R_ARM_REL32",
[4] "R_ARM_PC13", "R_ARM_ABS16", "R_ARM_ABS12", "R_ARM_THM_ABS5",
diff --git a/ldso/ldso/avr32/dl-debug.h b/ldso/ldso/avr32/dl-debug.h
index fe35539f6..44b0c01da 100644
--- a/ldso/ldso/avr32/dl-debug.h
+++ b/ldso/ldso/avr32/dl-debug.h
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
"R_AVR32_NONE",
"R_AVR32_32", "R_AVR32_16", "R_AVR32_8",
"R_AVR32_32_PCREL", "R_AVR32_16_PCREL", "R_AVR32_8_PCREL",
diff --git a/ldso/ldso/bfin/dl-debug.h b/ldso/ldso/bfin/dl-debug.h
index 3ba0a9832..6952b6160 100644
--- a/ldso/ldso/bfin/dl-debug.h
+++ b/ldso/ldso/bfin/dl-debug.h
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
[0] "R_BFIN_UNUSED0", "R_BFIN_PCREL5M2",
[2] "R_BFIN_UNUSED1", "R_BFIN_PCREL10",
diff --git a/ldso/ldso/c6x/dl-debug.h b/ldso/ldso/c6x/dl-debug.h
index 9c6edab0a..d4915bf21 100644
--- a/ldso/ldso/c6x/dl-debug.h
+++ b/ldso/ldso/c6x/dl-debug.h
@@ -8,7 +8,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
"R_C6000_NONE", /* 0 */
"R_C6000_ABS32",
diff --git a/ldso/ldso/cris/dl-debug.h b/ldso/ldso/cris/dl-debug.h
index f6c03d21f..dcd23edb5 100644
--- a/ldso/ldso/cris/dl-debug.h
+++ b/ldso/ldso/cris/dl-debug.h
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
[0] "R_CRIS_NONE", "R_CRIS_8", "R_CRIS_16", "R_CRIS_32",
[4] "R_CRIS_8_PCREL", "R_CRIS_16_PCREL", "R_CRIS_32_PCREL", "R_CRIS_GNU_VTINHERIT",
[8] "R_CRIS_GNU_VTENTRY", "R_CRIS_COPY", "R_CRIS_GLOB_DAT", "R_CRIS_JUMP_SLOT",
diff --git a/ldso/ldso/frv/dl-debug.h b/ldso/ldso/frv/dl-debug.h
index 9b146a62f..65c2386fb 100644
--- a/ldso/ldso/frv/dl-debug.h
+++ b/ldso/ldso/frv/dl-debug.h
@@ -10,7 +10,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
[0] "R_FRV_NONE", "R_FRV_32",
[2] "R_FRV_LABEL16", "R_FRV_LABEL24",
diff --git a/ldso/ldso/i386/dl-debug.h b/ldso/ldso/i386/dl-debug.h
index 72a01f8df..82baf1fcc 100644
--- a/ldso/ldso/i386/dl-debug.h
+++ b/ldso/ldso/i386/dl-debug.h
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
[0] "R_386_NONE", "R_386_32", "R_386_PC32", "R_386_GOT32",
[4] "R_386_PLT32", "R_386_COPY", "R_386_GLOB_DAT", "R_386_JMP_SLOT",
[8] "R_386_RELATIVE", "R_386_GOTOFF", "R_386_GOTPC",
diff --git a/ldso/ldso/m68k/dl-debug.h b/ldso/ldso/m68k/dl-debug.h
index a9a80a067..71b513a3e 100644
--- a/ldso/ldso/m68k/dl-debug.h
+++ b/ldso/ldso/m68k/dl-debug.h
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
[0] "R_68K_NONE",
[1] "R_68K_32", "R_68K_16", "R_68K_8",
[4] "R_68K_PC32", "R_68K_PC16", "R_68K_PC8",
diff --git a/ldso/ldso/mips/dl-debug.h b/ldso/ldso/mips/dl-debug.h
index 07a2addfa..33b2dc8b0 100644
--- a/ldso/ldso/mips/dl-debug.h
+++ b/ldso/ldso/mips/dl-debug.h
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
[0] "R_MIPS_NONE", "R_MIPS_16", "R_MIPS_32",
[3] "R_MIPS_REL32", "R_MIPS_26", "R_MIPS_HI16",
diff --git a/ldso/ldso/powerpc/dl-debug.h b/ldso/ldso/powerpc/dl-debug.h
index cf203d25e..720536e72 100644
--- a/ldso/ldso/powerpc/dl-debug.h
+++ b/ldso/ldso/powerpc/dl-debug.h
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{ "R_PPC_NONE", "R_PPC_ADDR32", "R_PPC_ADDR24", "R_PPC_ADDR16",
"R_PPC_ADDR16_LO", "R_PPC_ADDR16_HI", "R_PPC_ADDR16_HA",
"R_PPC_ADDR14", "R_PPC_ADDR14_BRTAKEN", "R_PPC_ADDR14_BRNTAKEN",
diff --git a/ldso/ldso/sh/dl-debug.h b/ldso/ldso/sh/dl-debug.h
index e2e74f8e4..ac442bf35 100644
--- a/ldso/ldso/sh/dl-debug.h
+++ b/ldso/ldso/sh/dl-debug.h
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
[0] "R_SH_NONE", "R_SH_DIR32", "R_SH_REL32", "R_SH_DIR8WPN",
[4] "R_SH_IND12W", "R_SH_DIR8WPL", "R_SH_DIR8WPZ", "R_SH_DIR8BP",
diff --git a/ldso/ldso/sh64/dl-debug.h b/ldso/ldso/sh64/dl-debug.h
index 485aac7fa..6d861e5b4 100644
--- a/ldso/ldso/sh64/dl-debug.h
+++ b/ldso/ldso/sh64/dl-debug.h
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
/* SHcompact relocs */
[0] = "R_SH_NONE", "R_SH_DIR32",
"R_SH_REL32", "R_SH_DIR8WPN",
diff --git a/ldso/ldso/sparc/dl-debug.h b/ldso/ldso/sparc/dl-debug.h
index 1249f7798..5c62cefad 100644
--- a/ldso/ldso/sparc/dl-debug.h
+++ b/ldso/ldso/sparc/dl-debug.h
@@ -28,7 +28,7 @@
* SUCH DAMAGE.
*/
-static const char * _dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
"R_SPARC_NONE", "R_SPARC_8",
"R_SPARC_16", "R_SPARC_32", "R_SPARC_DISP8", "R_SPARC_DISP16",
"R_SPARC_DISP32", "R_SPARC_WDISP30", "R_SPARC_WDISP22",
diff --git a/ldso/ldso/x86_64/dl-debug.h b/ldso/ldso/x86_64/dl-debug.h
index d605a0385..c47062b55 100644
--- a/ldso/ldso/x86_64/dl-debug.h
+++ b/ldso/ldso/x86_64/dl-debug.h
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
-static const char *_dl_reltypes_tab[] = {
+static const char * const _dl_reltypes_tab[] = {
[ 0] "R_X86_64_NONE", "R_X86_64_64", "R_X86_64_PC32", "R_X86_64_GOT32",
[ 4] "R_X86_64_PLT32", "R_X86_64_COPY", "R_X86_64_GLOB_DAT", "R_X86_64_JUMP_SLOT",
[ 8] "R_X86_64_RELATIVE", "R_X86_64_GOTPCREL", "R_X86_64_32", "R_X86_64_32S",
diff --git a/ldso/ldso/xtensa/dl-debug.h b/ldso/ldso/xtensa/dl-debug.h
index 327defc07..4128d9452 100644
--- a/ldso/ldso/xtensa/dl-debug.h
+++ b/ldso/ldso/xtensa/dl-debug.h
@@ -6,7 +6,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-static const char *_dl_reltypes_tab[] =
+static const char * const _dl_reltypes_tab[] =
{
"R_XTENSA_NONE",
"R_XTENSA_32",