aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xstormy16.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-20 11:58:20 +0000
committerNick Clifton <nickc@redhat.com>2003-05-20 11:58:20 +0000
commitf53e95c7589b8d0846319465fc9f67f687d9263d (patch)
treec10e301d4cda5caa9fba34641ab3b8708befbe61 /gas/config/tc-xstormy16.c
parent7c0295b15732ca29ce9325fe89a2aa5c2eb550bf (diff)
downloadgdb-f53e95c7589b8d0846319465fc9f67f687d9263d.zip
gdb-f53e95c7589b8d0846319465fc9f67f687d9263d.tar.gz
gdb-f53e95c7589b8d0846319465fc9f67f687d9263d.tar.bz2
Add support for .file and .loc
Diffstat (limited to 'gas/config/tc-xstormy16.c')
-rw-r--r--gas/config/tc-xstormy16.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-xstormy16.c b/gas/config/tc-xstormy16.c
index 0125856..c899860 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 ();