]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* hppa-tdep.c (low_text_segment_addres): Fix a compilation warning.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 31 Oct 2002 23:34:47 +0000 (23:34 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 31 Oct 2002 23:34:47 +0000 (23:34 +0000)
gdb/ChangeLog
gdb/hppa-tdep.c

index c4db953052b01287f8a5877fdc7a0549f4c1849b..4078ec5303ecbf76ff45201f751536383bcf388b 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-31  Joel Brobecker  <brobecker@gnat.com>
+
+       * hppa-tdep.c (low_text_segment_addres): Fix a compilation warning.
+
 2002-10-25  Mark Kettenis  <kettenis@gnu.org>
 
        * Makefile.in (i386v-nat.o): Add $(i386_tdep_h).
index 3890fc2f77315ab5ea05b30b3f4e1466f5da82c8..0f29cb3455ba4f29a42a1742b2781f630fde80d9 100644 (file)
@@ -300,7 +300,7 @@ static CORE_ADDR low_text_segment_address;
 static void
 record_text_segment_lowaddr (bfd *abfd, asection *section, void *ignored)
 {
-  if ((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY)
+  if (((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
        == (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
       && section->vma < low_text_segment_address)
     low_text_segment_address = section->vma;