diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-05 16:10:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-05 16:10:50 +0000 |
commit | 22ba90ce857a55522551a6dd06410534d0b02fd2 (patch) | |
tree | 6fd24938ae0ea7899e96d3e450cf609c76decf2b /gas/config/tc-mips.h | |
parent | 9525b61b1b82bcd7f9de30c9278cc9d52e9794b9 (diff) | |
download | gdb-22ba90ce857a55522551a6dd06410534d0b02fd2.zip gdb-22ba90ce857a55522551a6dd06410534d0b02fd2.tar.gz gdb-22ba90ce857a55522551a6dd06410534d0b02fd2.tar.bz2 |
* ecoff.c (ecoff_debugging_seen): New global variable.
(ecoff_directive_def): Set ecoff_debugging_seen.
(ecoff_stab): Likewise.
* ecoff.h: Make idempotent.
(ecoff_debugging_seen): Declare.
* config/tc-mips.c: Include ecoff.h.
(mips_debug): New static variable.
(s_stringer, s_mips_space): Remove unneeded declarations.
(md_parse_option): In case 'g', set mips_debug to debugging level.
(mips_local_label): New function.
* tc-mips.h (LOCAL_LABEL): Call mips_local_label.
(mips_local_label): Declare.
PR 6978.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index f0f9692..1783f8a 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -20,6 +20,8 @@ along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef TC_MIPS + #define TC_MIPS #define TARGET_ARCH bfd_arch_mips @@ -33,8 +35,8 @@ #define MAX_RELOC_EXPANSION 3 #define LOCAL_LABELS_FB 1 -/* The MIPS assembler appears to keep all symbols. */ -#define LOCAL_LABEL(name) 0 +#define LOCAL_LABEL(name) mips_local_label (name) +extern int mips_local_label PARAMS ((const char *)); #define md_relax_frag(fragp, stretch) (0) #define md_undefined_symbol(name) (0) @@ -115,3 +117,17 @@ extern void md_mips_end PARAMS ((void)); #define USE_GLOBAL_POINTER_OPT (OUTPUT_FLAVOR == bfd_target_ecoff_flavour \ || OUTPUT_FLAVOR == bfd_target_elf_flavour) + +extern void mips_pop_insert PARAMS ((void)); +#define md_pop_insert() mips_pop_insert() + +extern void mips_flush_pending_output PARAMS ((void)); +#define md_flush_pending_output mips_flush_pending_output + +extern void mips_enable_auto_align PARAMS ((void)); +#define md_elf_section_change_hook() mips_enable_auto_align() + +extern void mips_init_after_args PARAMS ((void)); +#define tc_init_after_args mips_init_after_args + +#endif /* TC_MIPS */ |