浏览代码

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

wdenk 22 年之前
父节点
当前提交
9c62cc58b8
共有 2 个文件被更改,包括 3 次插入1 次删除
  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) {