diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2003-01-27 08:44:21 +0000 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2003-01-27 08:44:21 +0000 |
commit | 5cfbfc2b20bb18a0a9ff530935ae044f6caeecff (patch) | |
tree | 0e263e426e4003ebe838ce9a66652d5dddfcca8b /gas/config/tc-s390.c | |
parent | 523d7c12c7402e9bf29ed0fd90e2653c5d312e1a (diff) | |
download | gdb-5cfbfc2b20bb18a0a9ff530935ae044f6caeecff.zip gdb-5cfbfc2b20bb18a0a9ff530935ae044f6caeecff.tar.gz gdb-5cfbfc2b20bb18a0a9ff530935ae044f6caeecff.tar.bz2 |
* Avoid designated initializers.
Diffstat (limited to 'gas/config/tc-s390.c')
-rw-r--r-- | gas/config/tc-s390.c | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c index af6c70b..0c54330 100644 --- a/gas/config/tc-s390.c +++ b/gas/config/tc-s390.c @@ -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]; } |