ports/devel/binutils/files/patch-gold_options.h
Niclas Zeising b9c90aa46a Update to 2.24
Do not install libiberty.a to aviod conflicts with devel/gnulibiberty [0]
Do not install include/ansidecl.h, to avoid conflicts with gcc49 [1]
Fix gold usage when linking c++ code, related to ctors [2]

Thanks to dim for help with getting gold to build with libc++!

PR:		ports/176406 [0], ports/184327 [1]
Submitted by:	Craig Leres <leres@ee.lbl.gov> [0]
		Gerald Pfeifer <gerald@pfeifer.com> [1]
Requested by:	rdivacky [2]
2013-12-16 14:52:26 +00:00

15 lines
722 B
C

--- gold/options.h.orig 2013-12-13 18:39:11.252052912 +0100
+++ gold/options.h 2013-12-13 18:41:04.363051429 +0100
@@ -716,9 +716,9 @@
N_("Output cross reference table"),
N_("Do not output cross reference table"));
- DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', true,
- N_("Use DT_INIT_ARRAY for all constructors (default)"),
- N_("Handle constructors as directed by compiler"));
+ DEFINE_bool(ctors_in_init_array, options::TWO_DASHES, '\0', false,
+ N_("Use DT_INIT_ARRAY for all constructors"),
+ N_("Handle constructors as directed by compiler (default)"));
DEFINE_bool(define_common, options::TWO_DASHES, 'd', false,
N_("Define common symbols"),