[binutils-gdb] Remove POISON_BFD_BOOLEAN
Alan Modra via Binutils-cvs <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eb4b6636bc7f86e7241cca6663e72fcdcd1ed960 commit eb4b6636bc7f86e7241cca6663e72fcdcd1ed960 Author: Alan Modra <[email protected]> Date: Tue Mar 10 09:42:23 2026 +1030 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: --- bfd/sysdep.h | 2 -- binutils/sysdep.h | 2 -- gas/as.h | 2 -- ld/sysdep.h | 2 -- opcodes/sysdep.h | 2 -- 5 files changed, 10 deletions(-) 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