Remove POISON_BFD_BOOLEAN

Alan Modra amodra@gmail.com
Mon Mar 9 23:59:24 GMT 2026


We don't need this definition any more.  Incidentally, the poisoning
wasn't effective in gas since the define came after bfd.h was
included.

diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index 0d111dde2fd..dc73554995f 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -211,6 +211,4 @@ extern int fseeko64 (FILE *stream, off64_t offset, int whence);
 #define getgid() 0
 #endif
 
-#define POISON_BFD_BOOLEAN 1
-
 #endif /* ! defined (BFD_SYSDEP_H) */
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index 61332839e10..9cdfc500ea3 100644
--- a/binutils/sysdep.h
+++ b/binutils/sysdep.h
@@ -120,6 +120,4 @@ extern char **environ;
 
 #include <limits.h>
 
-#define POISON_BFD_BOOLEAN 1
-
 #endif /* _BIN_SYSDEP_H */
diff --git a/gas/as.h b/gas/as.h
index 1c96a69ea09..f0fbf38adee 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -715,6 +715,4 @@ COMMON int flag_sectname_subst;
 #define SEC_OCTETS 0
 #endif
 
-#define POISON_BFD_BOOLEAN 1
-
 #endif /* GAS */
diff --git a/ld/sysdep.h b/ld/sysdep.h
index 4d437951102..f4bd08098eb 100644
--- a/ld/sysdep.h
+++ b/ld/sysdep.h
@@ -100,6 +100,4 @@ extern char *stpcpy (char *__dest, const char *__src);
 extern unsigned long long strtoull(const char *, char **, int);
 #endif
 
-#define POISON_BFD_BOOLEAN 1
-
 #endif /* ! defined (LD_SYSDEP_H) */
diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h
index d4ecffd08db..3bd2788416d 100644
--- a/opcodes/sysdep.h
+++ b/opcodes/sysdep.h
@@ -55,5 +55,3 @@ extern char *stpcpy (char *__dest, const char *__src);
 #define OPCODES_SIGSETJMP(buf)		setjmp(buf)
 #define OPCODES_SIGLONGJMP(buf,val)	longjmp((buf), (val))
 #endif
-
-#define POISON_BFD_BOOLEAN 1

-- 
Alan Modra


More information about the Binutils mailing list