diff options
author | Jeff Law <law@redhat.com> | 2000-08-15 20:47:19 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2000-08-15 20:47:19 +0000 |
commit | 0d10e18267c6476627a1881c24bb6e364368f74a (patch) | |
tree | 2a2a790739632d90004eb236acfce6b8f12e222d /gas/config/tc-sh.h | |
parent | 19ba6717740004b63158745e8a74b9f845b5c205 (diff) | |
download | gdb-0d10e18267c6476627a1881c24bb6e364368f74a.zip gdb-0d10e18267c6476627a1881c24bb6e364368f74a.tar.gz gdb-0d10e18267c6476627a1881c24bb6e364368f74a.tar.bz2 |
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
* config/tc-sh.c (md_assemble): Changed so debug_type
test performed for ppi_assemble
* config/tc-sh.c: Included dwarf2dbg.h.
(debug_line): Defined.
(md_assemble): Generates dwarf2 line info.
(sh_finalize): New function. Finalize dwarf2 info.
(assemble_ppi): Returns size of code generated.
(build_Mytes): Returns size of code generated.
(md_pseudo_table): Added "file" and "loc" psuedo ops.
* config/tc-sh.h (md_end): Defined.
(sh_finalize): Declared.
Diffstat (limited to 'gas/config/tc-sh.h')
-rw-r--r-- | gas/config/tc-sh.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h index f5ab8a9..4e73b8b 100644 --- a/gas/config/tc-sh.h +++ b/gas/config/tc-sh.h @@ -41,6 +41,9 @@ extern int sh_small; /* Don't try to break words. */ #define WORKING_DOT_WORD +/* All SH instructions are multiples of 16 bits. */ +#define DWARF2_LINE_MIN_INSN_LENGTH 2 + /* We require .long, et. al., to be aligned correctly. */ #define md_cons_align(nbytes) sh_cons_align (nbytes) extern void sh_cons_align PARAMS ((int)); @@ -160,4 +163,7 @@ extern void sh_elf_final_processing PARAMS ((void)); #endif /* OBJ_ELF */ +#define md_end() sh_finalize () +void sh_finalize PARAMS ((void)); + /* end of tc-sh.h */ |