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

John Darrington john@darrington.wattle.id.au
Thu Aug 16 08:55:00 GMT 2018
ping.

On Thu, Aug 09, 2018 at 08:01:00PM +0200, John Darrington wrote:
     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

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



More information about the Binutils mailing list