2009-06-12 16:47:10 +02:00
|
|
|
Index: ld/ldmain.c
|
|
|
|
===================================================================
|
- Update to binutils 2.28
* Add --fix-stm32l4xx-629360 to the ARM linker to enable a link-time
workaround for a bug in the bus matrix / memory controller for some of
the STM32 Cortex-M4 based products (STM32L4xx)
* Add a configure option --enable-compressed-debug-sections={all,ld} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Experimental support for linker garbage collection (--gc-sections)
has been enabled for COFF and PE based targets.
* New command line option for ELF targets to compress DWARF debug
sections, --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
* New command line option, --orphan-handling=[place|warn|error|discard], to
adjust how orphan sections are handled. The default is 'place' which gives
the current behaviour, 'warn' and 'error' issue a warning or error
respectively when orphan sections are found, and 'discard' will discard all
orphan sections.
* Add support for LLVM plugin.
* Add --print-memory-usage option to report memory blocks usage.
* Add --require-defined option, it's like --undefined except the new symbol
must be defined by the end of the link.
* Add a configure option --enable-compressed-debug-sections={all,gas} to
decide whether DWARF debug sections should be compressed by default.
* Add support for the ARC EM/HS, and ARC600/700 architectures. Remove
assembler support for Argonaut RISC architectures.
* Add option to objcopy to insert new symbols into a file:
--add-symbol <name>=[<section>:]<value>[,<flags>]
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
targets.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=200
2016-01-27 14:17:46 +01:00
|
|
|
--- ld/ldmain.c.orig 2016-01-27 13:44:14.092983985 +0100
|
|
|
|
+++ ld/ldmain.c 2016-01-27 13:44:37.389254054 +0100
|
|
|
|
@@ -286,6 +286,8 @@ main (int argc, char **argv)
|
|
|
|
#ifdef DEFAULT_FLAG_COMPRESS_DEBUG
|
|
|
|
link_info.compress_debug = COMPRESS_DEBUG_GABI_ZLIB;
|
|
|
|
#endif
|
2009-06-13 16:32:14 +02:00
|
|
|
+ if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
|
2012-09-14 14:30:55 +02:00
|
|
|
+ input_flags.add_DT_NEEDED_for_regular = TRUE;
|
2009-06-12 16:47:10 +02:00
|
|
|
|
|
|
|
ldfile_add_arch ("");
|
|
|
|
emulation = get_emulation (argc, argv);
|