Add support for the xdef and xref pseudo-ops to the Z80 assembler.
[binutils-gdb.git] / gas / config / tc-z80.c
index a3ab13de1551d848b22e09d7d430114fa924b77d..59cda3d03c1756e25c7efa53881f39bbb84ac463 100644 (file)
@@ -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 }
 } ;