aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2003-05-09 15:32:52 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2003-05-09 15:32:52 +0000
commit2ebb4b8890392116df80469e328ad7988e04b193 (patch)
tree9c7b09b9013895b680bc0715b9a69f6ae0ac9b55 /gas
parent64285810f58855f1252c298fba4bcb43bcc350ad (diff)
downloadgdb-2ebb4b8890392116df80469e328ad7988e04b193.zip
gdb-2ebb4b8890392116df80469e328ad7988e04b193.tar.gz
gdb-2ebb4b8890392116df80469e328ad7988e04b193.tar.bz2
* config/tc-s390.c (s390_target_format): Always call init_default_arch.
Diffstat (limited to 'gas')
-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";
}