From: Alan Modra Date: Mon, 9 Mar 2026 23:12:23 +0000 (+1030) Subject: Remove POISON_BFD_BOOLEAN X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4b6636bc7f86e7241cca6663e72fcdcd1ed960;p=thirdparty%2Fbinutils-gdb.git Remove POISON_BFD_BOOLEAN 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 -#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