* Avoid designated initializers.
This commit is contained in:
parent
523d7c12c7
commit
5cfbfc2b20
2 changed files with 43 additions and 39 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||
|
||||
* config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
|
||||
|
||||
2003-01-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/tc-sparc.c (sparc_ip): Handle TLS % operators.
|
||||
|
|
|
@ -1033,19 +1033,19 @@ s390_elf_cons (nbytes)
|
|||
{
|
||||
static bfd_reloc_code_real_type tab2[] =
|
||||
{
|
||||
[ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
|
||||
[ELF_SUFFIX_GOT] BFD_RELOC_390_GOT16,
|
||||
[ELF_SUFFIX_PLT] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_GOTOFF] BFD_RELOC_16_GOTOFF,
|
||||
[ELF_SUFFIX_GOTPLT] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF16,
|
||||
[ELF_SUFFIX_TLS_GD] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_TLS_IE] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_TLS_LDM] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_TLS_LDO] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_TLS_LE] BFD_RELOC_UNUSED,
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
|
||||
BFD_RELOC_390_GOT16, /* ELF_SUFFIX_GOT */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_PLT */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
|
||||
BFD_RELOC_16_GOTOFF, /* ELF_SUFFIX_GOTOFF */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTPLT */
|
||||
BFD_RELOC_390_PLTOFF16, /* ELF_SUFFIX_PLTOFF */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_GD */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_GOTIE */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_IE */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_LDM */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_TLS_LDO */
|
||||
BFD_RELOC_UNUSED /* ELF_SUFFIX_TLS_LE */
|
||||
};
|
||||
reloc = tab2[suffix];
|
||||
}
|
||||
|
@ -1053,19 +1053,19 @@ s390_elf_cons (nbytes)
|
|||
{
|
||||
static bfd_reloc_code_real_type tab4[] =
|
||||
{
|
||||
[ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
|
||||
[ELF_SUFFIX_GOT] BFD_RELOC_32_GOT_PCREL,
|
||||
[ELF_SUFFIX_PLT] BFD_RELOC_390_PLT32,
|
||||
[ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_GOTOFF] BFD_RELOC_32_GOTOFF,
|
||||
[ELF_SUFFIX_GOTPLT] BFD_RELOC_390_GOTPLT32,
|
||||
[ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF32,
|
||||
[ELF_SUFFIX_TLS_GD] BFD_RELOC_390_TLS_GD32,
|
||||
[ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_390_TLS_GOTIE32,
|
||||
[ELF_SUFFIX_TLS_IE] BFD_RELOC_390_TLS_IE32,
|
||||
[ELF_SUFFIX_TLS_LDM] BFD_RELOC_390_TLS_LDM32,
|
||||
[ELF_SUFFIX_TLS_LDO] BFD_RELOC_390_TLS_LDO32,
|
||||
[ELF_SUFFIX_TLS_LE] BFD_RELOC_390_TLS_LE32,
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
|
||||
BFD_RELOC_32_GOT_PCREL, /* ELF_SUFFIX_GOT */
|
||||
BFD_RELOC_390_PLT32, /* ELF_SUFFIX_PLT */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
|
||||
BFD_RELOC_32_GOTOFF, /* ELF_SUFFIX_GOTOFF */
|
||||
BFD_RELOC_390_GOTPLT32, /* ELF_SUFFIX_GOTPLT */
|
||||
BFD_RELOC_390_PLTOFF32, /* ELF_SUFFIX_PLTOFF */
|
||||
BFD_RELOC_390_TLS_GD32, /* ELF_SUFFIX_TLS_GD */
|
||||
BFD_RELOC_390_TLS_GOTIE32, /* ELF_SUFFIX_TLS_GOTIE */
|
||||
BFD_RELOC_390_TLS_IE32, /* ELF_SUFFIX_TLS_IE */
|
||||
BFD_RELOC_390_TLS_LDM32, /* ELF_SUFFIX_TLS_LDM */
|
||||
BFD_RELOC_390_TLS_LDO32, /* ELF_SUFFIX_TLS_LDO */
|
||||
BFD_RELOC_390_TLS_LE32 /* ELF_SUFFIX_TLS_LE */
|
||||
};
|
||||
reloc = tab4[suffix];
|
||||
}
|
||||
|
@ -1073,19 +1073,19 @@ s390_elf_cons (nbytes)
|
|||
{
|
||||
static bfd_reloc_code_real_type tab8[] =
|
||||
{
|
||||
[ELF_SUFFIX_NONE] BFD_RELOC_UNUSED ,
|
||||
[ELF_SUFFIX_GOT] BFD_RELOC_390_GOT64,
|
||||
[ELF_SUFFIX_PLT] BFD_RELOC_390_PLT64,
|
||||
[ELF_SUFFIX_GOTENT] BFD_RELOC_UNUSED,
|
||||
[ELF_SUFFIX_GOTOFF] BFD_RELOC_390_GOTOFF64,
|
||||
[ELF_SUFFIX_GOTPLT] BFD_RELOC_390_GOTPLT64,
|
||||
[ELF_SUFFIX_PLTOFF] BFD_RELOC_390_PLTOFF64,
|
||||
[ELF_SUFFIX_TLS_GD] BFD_RELOC_390_TLS_GD64,
|
||||
[ELF_SUFFIX_TLS_GOTIE] BFD_RELOC_390_TLS_GOTIE64,
|
||||
[ELF_SUFFIX_TLS_IE] BFD_RELOC_390_TLS_IE64,
|
||||
[ELF_SUFFIX_TLS_LDM] BFD_RELOC_390_TLS_LDM64,
|
||||
[ELF_SUFFIX_TLS_LDO] BFD_RELOC_390_TLS_LDO64,
|
||||
[ELF_SUFFIX_TLS_LE] BFD_RELOC_390_TLS_LE64,
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_NONE */
|
||||
BFD_RELOC_390_GOT64, /* ELF_SUFFIX_GOT */
|
||||
BFD_RELOC_390_PLT64, /* ELF_SUFFIX_PLT */
|
||||
BFD_RELOC_UNUSED, /* ELF_SUFFIX_GOTENT */
|
||||
BFD_RELOC_390_GOTOFF64, /* ELF_SUFFIX_GOTOFF */
|
||||
BFD_RELOC_390_GOTPLT64, /* ELF_SUFFIX_GOTPLT */
|
||||
BFD_RELOC_390_PLTOFF64, /* ELF_SUFFIX_PLTOFF */
|
||||
BFD_RELOC_390_TLS_GD64, /* ELF_SUFFIX_TLS_GD */
|
||||
BFD_RELOC_390_TLS_GOTIE64, /* ELF_SUFFIX_TLS_GOTIE */
|
||||
BFD_RELOC_390_TLS_IE64, /* ELF_SUFFIX_TLS_IE */
|
||||
BFD_RELOC_390_TLS_LDM64, /* ELF_SUFFIX_TLS_LDM */
|
||||
BFD_RELOC_390_TLS_LDO64, /* ELF_SUFFIX_TLS_LDO */
|
||||
BFD_RELOC_390_TLS_LE64 /* ELF_SUFFIX_TLS_LE */
|
||||
};
|
||||
reloc = tab8[suffix];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue