mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* config/tc-mips.c (mips_ip): Fix handling of floating point
values when GPOPT is not defined.
This commit is contained in:
@ -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>
|
Fri Jan 6 16:59:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||||
|
|
||||||
* gasp.c: Include string.h. Put config.h before other includes.
|
* gasp.c: Include string.h. Put config.h before other includes.
|
||||||
|
@ -4598,11 +4598,11 @@ mips_ip (str, ip)
|
|||||||
|
|
||||||
if (*args == 'f'
|
if (*args == 'f'
|
||||||
|| (*args == 'l'
|
|| (*args == 'l'
|
||||||
&& (mips_pic == EMBEDDED_PIC
|
|
||||||
#ifdef GPOPT
|
#ifdef GPOPT
|
||||||
|| g_switch_value < 4
|
&& (mips_pic == EMBEDDED_PIC
|
||||||
|
|| g_switch_value < 4)
|
||||||
#endif
|
#endif
|
||||||
)))
|
))
|
||||||
{
|
{
|
||||||
imm_expr.X_op = O_constant;
|
imm_expr.X_op = O_constant;
|
||||||
if (byte_order == LITTLE_ENDIAN)
|
if (byte_order == LITTLE_ENDIAN)
|
||||||
@ -4630,10 +4630,10 @@ mips_ip (str, ip)
|
|||||||
{
|
{
|
||||||
default: /* unused default case avoids warnings. */
|
default: /* unused default case avoids warnings. */
|
||||||
case 'L':
|
case 'L':
|
||||||
newname = ".lit8";
|
newname = RDATA_SECTION_NAME;
|
||||||
#ifdef GPOPT
|
#ifdef GPOPT
|
||||||
if (g_switch_value < 8)
|
if (g_switch_value >= 8)
|
||||||
newname = RDATA_SECTION_NAME;
|
newname = ".lit8";
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 'F':
|
case 'F':
|
||||||
|
Reference in New Issue
Block a user