2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 27 Jul 2012 15:56:43 +0000 (15:56 +0000)
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 27 Jul 2012 15:56:43 +0000 (15:56 +0000)
* cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default
arch depending on the target size.

bfd/ChangeLog
bfd/cpu-s390.c

index 055f52a5737499b6f2176fd2a77393008b49c813..232b9e1122598f5ce2e7ee35f46778250f5a854c 100644 (file)
@@ -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
index 1a581e47202cee5dea0fd2ff51218ee455e5b2fa..1cd3af1a7e70f0a3610732e6febe39c54233a328 100644 (file)
@@ -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,
This page took 0.039893 seconds and 4 git commands to generate.