From cca35896e5b4dbe7d82033cafbc2638c17e7c811 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 May 2003 11:58:20 +0000 Subject: [PATCH] Add support for .file and .loc --- gas/ChangeLog | 5 +++++ gas/config/tc-xstormy16.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index fc4d3f98f0..186a0fd8e1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-05-20 Nick Clifton + + * config/tc-xstormy16.c: Include dwarf2dbg.h. + (md_pseudo_table): Add entries for .loc and .line. + 2003-05-20 Alan Modra * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if diff --git a/gas/config/tc-xstormy16.c b/gas/config/tc-xstormy16.c index 0125856c7e..c899860ef3 100644 --- a/gas/config/tc-xstormy16.c +++ b/gas/config/tc-xstormy16.c @@ -25,6 +25,7 @@ #include "opcodes/xstormy16-desc.h" #include "opcodes/xstormy16-opc.h" #include "cgen.h" +#include "dwarf2dbg.h" /* Structure to hold all of the different components describing an individual instruction. */ @@ -84,6 +85,8 @@ md_show_usage (stream) const pseudo_typeS md_pseudo_table[] = { { "word", cons, 4 }, + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 }, + { "loc", dwarf2_directive_loc, 0 }, { NULL, NULL, 0 } }; @@ -141,7 +144,7 @@ md_operand (e) if (*input_line_pointer != '@') return; - if (strncmp (input_line_pointer+1, "fptr", 4) == 0) + if (strncmp (input_line_pointer + 1, "fptr", 4) == 0) { input_line_pointer += 5; SKIP_WHITESPACE (); -- 2.11.0