aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
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 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/srconv.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index e6ee1fb..6a868b1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-09 Tom Tromey <tromey@redhat.com>
+
+ * srconv.c (wr_hd): Add parens to placate gcc 4.4.
+
2008-12-09 Andrew Stubbs <ams@codesourcery.com>
* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M".
diff --git a/binutils/srconv.c b/binutils/srconv.c
index 2a7d638..efccd66 100644
--- a/binutils/srconv.c
+++ b/binutils/srconv.c
@@ -1,6 +1,6 @@
/* srconv.c -- Sysroff conversion program
Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2007 Free Software Foundation, Inc.
+ 2005, 2007, 2008 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -415,7 +415,7 @@ wr_hd (struct coff_ofile *p)
abort ();
}
- if (! bfd_get_file_flags(abfd) & EXEC_P)
+ if (! (bfd_get_file_flags(abfd) & EXEC_P))
{
hd.ep = 0;
}