[binutils-gdb] S12Z: Remove ELF_TARGET_ID macro

Alan Modra amodra@sourceware.org
Fri Jul 27 02:00:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=469d3b57cef3d9e02d4bc584a9cc814ef22cdb4e

commit 469d3b57cef3d9e02d4bc584a9cc814ef22cdb4e
Author: John Darrington <john@darrington.wattle.id.au>
Date:   Tue Jul 24 12:58:44 2018 +0200

    S12Z: Remove ELF_TARGET_ID macro
    
    	* elf32-s12z.c (ELF_TARGET_ID): Don't define.

Diff:
---
 bfd/ChangeLog    | 4 ++++
 bfd/elf32-s12z.c | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d94df80..34b0465 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
 2018-07-27  John Darrington  <john@darrington.wattle.id.au>
 
+	* elf32-s12z.c (ELF_TARGET_ID): Don't define.
+
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
 	* libbfd.c (bfd_getb24, bfd_getl24): New functions.
 	(bfd_get_24, bfd_put_24): New macros.
 	* bfd-in2.h: Regenerate.
diff --git a/bfd/elf32-s12z.c b/bfd/elf32-s12z.c
index a5a6dc5..400555d 100644
--- a/bfd/elf32-s12z.c
+++ b/bfd/elf32-s12z.c
@@ -254,7 +254,6 @@ s12z_elf_set_mach_from_flags (bfd *abfd)
 }
 
 #define ELF_ARCH		bfd_arch_s12z
-#define ELF_TARGET_ID		0
 #define ELF_MACHINE_CODE	EM_S12Z
 #define ELF_MAXPAGESIZE		0x1000



More information about the Binutils-cvs mailing list