Sfoglia il codice sorgente

Fix problem with usage of "true" (undefined in current versions of bfd.h)

wdenk 22 anni fa
parent
commit
9c62cc58b8
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 2 0
      CHANGELOG
  2. 1 1
      tools/gdb/astest.c

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes since U-Boot 0.3.1:
 ======================================================================
 
+* Fix problem with usage of "true" (undefined in current versions of bfd.h)
+
 * Add support for Promess ATC board
 
 * Patch by Keith Outwater, 28 Apr 2003:

+ 1 - 1
tools/gdb/astest.c

@@ -81,7 +81,7 @@ main(int ac, char **av)
 	close(ifd);
 	Error("bfd_fdopenr of file '%s' failed", ifn);
     }
-    bfdp->cacheable = true;
+    bfdp->cacheable = 1;
 
     if (!bfd_check_format(bfdp, bfd_object) ||
       (bfd_get_file_flags(bfdp) & EXEC_P) == 0) {