Fix support for theassembler's new ".nop" directive on the IA64 target.
authorNick Clifton <nickc@redhat.com>
Mon, 14 Sep 2020 15:56:41 +0000 (16:56 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 14 Sep 2020 15:56:41 +0000 (16:56 +0100)
* config/tc-ia64.h (md_single_noop_insn): Define.

gas/ChangeLog
gas/config/tc-ia64.h

index a80cef2482d1f94f559f5ac6104e70daaf67b435..d66be0a46a1971ab34b5cba2dd936504d803e1ab 100644 (file)
@@ -7,6 +7,7 @@
        * config/tc-bpf.h (md_single_noop_insn): Define.
        * config/tc-mmix.h (md_single_noop_insn): Define.
        * config/tc-or1k.h (md_single_noop_insn): Define.
+       * config/tc-ia64.h (md_single_noop_insn): Define.
        * config/tc-s12z.c (md_assemble): Preserve the input line pointer,
        rather than corrupting it.
        * write.c (relax_segment): Update error message regarding
index e982e57b477c7b39fe0aa13463fb33144888299d..d187bbc9f085373cf2c0f68f010fc941fab8f362 100644 (file)
@@ -327,3 +327,5 @@ typedef struct unwind_record
 #ifdef TE_VMS
 #define DWARF2_VERSION      (dwarf_level < 3 ? 3  : dwarf_level)
 #endif
+
+#define md_single_noop_insn "nop 0"