This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 7/8] S12Z: Move opcode header to public include directory.
- From: John Darrington <john at darrington dot wattle dot id dot au>
- To: binutils at sourceware dot org
- Cc: John Darrington <john at darrington dot wattle dot id dot au>
- Date: Mon, 16 Jul 2018 16:00:03 +0200
- Subject: [PATCH 7/8] S12Z: Move opcode header to public include directory.
- References: <1531749604-17475-1-git-send-email-john@darrington.wattle.id.au>
* opcodes/s12z.h: Delete.
* include/opcode/s12z.h: New file.
* gas/config/tc-s12z.c: Adjust name of included file.
* opcodes/s12z-dis.c: Adjust name of included file.
---
gas/config/tc-s12z.c | 2 +-
{opcodes => include/opcode}/s12z.h | 0
opcodes/s12z-dis.c | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename {opcodes => include/opcode}/s12z.h (100%)
diff --git a/gas/config/tc-s12z.c b/gas/config/tc-s12z.c
index e024e72..736f062 100644
--- a/gas/config/tc-s12z.c
+++ b/gas/config/tc-s12z.c
@@ -22,7 +22,7 @@
#include "safe-ctype.h"
#include "subsegs.h"
#include "dwarf2dbg.h"
-#include "opcodes/s12z.h"
+#include "opcode/s12z.h"
#include <stdint.h>
#include <limits.h>
#include <stdbool.h>
diff --git a/opcodes/s12z.h b/include/opcode/s12z.h
similarity index 100%
rename from opcodes/s12z.h
rename to include/opcode/s12z.h
diff --git a/opcodes/s12z-dis.c b/opcodes/s12z-dis.c
index 47f8616..7130908 100644
--- a/opcodes/s12z-dis.c
+++ b/opcodes/s12z-dis.c
@@ -24,7 +24,7 @@
#include <stdbool.h>
#include <assert.h>
-#include "s12z.h"
+#include "opcode/s12z.h"
#include "bfd.h"
#include "dis-asm.h"
--
2.1.4