Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2020 20:49:02 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r359755 - in stable: 11/contrib/binutils/gas 12/contrib/binutils/gas
Message-ID:  <202004092049.039Kn2qX078356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/12/contrib/binutils/gas/dwarf2dbg.h
Directory Properties:
  stable/12/   (props changed)

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

Modified: stable/12/contrib/binutils/gas/dwarf2dbg.h
==============================================================================
--- stable/12/contrib/binutils/gas/dwarf2dbg.h	Thu Apr  9 20:38:36 2020	(r359754)
+++ stable/12/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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004092049.039Kn2qX078356>