summaryrefslogtreecommitdiffstats
path: root/contrib/binutils
Commit message (Collapse)AuthorAgeFilesLines
* binutils/ld: fix incorrect placement of __start_SECNAME in some casesavg2010-07-191-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __start_SECNAME and __stop_SECNAME symbols are automatically generated by ld for orphan sections, i.e. those not explicitely referenced by a linker script. The symbols are supposed to be placed correspondingly at the start and the end of the section in output file. In some cases __start_SECNAME may be placed at the address after the end of the previous section (if any) and before the start the section. This happens when following conditions are met: 1. the orphan section is found in more than one input file 2. the orphan section has different alignment requirements across input files 3. the first instance of the section encountered doesn't have the greatest alignment requirement In these conditions resulting output section will be placed at address after the end of the previous section aligned to the greatest alignment requirement in the inputs, but __start_SECNAME will be placed at address after the end of the previous section aligned to the alignment requirement of the first input in which the section is encountered. See commit message of r196118 for a concrete example of problems caused by this bug. The fix is to place __start_SECNAME inside the section and use ABSOLUTE directive, rather than placing __start_SECNAME outside the section and trying to guess address alignment. This fix is in line with upstream binutils change/fix made between versions 2.19 and 2.20 in revision of 1.307 ldlang.c. MFC after: 3 weeks
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-102-3/+14
| | | | | | | | a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64
* readelf.1: remove duplicate -u/--unwind option descriptionavg2010-06-221-8/+0
| | | | MFC after: 2 weeks
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-0211-4017/+5069
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp
* Add armeb-*-freebsd* to the list of known architectures. This is likeimp2010-04-141-0/+4
| | | | | arm-*-freebsd*, except it defaults to big endian builds instead of little endian builds.
* Push mips support into the tree.imp2008-12-113-0/+30
|
* Bring these back to HEAD.obrien2008-05-297-0/+9661
| | | | | (I thought ncvs@ had rm'ed these MIPS files a long time ago... SVN had better work out - else 7 more files off the vendor branch.)
* This commit was generated by cvs2svn to compensate for changes in r179404,obrien2008-05-2939-0/+31112
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.15 branch (just post-.0 release).obrien2008-05-2946-0/+40773
| | | | | | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
* | This commit was generated by cvs2svn to compensate for changes in r175790,obrien2008-01-291-0/+2
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Bring in fix for Binutils PR other/16240: Check for a failure return fromobrien2008-01-291-0/+2
| | | | | | | | | | | | | | | | cplus_demangle_type. This is the rev 1.50-1.51 change. Our addr2line, etc.. would crash if used on C++ code that contains certain symbol types. One example is _ZN13PatternDriver23StringScalarDeleteValueC1ERKNS_25ConflateStringScalarValueERKNS_25AbstractStringScalarValueERKNS_12TemplateEnumINS_12pdcomplementELZNS_16complement_namesEELZNS_14COMPLEMENTENUMEEEE
* | Fix strict alias warnings.jb2007-11-231-3/+7
| |
* | This commit was generated by cvs2svn to compensate for changes in r168433,kan2007-04-062-20/+17
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import two binutils header files from FSF 2.15 branch.kan2007-04-062-20/+17
| | | | | | | | | | | | | | These fix binutils compilation on i386/amd64 with GCC 4.1 and have no other effect. No response by: obrien
* | This commit was generated by cvs2svn to compensate for changes in r159399,marius2006-06-081-1/+5
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking amarius2006-06-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-shared object, do not reserve space in .plt and .rela.plt for regular symbols neither defined nor referenced in shared objects. This is a backport of rev. 1.101 (sourceware.org repository) to Binutils 2.15 which fixes the creation of bogus relocations in the PLT of Firefox and Thunderbird binaries and which in turn caused them to segfault in rtld(1). This is committed to the vendor branch as it doesn't represent a local change but the original vendor fix is from after elf_link_hash_flags was replaced with bitfields. PR: sparc64/89486 Approved by: maintainer timeout Obtained from: NetBSD MFC after: 1 week
* | This commit was generated by cvs2svn to compensate for changes in r147824,obrien2005-07-071-101/+63
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Fix bogus fmov* SPARC opcodes.obrien2005-07-071-101/+63
| | | | | | | | | | | | | | | | | | (Note this makes the vendor branch not represent Binutils in the vendor's CVS repository at any point in time. Portmgr did not like the state of Binutils on Sparc that represented the point in time the vendor fixed this issue. I'd rather have fixed this on RELENG_6.) Approved by: re
* | This commit was generated by cvs2svn to compensate for changes in r131722,obrien2004-07-064-0/+985
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.15 branch (just post-.0 release).obrien2004-07-064-0/+985
| | | | | | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
* | Update HEAD with the stock binutils_2_15_20040523 file.obrien2004-06-1613-6350/+12318
| |
* | Blah, these came back. Use a bigger hammer.obrien2004-06-163-1390/+0
| |
* | Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.obrien2004-06-161-6/+6
| |
* | Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) intoobrien2004-06-161-307/+401
| | | | | | | | Binutils 2.15.
* | Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15.obrien2004-06-161-86/+461
| |
* | Merge our ELF branding into Binutils 2.15.obrien2004-06-161-1151/+1325
| |
* | This commit was generated by cvs2svn to compensate for changes in r130561,obrien2004-06-16644-102159/+199910
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.15 branch (just post-.0 release).obrien2004-06-16661-110036/+214410
| | | | | | | | These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
| * Play along with the effort to use getopt_long from libc.obrien2004-03-173-1388/+0
| |
| * Things that never should have been imported.obrien2003-03-0236-12979/+0
| |
| * Junk that never should have gotten imported.obrien2003-03-0219-36061/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r127105,obrien2004-03-173-1388/+0
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | From FSF Binutils CVS repo:obrien2003-05-281-1/+15
| | | | | | | | | | | | | | | | 2003-04-09 Richard Henderson <rth@redhat.com> * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>: Ignore relocations against r_symndx == 0. Requested by: kris,re(scottl)
* | This commit was generated by cvs2svn to compensate for changes in r111756,obrien2003-03-0219-2911/+0
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | Update HEAD with the stock files.obrien2002-12-028-258/+264
| |
* | Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)obrien2002-12-021-45/+58
| | | | | | | | into the Binutils 2.13.2 20021128 snap.
* | Remove our custom ELF branding -- we have moved to our own ELF vectorsobrien2002-12-022-40/+37
| | | | | | | | that DTRT.
* | Merge our ELF branding into Binutils 2_13_2_20021127 snapshot.obrien2002-12-021-32/+2
| |
* | GC some stuff I thought was long gone.obrien2002-12-0243-46844/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r107492,obrien2002-12-02109-2175/+3057
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.13 branch (just pre-.2 release).obrien2002-12-02127-2823/+18523
| | | | | | | | These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST.
* | Try to keep CVS from pissing over the next binutils import by returningobrien2002-12-0213-36/+0
| | | | | | | | to purely stock files.
* | This commit was generated by cvs2svn to compensate for changes in r104871,obrien2002-10-112-0/+112
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.13 branch (just pre-.1 release).obrien2002-10-112-0/+112
| | | | | | | | These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
* | This commit was generated by cvs2svn to compensate for changes in r104858,obrien2002-10-111-1/+1
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Typo fixed on Vendor branchobrien2002-10-111-1/+1
| |
* | Use the stock version of this.obrien2002-10-114-241/+354
| |
* | Bring the binutils_2_13_20021110 snap version of this to the HEAD branch.obrien2002-10-112-151/+254
| |
* | Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)obrien2002-10-111-4/+19
| | | | | | | | into Binutils 2.13.1 snap.
* | Bring the binutils_2_13_20021110_snap version of this to the HEAD branch.obrien2002-10-111-2/+4
| |
OpenPOWER on IntegriCloud