svn commit: r359388 - head/contrib/binutils/gas

Kyle Evans kevans at FreeBSD.org
Sat Mar 28 04:15:47 UTC 2020


Author: kevans
Date: Sat Mar 28 03:58:57 2020
New Revision: 359388
URL: https://svnweb.freebsd.org/changeset/base/359388

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:
  head/contrib/binutils/gas/dwarf2dbg.h

Modified: head/contrib/binutils/gas/dwarf2dbg.h
==============================================================================
--- head/contrib/binutils/gas/dwarf2dbg.h	Sat Mar 28 01:16:06 2020	(r359387)
+++ head/contrib/binutils/gas/dwarf2dbg.h	Sat Mar 28 03:58:57 2020	(r359388)
@@ -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