aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-09-14 16:56:41 +0100
committerNick Clifton <nickc@redhat.com>2020-09-14 16:56:41 +0100
commit2ddc8f011a497d710737ab7637dbf88cbe1398a1 (patch)
tree64d5321459aafe4073b7872017dead0bfd0b43bb /gas
parent677c92fe9a530f3f8959b8a0e311f58f9a616fa4 (diff)
downloadgdb-2ddc8f011a497d710737ab7637dbf88cbe1398a1.zip
gdb-2ddc8f011a497d710737ab7637dbf88cbe1398a1.tar.gz
gdb-2ddc8f011a497d710737ab7637dbf88cbe1398a1.tar.bz2
Fix support for theassembler's new ".nop" directive on the IA64 target.
* config/tc-ia64.h (md_single_noop_insn): Define.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog1
-rw-r--r--gas/config/tc-ia64.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a80cef2..d66be0a 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 e982e57..d187bbc 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"