aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-30 23:26:55 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-30 23:26:55 +0000
commit424263203943ca8331f5fef67b026323bfd24e2b (patch)
tree856cd27c70c004e68feed3f57a49c9c98d58ea55 /gas/config
parentc79e67a3b708abd55bf2fda91729f6928ca82dbb (diff)
downloadgdb-424263203943ca8331f5fef67b026323bfd24e2b.zip
gdb-424263203943ca8331f5fef67b026323bfd24e2b.tar.gz
gdb-424263203943ca8331f5fef67b026323bfd24e2b.tar.bz2
(Already checked in write.c and config/tc-alpha.c, but no log msg went
out because $CVSROOT was wrong...) * 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 (references changed), and 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/config')
-rw-r--r--gas/config/tc-alpha.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h
index 4994cf9..809bc67 100644
--- a/gas/config/tc-alpha.h
+++ b/gas/config/tc-alpha.h
@@ -34,18 +34,15 @@
extern int alpha_force_relocation PARAMS ((struct fix *));
extern int alpha_fix_adjustable PARAMS ((struct fix *));
-extern int alpha_frob_symbol PARAMS ((struct symbol *));
-extern int alpha_validate_fix PARAMS ((struct fix *, segT));
extern unsigned long alpha_gprmask, alpha_fprmask;
+extern valueT alpha_gp_value;
#define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP)
#define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP)
#define RELOC_REQUIRES_SYMBOL
-#define tc_frob_symbol(S,P) ((P) = alpha_frob_symbol (S))
-#define TC_VALIDATE_FIX(F,S,L) if(alpha_validate_fix(F,S))goto L;
-#define md_convert_frag(b,s,f) {as_fatal ("alpha convert_frag\n");}
+#define md_convert_frag(b,s,f) as_fatal ("alpha convert_frag\n")
#define md_create_long_jump(p,f,t,fr,s) as_fatal("alpha_create_long_jump")
#define md_create_short_jump(p,f,t,fr,s) as_fatal("alpha_create_short_jump")
#define md_estimate_size_before_relax(f,s) \
@@ -55,13 +52,13 @@ extern unsigned long alpha_gprmask, alpha_fprmask;
extern unsigned long md_section_align PARAMS ((segT, unsigned long));
#define md_undefined_symbol(name) (0)
-extern void alpha_end ();
-#define md_end() alpha_end ()
-extern int alpha_local_label PARAMS ((const char *));
-#define LOCAL_LABEL(name) alpha_local_label (name)
+#define LOCAL_LABEL(name) ((name)[0] == 'L')
#define md_number_to_chars number_to_chars_littleendian
extern int alpha_do_align ();
#define md_do_align(n,fill,l) if (alpha_do_align(n,fill)) goto l
+
+extern void alpha_frob_file ();
+#define tc_frob_file alpha_frob_file