summaryrefslogtreecommitdiffstats
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-01-08 21:17:56 +0000
committerIan Lance Taylor <ian@airs.com>1995-01-08 21:17:56 +0000
commit1113140a24753e40bacd51f6f41744eea66a7b3a (patch)
treed360011d90d49a5058942baf9a6caf8e1f723083 /gas
parent02b40a193ee4627451f2c525671883ad94f17452 (diff)
downloadppe42-binutils-1113140a24753e40bacd51f6f41744eea66a7b3a.tar.gz
ppe42-binutils-1113140a24753e40bacd51f6f41744eea66a7b3a.zip
* config/tc-mips.c (mips_ip): Fix handling of floating point
values when GPOPT is not defined.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 29cd5849b1..7e0f396558 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jan 8 16:14:19 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
+
+ * config/tc-mips.c (mips_ip): Fix handling of floating point
+ values when GPOPT is not defined.
+
Fri Jan 6 16:59:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* gasp.c: Include string.h. Put config.h before other includes.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f377859aa1..9a5df7b0b6 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -4598,11 +4598,11 @@ mips_ip (str, ip)
if (*args == 'f'
|| (*args == 'l'
- && (mips_pic == EMBEDDED_PIC
#ifdef GPOPT
- || g_switch_value < 4
+ && (mips_pic == EMBEDDED_PIC
+ || g_switch_value < 4)
#endif
- )))
+ ))
{
imm_expr.X_op = O_constant;
if (byte_order == LITTLE_ENDIAN)
@@ -4630,10 +4630,10 @@ mips_ip (str, ip)
{
default: /* unused default case avoids warnings. */
case 'L':
- newname = ".lit8";
+ newname = RDATA_SECTION_NAME;
#ifdef GPOPT
- if (g_switch_value < 8)
- newname = RDATA_SECTION_NAME;
+ if (g_switch_value >= 8)
+ newname = ".lit8";
#endif
break;
case 'F':
OpenPOWER on IntegriCloud