aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/bfd-in.h2
-rw-r--r--bfd/bfd-in2.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9a91526..e12c559 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2021-03-31 Alan Modra <amodra@gmail.com>
+ PR 27671
+ * bfd-in.h: Don't poison FALSE or TRUE.
+ * bfd-in2.h: Regenerate.
+
+2021-03-31 Alan Modra <amodra@gmail.com>
+
* sysdep.h: POISON_BFD_BOOLEAN: Define.
* aix5ppc-core.c, * aout-cris.c, * aout-ns32k.c, * aout-target.h,
* aoutx.h, * arc-got.h, * archive.c, * archive64.c, * archures.c,
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 6f72cc4..1fbccca 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -120,7 +120,7 @@ typedef struct bfd bfd;
success and FALSE on failure (unless they're a predicate). */
#ifdef POISON_BFD_BOOLEAN
-# pragma GCC poison bfd_boolean FALSE TRUE
+# pragma GCC poison bfd_boolean
#else
# define bfd_boolean bool
# undef FALSE
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 40d35a1..2b431da 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -127,7 +127,7 @@ typedef struct bfd bfd;
success and FALSE on failure (unless they're a predicate). */
#ifdef POISON_BFD_BOOLEAN
-# pragma GCC poison bfd_boolean FALSE TRUE
+# pragma GCC poison bfd_boolean
#else
# define bfd_boolean bool
# undef FALSE