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
commit4337fd16fbd64925ba739ce9caf3a0dfa44591c8 (patch)
tree3564add0e77638ea684831d8882efd7545691dbe /bfd/cpu-s390.c
parent64c48f9cbd96056558cc58994fe274760854ed8b (diff)
downloadgdb-4337fd16fbd64925ba739ce9caf3a0dfa44591c8.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 09ec78d6c80..d537e1257f9 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
};