Extern dwarf2_loc_mark_labels. Fixes compiation with -fno-common.
authormortimer <mortimer@openbsd.org>
Thu, 28 Jan 2021 01:39:19 +0000 (01:39 +0000)
committermortimer <mortimer@openbsd.org>
Thu, 28 Jan 2021 01:39:19 +0000 (01:39 +0000)
ok deraadt@

gnu/usr.bin/binutils-2.17/gas/dwarf2dbg.h

index cd1d17b..5b1110e 100644 (file)
@@ -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);