* doublest.c (NAN): Remove unused define.

(extract_floating_by_length, deprecated_extract_floating): Remove.
	(store_floating_by_length, deprecated_store_floating): Remove.
	(extract_typed_floating): Do not call extract_floating_by_length.
	(store_typed_floating): Do not call store_floating_by_length.
	(convert_typed_floating): Remove redundant assertions.
	* doublest.h (deprecated_extract_floating): Remove.
	(deprecated_store_floating): Remove.
	* sh64-tdep.c (sh64_register_convert_to_raw): Call
	extract_typed_floating instead of deprecated_extract_floating.
This commit is contained in:
Ulrich Weigand
2009-05-18 13:43:35 +00:00
parent 487df32df7
commit e035e3736f
4 changed files with 18 additions and 75 deletions

View File

@@ -85,17 +85,6 @@ extern enum float_kind floatformat_classify (const struct floatformat *,
extern const char *floatformat_mantissa (const struct floatformat *,
const bfd_byte *);
/* These functions have been replaced by extract_typed_floating and
store_typed_floating.
Most calls are passing in TYPE_LENGTH (TYPE) so can be changed to
just pass the TYPE. The remainder pass in the length of a
register, those calls should instead pass in the floating point
type that corresponds to that length. */
extern DOUBLEST deprecated_extract_floating (const void *addr, int len);
extern void deprecated_store_floating (void *addr, int len, DOUBLEST val);
/* Given TYPE, return its floatformat. TYPE_FLOATFORMAT() may return
NULL. type_floatformat() detects that and returns a floatformat
based on the type size when FLOATFORMAT is NULL. */