From c79e67a3b708abd55bf2fda91729f6928ca82dbb Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 30 Jan 1994 23:21:55 +0000 Subject: * write.c (write_object_file): If tc_frob_file is defined, call it just before calling obj_frob_file. * config/tc-alpha.c (alpha_gp_value): Renamed from gp_value (refs changed), made non-static. (getExpression): Return void. (select_gp_value): Abort if gp_value is non-zero. Delete call to non-existent bfd_set_gp_value. (alpha_validate_fix): Function deleted. (alpha_frob_symbol): Function deleted. (alpha_local_label): Function deleted. (alpha_frob_file): Renamed from alpha_end. * config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix, alpha_local_label, alpha_end): Declarations deleted. (alpha_gp_value, alpha_frob_file): Declare. (tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted. (LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label. (md_convert_frag): Simplified slightly. (tc_frob_file): New macro. --- gas/write.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/write.c') diff --git a/gas/write.c b/gas/write.c index 6733e3e..6fbf032 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1435,6 +1435,10 @@ write_object_file () } } +#ifdef tc_frob_file + tc_frob_file (); +#endif + #ifdef obj_frob_file /* If obj_frob_file changes the symbol value at this point, it is responsible for moving the changed value into symp->bsym->value -- cgit v1.1