aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-s390.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ba00123..f56d7c7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_target_format): Always call init_default_arch.
+
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (alias_hash): New.
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index e589821..97edcc3 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -351,8 +351,7 @@ s390_target_format ()
{
/* We don't get a chance to initialize anything before we're called,
so handle that now. */
- if (! s390_arch_size)
- init_default_arch ();
+ init_default_arch ();
return s390_arch_size == 64 ? "elf64-s390" : "elf32-s390";
}