aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-30 23:21:55 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-30 23:21:55 +0000
commitc79e67a3b708abd55bf2fda91729f6928ca82dbb (patch)
tree97c68620203c2ccd7e0978f524059a7383d9fd1f /gas/write.c
parenta627df96dc12eb8cb76d59ebe7255593d12dd27e (diff)
downloadgdb-c79e67a3b708abd55bf2fda91729f6928ca82dbb.zip
gdb-c79e67a3b708abd55bf2fda91729f6928ca82dbb.tar.gz
gdb-c79e67a3b708abd55bf2fda91729f6928ca82dbb.tar.bz2
* 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.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c4
1 files changed, 4 insertions, 0 deletions
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