forked from pool/binutils
a121495e23
- Update to binutils 2.35: * The asseembler can now produce DWARF-5 format line number tables. * Readelf now has a "lint" mode to enable extra checks of the files it is processing. * Readelf will now display "[...]" when it has to truncate a symbol name. The old behaviour - of displaying as many characters as possible, up to the 80 column limit - can be restored by the use of the --silent-truncation option. * The linker can now produce a dependency file listing the inputs that it has processed, much like the -M -MP option supported by the compiler. - Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue. - Remove binutils-2.34-branch.diff.gz. - Regenerate binutils-build-as-needed.diff due to a fuzzing issue. - Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed. - Remove upstreamed patch binutils-pr25593.diff. - Regenerate unit-at-a-time.patch due to a fuzzing issue. - Regenerate binutils-revert-plt32-in-branches.diff. OBS-URL: https://build.opensuse.org/request/show/822679 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=338
14 lines
470 B
Diff
14 lines
470 B
Diff
Index: ld/ldmain.c
|
|
===================================================================
|
|
--- ld/ldmain.c.orig 2017-07-26 10:07:31.862559913 +0200
|
|
+++ ld/ldmain.c 2017-07-26 10:07:31.886560303 +0200
|
|
@@ -307,6 +307,8 @@ main (int argc, char **argv)
|
|
yydebug = 1;
|
|
}
|
|
#endif
|
|
+ if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
|
|
+ input_flags.add_DT_NEEDED_for_regular = TRUE;
|
|
|
|
config.build_constructors = TRUE;
|
|
config.rpath_separator = ':';
|