From ffdefa66c490f75656e7736fae7f241a5bcc098f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 6 Jun 2002 16:38:01 +0000 Subject: [PATCH] 2002-06-06 Daniel Jacobowitz * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d and mips_opts.ase_mdmx if they are uninitialized. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ed3c93b..f165585 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-06-06 Daniel Jacobowitz + + * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d + and mips_opts.ase_mdmx if they are uninitialized. + 2002-06-06 John David Anglin * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index c054255..944012f 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -10614,10 +10614,10 @@ mips_after_parse_args () /* If the selected architecture includes support for ASEs, enable generation of code for them. */ - if (mips_opts.ase_mips3d == -1 && CPU_HAS_MIPS3D (mips_arch)) - mips_opts.ase_mips3d = 1; - if (mips_opts.ase_mdmx == -1 && CPU_HAS_MDMX (mips_arch)) - mips_opts.ase_mdmx = 1; + if (mips_opts.ase_mips3d == -1) + mips_opts.ase_mips3d = CPU_HAS_MIPS3D (mips_arch); + if (mips_opts.ase_mdmx == -1) + mips_opts.ase_mdmx = CPU_HAS_MDMX (mips_arch); if (file_mips_gp32 < 0) file_mips_gp32 = 0; -- 2.7.4