[binutils-gdb] obj-elf.h BYTES_IN_WORD

Alan Modra amodra@sourceware.org
Wed Feb 1 22:46:18 GMT 2023


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

commit 02ed5b2723b2592266c387902bc2661d4b731efc
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 1 23:34:16 2023 +1030

    obj-elf.h BYTES_IN_WORD
    
    Don't define this.  It is defined just before elf-bfd.h is included,
    but doesn't have any relevance there.  Instead is for aout64.h where
    the default is 4 anyway.

Diff:
---
 gas/config/obj-elf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 727924ce234..e8fc3126bed 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -33,7 +33,6 @@
 #define OUTPUT_FLAVOR bfd_target_elf_flavour
 #endif
 
-#define BYTES_IN_WORD 4		/* for now */
 #include "bfd/elf-bfd.h"
 
 #include "targ-cpu.h"


More information about the Binutils-cvs mailing list