aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-31 22:59:25 +1030
committerAlan Modra <amodra@gmail.com>2021-03-31 23:07:51 +1030
commit65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd (patch)
treeab8b336379c0639a78faaf9b19e0d5e0a10106c5 /bfd
parent5b7c81bd8cc80253a48c7045e4d2c8d2bf178eb9 (diff)
downloadgdb-65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd.zip
gdb-65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd.tar.gz
gdb-65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd.tar.bz2
PR27671, Poisoning TRUE / FALSE poisons Win32 system headers
PR 27671 * bfd-in.h: Don't poison FALSE or TRUE. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd')
-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