diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-12 23:00:26 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-12 23:00:26 +0000 |
commit | 3a762a0bfdb9e74fa2ca4b41b998d64d9a178d25 (patch) | |
tree | 54130f81280c11d1222cde450b2c29627df89f2c /gas/config | |
parent | 5e815a37fa6b264763168c67ef4452c0112a2d26 (diff) | |
download | gdb-3a762a0bfdb9e74fa2ca4b41b998d64d9a178d25.zip gdb-3a762a0bfdb9e74fa2ca4b41b998d64d9a178d25.tar.gz gdb-3a762a0bfdb9e74fa2ca4b41b998d64d9a178d25.tar.bz2 |
Use new hex-value code in libiberty:
* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
(OBJS): Delete hex-value.o.
(REAL_SOURCES): Delete hex-value.c.
(hex-value.o): Delete dependencies.
* hex-value.c: Deleted.
* as.c (main): Call hex_init.
* expr.c, config/tc-mips.c: Include libiberty.h. Replace hex_value array
references with hex_* macros.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 4710a7c..e38cbbc 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -6598,8 +6598,6 @@ md_obj_end () as_warn ("missing `.end' at end of assembly"); } -extern char hex_value[]; - static long get_number () { @@ -6621,7 +6619,7 @@ get_number () while (isxdigit (*input_line_pointer)) { val <<= 4; - val |= hex_value[(int) *input_line_pointer++]; + val |= hex_value (*input_line_pointer++); } return negative ? -val : val; } |