From 2ddc8f011a497d710737ab7637dbf88cbe1398a1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 14 Sep 2020 16:56:41 +0100 Subject: [PATCH] Fix support for theassembler's new ".nop" directive on the IA64 target. * config/tc-ia64.h (md_single_noop_insn): Define. --- gas/ChangeLog | 1 + gas/config/tc-ia64.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index a80cef2482d..d66be0a46a1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index e982e57b477..d187bbc9f08 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -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" -- 2.30.2