obj-elf.h BYTES_IN_WORD

Message ID Y9rrosJRMXXJwzAo@squeak.grove.modra.org
State Unresolved
Headers
Series obj-elf.h BYTES_IN_WORD |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Alan Modra Feb. 1, 2023, 10:45 p.m. UTC
  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.
  

Patch

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"