summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/gold
Commit message (Collapse)AuthorAgeFilesLines
* Remove old versions of binutils.Dan Albert2015-06-17400-161686/+0
| | | | Change-Id: If634d8d30cfa8c88ca3ba59691a0df4ee5596f85
* Fix extraneous warning about executable stack.Cary Coutant2014-12-022-3/+18
| | | | | | | | | | | | | | | | | | | | PR gold/17578 notes that gold will print a warning about an executable stack when the -z execstack option is given, even when there is no --warn_execstack option. The warning is completely useless and unexpected, since the user explicitly requested an executable stack, and did not even ask for warnings. This patch fixes that, and adds an extra warning when --warn_execstack and -z noexecstack are both given and an input file requires an executable stack. gold/ PR gold/17578 * layout.cc (Layout::layout_gnu_stack): Don't warn when -z execstack is given. (Layout::create_executable_stack_info): Warn when -z noexecstack is given but some inputs require executable stack. Change-Id: I7b15682af81d3c52057473d347f83a768e087ffa
* [2.21, 2.22, 2.23] Backport of the patch for keeping lto sectionsAlexander Ivchenko2014-03-051-1/+2
| | | | | | | | | | | | when linking with "-r" options (ld bfd behaviour). 2012-10-16 Sriraman Tallam <tmsriram@google.com> * layout.cc (Layout::include_section): Keep sections marked SHF_EXCLUDE when doing relocatable links. Change-Id: Icc49c2b8e34097ec95d869a70d367ef6faf320ed Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* [2.21], [2.22], [2.23] Backport of the patch for fixing large symbol alignment.Alexander Ivchenko2013-06-064-3/+90
| | | | | | | | | | | | | | | 2013-06-05 Alexander Ivchenko <alexander.ivchenko@intel.com> gold/ * layout.cc (Layout::set_segment_offsets): Taking care of the case when the maximum segment alignment is larger than the page size. * testsuite/Makefile.am (large_symbol_alignment): Test that Gold correctly aligns the symbols with large alignemnt. * testsuite/Makefile.in: Regenerate. * testsuite/large_symbol_alignment.cc: New file. Change-Id: I2fe5b73b9e76050f0f42bbbc9086d0d5824c0020 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* [2.21] Backport patches from trunk for merging string literalsAndrew Hsieh2013-05-3110-24/+177
| | | | | | | | | | | | 2013-05-03 Alan Modra <amodra@bigpond.net.au> 2013-05-01 H.J. Lu <hjl.tools@gmail.com> 2013-05-01 Cary Coutant <ccoutant@google.com> 2013-04-29 Alexander Ivchenko <alexander.ivchenko@intel.com> See the same patch to 2.22/2.23 f69768d4c89186a859db6aa967f9bde047b50b6d for more details Change-Id: Ifb8582f1bee390fb26ce0f6fa56b8958fd589a9a
* Backport Pavel Chupin's fixes for mingw gold pluginsRay Donnelly2013-02-037-2/+79
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog modified to reflect minor changes, for original patch and changelog, see the links. Thread starts in December: http://sourceware.org/ml/binutils/2012-12/msg00255.html ..continues into January: http://sourceware.org/ml/binutils/2013-01/msg00061.html ..and ends with the final version by Ian Lance Taylor: http://sourceware.org/ml/binutils/2013-01/msg00167.html ChangeLog: 2012-12-25 Pavel Chupin <[hidden email]> Fix mingw gold build with plugins enabled. * gold/Makefile.am: Replace -ldl with @DLOPEN_LIBS@. * gold/configure.ac: Export DLOPEN_LIBS, add headers check. * gold/plugin.cc: Handle non-dlfcn case. * gold/Makefile.in: Regenerate. * gold/config.in: Regenerate. * gold/configure: Regenerate. * gold/testsuite/Makefile.in: Regenerate.
* Backport for binutil-2.21 to respond to --with-gold-ldflagsAndrew Hsieh2012-12-304-4/+66
| | | | | | | | | | | | | | | This is needed to statically link libgcc and libstdc++ into gold 2011-09-20 Simon Baldwin &lt;simonb@google.com&gt; * configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags configuration options. * configure: Regenerate. * Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. Change-Id: I279fa7c707519cedd994248c63cae13d3c73cd35
* Fix gold issue on fsck_msdos build when objects built by ICCPavel Chupin2012-11-081-0/+13
| | | | | | | | | | Backport layout.cc CVS rev. 1.185.2.3 from GNU 2.21 branch: * layout.cc (Layout::layout): If the output section flags change, update the ordering. Change-Id: Id9653366475eebdf432a03650388279bdb127382 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Fix ld.gold i586-mingw32msvcAndrew Hsieh2012-08-083-4/+4
| | | | | | | By adding cast where i586-mingw32msvc-gcc gives warnings later treated as errors Change-Id: I98325a9ffc90c151647439bcef343fac9e360770
* Fix ld.gold build with latest mingw 20120730Pavel Chupin2012-08-029-83/+97
| | | | | | | | | Backport patch 1.859 (CVS ChangeLog revision) Remove unused typedefs All changes are already in trunk Change-Id: I47826e83b37275bab77e94a8213aafbcc9d7de28 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Removed unused variablesAndrew Hsieh2012-08-011-3/+0
| | | | | | | -Werror may fail compilation if variables defined but left unused The patch already appears in upstream Change-Id: Ie2310d3176d5514b92c5c6514856622a2c068c74
* Fix ld.gold mingw buildAndrew Hsieh2012-07-308-49/+308
| | | | | | | | | | | | | | | | | | | Back port fixes in 2.21.51 for mingw build: For systems w/o mmap support 1.29 config.in 1.62 configure.ac 1.65 configure 1.73 fileread.cc 1.3 mremap.c 1.142 output.cc 1.120 output.h For mingw specific 1.10 descriptos.cc 1.143 output.cc Change-Id: I40e088266c203106864f5a440d8bdf2ab295e547
* Fixed binutils-2.21/gold build in MacOSXAndrew Hsieh2012-06-071-2/+2
| | | | | | | | The gcc 4.2.1 (Apple Inc. build 5666, dot 3) comes with Xcode 3.2.6 emits warning for "while (0);" and breaks the build (thanks to -Werror which treat warning as error). Change to "do {} while (0)" to fix it. Change-Id: I7515b57ea2a7b7aac073d6752aea4620f5a9cce1
* Fix a gold bug.Jing Yu2012-04-092-14/+14
| | | | | | | | | | | gold/icf.cc gold/icf.h Status: In upstream. Fix dangling pointer bug caused by calling c_str method of temporary string object. http://cygwin.com/ml/binutils/2011-02/msg00030.html Change-Id: If296a2c0adda0ab825bd248abdbe21ab0f071721
* Fix a few gold bugs.Jing Yu2012-03-2211-67/+190
| | | | Change-Id: Iac85fb0c38afd5f8d800ac08b30ae4790be09d0b
* Update binutils-2.21. Changes are the followingsJing Yu2012-02-155-14/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gold/yyscript.y Status: Backport Owner: saugustine Backport upstream patch to fix INCLUDE syntax errors. http://sourceware.org/ml/binutils/2011-11/msg00089.html gold/dirsearch.cc gold/dirsearch.h gold/script.cc.cc Status: Backport Owner: saugustine Backport upstream patch to implement INCLUDE directive http://sourceware.org/ml/binutils/2011-11/msg00165.html gas/config/tc-arm.c gas/testsuite/gas/arm/attr-march-armv7.d include/opcode/arm.h Status: Upstream Owner: dougkwan Fix b/5803351 by merging relevant parts of: http://www.cygwin.com/ml/binutils-cvs/2011-04/msg00112.html gold/arm.cc Status: Upstream Owner: dougkwan Fix PIE crashes on ARM. http://sourceware.org/ml/binutils-cvs/2012-02/msg00012.html gas/as.c Status: Local for mobile release branch Owner: jingyu Allow .incbin by default. Change-Id: Ie13a05e621ad34e292bc0384b3a05b9f7f6d6f8d
* Add binutils-2.21.Jing Yu2011-12-20396-0/+160836
Use --enable-gold=default for dual linker support. Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49