aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-12-09 18:59:54 +0000
committerTom Tromey <tromey@redhat.com>2008-12-09 18:59:54 +0000
commitf904699ae8e81f71d58f6348419d7f9fb0ba4705 (patch)
tree2dafd7cd302791cf365cbb812a5112a59a5c7707 /bfd
parente3b886f8c3d2a021351a7436fbffdc56be684cc1 (diff)
downloadgdb-f904699ae8e81f71d58f6348419d7f9fb0ba4705.zip
gdb-f904699ae8e81f71d58f6348419d7f9fb0ba4705.tar.gz
gdb-f904699ae8e81f71d58f6348419d7f9fb0ba4705.tar.bz2
bfd
* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc 4.4. binutils * srconv.c (wr_hd): Add parens to placate gcc 4.4.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/pef.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 93a8de8..2a8aab3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-09 Tom Tromey <tromey@redhat.com>
+
+ * pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc
+ 4.4.
+
2008-12-09 Tristan Gingold <gingold@adacore.com>
* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.
diff --git a/bfd/pef.c b/bfd/pef.c
index 6630a77..b839095 100644
--- a/bfd/pef.c
+++ b/bfd/pef.c
@@ -97,7 +97,7 @@ bfd_pef_parse_traceback_table (bfd *abfd,
if (! (table.flags2 & TB_NAME_PRESENT))
return -1;
- if (! table.flags1 & TB_HAS_TBOFF)
+ if (! (table.flags1 & TB_HAS_TBOFF))
return -1;
offset = 8;