summaryrefslogtreecommitdiff
path: root/bfd/cpu-s390.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2002-02-19 18:22:16 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2002-02-19 18:22:16 +0000
commit3137d291c8e5c64c5bbd58d381b59ab6326a22b1 (patch)
treea306e18b8fe58a983b202195bb28c6f72d6b930c /bfd/cpu-s390.c
parent1b0b337f0a991a383f1b67c36a00fdbb105b35db (diff)
downloadbinutils-redhat-3137d291c8e5c64c5bbd58d381b59ab6326a22b1.tar.gz
2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. * bfd-in2.h: Regenerate. * cpu-s390.c (arch_info_struct): Use renamed architecture defines. Replace architecture name "s390" with "s390:31-bit" and "s390:esame" with "s390:64-bit". * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. (elf_s390_reloc_type_lookup): Likewise. (elf_s390_check_relocs): Likewise. (elf_s390_gc_sweep_hook): Likewise. (elf_s390_relocate_section): Likewise. (elf_s390_object_p): Use renamed architecture define. * elf64-s390.c (elf_s390_object_p): Use renamed architecture define.
Diffstat (limited to 'bfd/cpu-s390.c')
-rw-r--r--bfd/cpu-s390.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/cpu-s390.c b/bfd/cpu-s390.c
index 09ec78d6c8..d537e1257f 100644
--- a/bfd/cpu-s390.c
+++ b/bfd/cpu-s390.c
@@ -23,15 +23,15 @@
#include "sysdep.h"
#include "libbfd.h"
-const bfd_arch_info_type bfd_s390_esame_arch =
+const bfd_arch_info_type bfd_s390_64_arch =
{
64, /* bits in a word */
64, /* bits in an address */
8, /* bits in a byte */
bfd_arch_s390,
- bfd_mach_s390_esame,
+ bfd_mach_s390_64,
"s390",
- "s390:esame",
+ "s390:64-bit",
3, /* section alignment power */
true, /* the default */
bfd_default_compatible,
@@ -45,12 +45,12 @@ const bfd_arch_info_type bfd_s390_arch =
32, /* bits in an address */
8, /* bits in a byte */
bfd_arch_s390,
- bfd_mach_s390_esa,
+ bfd_mach_s390_31,
"s390",
- "s390:390",
+ "s390:31-bit",
3, /* section alignment power */
true, /* the default */
bfd_default_compatible,
bfd_default_scan,
- &bfd_s390_esame_arch
+ &bfd_s390_64_arch
};