This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] S12Z: Move opcode header to public include directory.


opcodes/
        * s12z.h: Delete.
	* s12z-dis.c: Adjust path of included file.

include/
        * opcode/s12z.h: New file.

gas/
	* config/tc-s12z.c: Adjust path of included file.
---
 gas/config/tc-s12z.c               | 2 +-
 include/ChangeLog                  | 4 ++++
 {opcodes => include/opcode}/s12z.h | 0
 opcodes/ChangeLog                  | 4 ++++
 opcodes/s12z-dis.c                 | 2 +-
 5 files changed, 10 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/include/ChangeLog b/include/ChangeLog
index b56b6ba..cd17ca6 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2018-07-27  John Darrington <john@darrington.wattle.id.au>
+
+        * opcode/s12z.h: New file.
+
 2018-07-27  Chenghua Xu  <paul.hua.gm@gmail.com>
 	    Maciej W. Rozycki  <macro@linux-mips.org>
 
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/ChangeLog b/opcodes/ChangeLog
index ff652dc..1a5422f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2018-07-28  John Darrington <john@darrington.wattle.id.au>
+
+        * s12z.h: Delete.
+
 2018-07-27  Alan Modra  <amodra@gmail.com>
 
 	* ppc-opc.c (insert_sprbat): Correct function parameter and
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]