[binutils-gdb] Fix bfd/dwarf2.c build breakage

Pedro Alves palves@sourceware.org
Tue Nov 8 12:41:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3b0d929dd61fcd55b4ef320a2033c731443b394f

commit 3b0d929dd61fcd55b4ef320a2033c731443b394f
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Nov 8 12:32:05 2016 +0000

    Fix bfd/dwarf2.c build breakage
    
    Fix build breakage introduced by commit 089e3718bd8d ("Greatly improve
    the speed if looking up DWARF line number information."):
    
     -  bfd_boolean is_linkage;
     -  const char *name;
     -  struct arange arange;
     +  int                  line;
     +  int                  tag;
     +  bfd                  boolean is_linkage;
    
    bfd/ChangeLog:
    2016-11-08  Pedro Alves  <palves@redhat.com>
    
    	* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
    	not "bfd boolean".

Diff:
---
 bfd/ChangeLog | 5 +++++
 bfd/dwarf2.c  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d7f097f..9fd5841 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-08  Pedro Alves  <palves@redhat.com>
+
+	* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
+	not "bfd boolean".
+
 2016-11-08  Igor Tsimbalist  <tigor.tools@gmail.com>
 
 	* dwarf2.c (comp_unit): Add new fields 'lookup_funcinfo_table' and
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 7215e7a..287ba0f 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -1280,7 +1280,7 @@ struct funcinfo
   /* Source location line number.  */
   int			line;
   int			tag;
-  bfd			boolean is_linkage;
+  bfd_boolean		is_linkage;
   const char *		name;
   struct arange		arange;
   /* Where the symbol is defined.  */



More information about the Binutils-cvs mailing list