From 3a762a0bfdb9e74fa2ca4b41b998d64d9a178d25 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 12 Jan 1995 23:00:26 +0000 Subject: 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. --- gas/config/tc-mips.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gas/config') 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; } -- cgit v1.1