]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
cleanup FLT_CHARS and EXP_CHARS
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sat, 2 Apr 2016 20:38:40 +0000 (16:38 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Sun, 3 Apr 2016 23:50:02 +0000 (19:50 -0400)
commitae2689b09ff821b285159db064705068bb4cfa02
treeff782f0cb18bfbbccc8b4857920c90462e023856
parenta51ef392919e80a3131418efbea6717d2ca4dbee
cleanup FLT_CHARS and EXP_CHARS

Providing declarations in tc.h points out that alpha wasn't properly marking
FLT_CHARS as const.  We can also get rid of the confusing redefinition of
X_CHARS to mmix_x_chars.  Finally we can get rid of some now redundant
declarations of these constants.

gas/ChangeLog:

2016-04-03  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-alpha.c: Const qualify FLT_CHARS.
* config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
* config/tc-cris.h: Likewise.
* expr.c: Likewise.
* config/tc-mmix.c (md_atof): Adjust comment.
* config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
* tc.h: Declare FLT_CHARS and EXP_CHARS.
gas/ChangeLog
gas/config/atof-ieee.c
gas/config/tc-alpha.c
gas/config/tc-cris.h
gas/config/tc-mmix.c
gas/config/tc-mmix.h
gas/expr.c
gas/tc.h