diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-01-31 23:18:35 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-01-31 23:18:35 +0000 |
commit | 65ec77d24561f693faed3798a7233bc4f947a6b8 (patch) | |
tree | 280379ddd681847093ca04665aef1212573d1d16 /gas/config/atof-ieee.c | |
parent | 0e71e4955cd1a6ad7d03775dec5df49323204dec (diff) | |
download | gdb-65ec77d24561f693faed3798a7233bc4f947a6b8.zip gdb-65ec77d24561f693faed3798a7233bc4f947a6b8.tar.gz gdb-65ec77d24561f693faed3798a7233bc4f947a6b8.tar.bz2 |
* config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
#if 0'd code throughout.
Diffstat (limited to 'gas/config/atof-ieee.c')
-rw-r--r-- | gas/config/atof-ieee.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gas/config/atof-ieee.c b/gas/config/atof-ieee.c index 0ad39c9..ce9e7f4 100644 --- a/gas/config/atof-ieee.c +++ b/gas/config/atof-ieee.c @@ -673,35 +673,11 @@ gen_to_words (words, precision, exponent_bits) but return a floating exception because we can't encode the number. */ *words &= ~(1 << (LITTLENUM_NUMBER_OF_BITS - 1)); -#if 0 - make_invalid_floating_point_number (words); - return return_value; -#endif } } return return_value; } -#if 0 -/* Unused. */ -/* This routine is a real kludge. Someone really should do it better, - but I'm too lazy, and I don't understand this stuff all too well - anyway. (JF) */ - -static void -int_to_gen (x) - long x; -{ - char buf[20]; - char *bufp; - - sprintf (buf, "%ld", x); - bufp = &buf[0]; - if (atof_generic (&bufp, ".", EXP_CHARS, &generic_floating_point_number)) - as_bad (_("Error converting number to floating point (Exponent overflow?)")); -} -#endif - #ifdef TEST char * print_gen (gen) |