svn commit: r359755 - in stable: 11/contrib/binutils/gas 12/contrib/binutils/gas

Kyle Evans kevans at FreeBSD.org
Thu Apr 9 20:49:02 UTC 2020


Author: kevans
Date: Thu Apr  9 20:49:01 2020
New Revision: 359755
URL: https://svnweb.freebsd.org/changeset/base/359755

Log:
  gas: mark dwarf2_loc_mark_labels as extern
  
  Compiling with -fno-common complains as this header's included in multiple
  compilation units. In fact, the proper definition of dwarf2_loc_mark_labels
  already exists in dwarf2dbg.c, so simply mark this declaration with extern.

Modified:
  stable/11/contrib/binutils/gas/dwarf2dbg.h
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/contrib/binutils/gas/dwarf2dbg.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/contrib/binutils/gas/dwarf2dbg.h
==============================================================================
--- stable/11/contrib/binutils/gas/dwarf2dbg.h	Thu Apr  9 20:38:36 2020	(r359754)
+++ stable/11/contrib/binutils/gas/dwarf2dbg.h	Thu Apr  9 20:49:01 2020	(r359755)
@@ -78,7 +78,7 @@ extern void dwarf2_emit_label (symbolS *);
 /* True when we're supposed to set the basic block mark whenever a label
    is seen.  Unless the target is doing Something Weird, just call 
    dwarf2_emit_label.  */
-bfd_boolean dwarf2_loc_mark_labels;
+extern bfd_boolean dwarf2_loc_mark_labels;
 
 extern void dwarf2_finish (void);
 


More information about the svn-src-all mailing list