diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2012-07-27 15:56:43 +0000 |
---|---|---|
committer | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2012-07-27 15:56:43 +0000 |
commit | c92b291c62cccb1f2ed46ae01966724bc2499e42 (patch) | |
tree | 2e609c06e8794dba9dd54cb6265a4fac3ede3923 /bfd | |
parent | 6832c67c6d4a6ae3364f34f35bcf5b2590d53fa6 (diff) | |
download | gdb-c92b291c62cccb1f2ed46ae01966724bc2499e42.zip gdb-c92b291c62cccb1f2ed46ae01966724bc2499e42.tar.gz gdb-c92b291c62cccb1f2ed46ae01966724bc2499e42.tar.bz2 |
2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
arch depending on the target size.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/cpu-s390.c | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 055f52a..232b9e1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default + arch depending on the target size. + 2012-07-27 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.51 diff --git a/bfd/cpu-s390.c b/bfd/cpu-s390.c index 1a581e4..1cd3af1 100644 --- a/bfd/cpu-s390.c +++ b/bfd/cpu-s390.c @@ -33,7 +33,11 @@ const bfd_arch_info_type bfd_s390_64_arch = "s390", "s390:64-bit", 3, /* section alignment power */ +#if BFD_DEFAULT_TARGET_SIZE == 64 TRUE, /* the default */ +#else + FALSE, /* the default */ +#endif bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, @@ -50,7 +54,11 @@ const bfd_arch_info_type bfd_s390_arch = "s390", "s390:31-bit", 3, /* section alignment power */ +#if BFD_DEFAULT_TARGET_SIZE == 64 + FALSE, /* the default */ +#else TRUE, /* the default */ +#endif bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, |