diff options
author | Sergey Belyashov <sergey.belyashov@gmail.com> | 2020-03-20 13:53:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-20 13:53:02 +0000 |
commit | 0d832e7f5e8c2e3659a55955c3b419e7cf5c9a34 (patch) | |
tree | 021133e1b0eb3b287e174486d197c337edc81930 /gas/config/tc-z80.c | |
parent | c7da12c72c2eeb4f62e772df5cbb1f50f35a84ee (diff) | |
download | gdb-0d832e7f5e8c2e3659a55955c3b419e7cf5c9a34.zip gdb-0d832e7f5e8c2e3659a55955c3b419e7cf5c9a34.tar.gz gdb-0d832e7f5e8c2e3659a55955c3b419e7cf5c9a34.tar.bz2 |
Add support for the xdef and xref pseudo-ops to the Z80 assembler.
PR 25690
* config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
* doc/c-z80.texi: Update documentation.
Diffstat (limited to 'gas/config/tc-z80.c')
-rw-r--r-- | gas/config/tc-z80.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c index a3ab13d..59cda3d 100644 --- a/gas/config/tc-z80.c +++ b/gas/config/tc-z80.c @@ -3460,6 +3460,8 @@ const pseudo_typeS md_pseudo_table[] = { "dw", z80_cons, 2}, { "psect", psect, 0}, /* TODO: Translate attributes. */ { "set", 0, 0}, /* Real instruction on z80. */ + { "xdef", s_globl, 0}, /* Synonym for .GLOBAL */ + { "xref", s_ignore, 0}, /* Synonym for .EXTERN */ { NULL, 0, 0 } } ; |