pdp11: fix float format definitions

Submitted by Paul Koning on Oct. 26, 2010, 3:03 p.m.

Details

Message ID C6DD32F1-3853-49D5-A180-BBAF8DDEACB4@dell.com
State New
Headers show

Commit Message

Paul Koning Oct. 26, 2010, 3:03 p.m.
struct_real_format has changed a bit over time, and the use of it in pdp11.c has not been changed to match.  The result is that float constants did not work.  Fixed by this patch.

Tested by cross build, committed.

	paul

ChangeLog:

2010-10-26  Paul Koning  <ni1d@arrl.net>

	* config/pdp11/pdp11.c (pdp11_f_format, pdp11_d_format): Update to
	current definition of struct_real_format.

Patch hide | download patch | download mbox

Index: config/pdp11/pdp11.c
===================================================================
--- config/pdp11/pdp11.c	(revision 165965)
+++ config/pdp11/pdp11.c	(working copy)
@@ -63,12 +63,12 @@ 
     encode_pdp11_f,
     decode_pdp11_f,
     2,
-    1,
     24,
     24,
     -127,
     127,
     15,
+    15,
     false,
     false,
     false,
@@ -84,12 +84,12 @@ 
     encode_pdp11_d,
     decode_pdp11_d,
     2,
-    1,
     56,
     56,
     -127,
     127,
     15,
+    15,
     false,
     false,
     false,