Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: link problems
On Thu, Oct 10, 2013 at 11:49:08AM +0200, Joerg Sonnenberger wrote:
> By fixing the ld default.
Is this (untested) enough? Do we need add_DT_NEEDED_for_regular to be 0 too?
Martin
Index: ldlang.h
===================================================================
RCS file: /cvsroot/src/external/gpl3/binutils/dist/ld/ldlang.h,v
retrieving revision 1.4
diff -u -p -8 -r1.4 ldlang.h
--- ldlang.h 29 Sep 2013 14:03:31 -0000 1.4
+++ ldlang.h 10 Oct 2013 10:18:56 -0000
@@ -247,17 +247,17 @@ struct lang_input_statement_flags
unsigned int just_syms : 1;
/* Whether to search for this entry as a dynamic archive. */
unsigned int dynamic : 1;
/* Set if a DT_NEEDED tag should be added not just for the dynamic library
explicitly given by this entry but also for any dynamic libraries in
this entry's needed list. */
- unsigned int add_DT_NEEDED_for_dynamic : 1;
+ unsigned int add_DT_NEEDED_for_dynamic : 0;
/* Set if this entry should cause a DT_NEEDED tag only when some
regular file references its symbols (ie. --as-needed is in effect). */
unsigned int add_DT_NEEDED_for_regular : 1;
/* Whether to include the entire contents of an archive. */
unsigned int whole_archive : 1;
Home |
Main Index |
Thread Index |
Old Index