aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revisionMartin Matuska2011-03-2939-58/+688
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rev. 127959 of gcc-4_2-branch). Resolved GCC bugs: c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346, 32898, 32992 debug: 32610, 32914 libstdc++: 33084, 33128 middle-end: 32563 rtl-optimization: 33148 tree-optimization: 25413, 32723 target: 32218 Tested by: pointyhat (miwi) Obtained from: gcc (gcc-4_2-branch up to rev. 127959) PR: gnu/153298, gnu/153959, gnu/154385 MFC after: 1 month Notes: svn path=/head/; revision=220150
| * Reorganize the gcc vendor import work area. This flattens out a bunchPeter Wemm2008-06-013662-2367418/+0
| | | | | | | | | | | | | | | | | | of unnecessary path components that are relics of cvs2svn. (These are directory moves) Notes: svn path=/vendor/gcc/dist/; revision=179468
* | - Merge in OFED 1.5.3 from projects/ofed/headJeff Roberson2011-03-21842-0/+321129
| | | | | | | | Notes: svn path=/head/; revision=219820
* | Import openresolv from vendor branch, actually.Hajimu UMEMOTO2011-03-1812-0/+1727
| | | | | | | | | | | | | | Helped by: jhb Notes: svn path=/head/; revision=219736
* | Backport missing tunings for -march=core2:Martin Matuska2011-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | - enable extra 80387 mathematical constants (ext_80387_constants) [1] - enable compare and exchange 16 bytes (cmpxchg16b) [2] Verified against llvm-gcc (and apple gcc) Obtained from: gcc-4.3 (ref. svn revs. 119260 [1], 121140 [2]; GPLv2) MFC after: 2 weeks Notes: svn path=/head/; revision=219711
* | Fix -march/-mtune=native autodetection for Intel Core 2 CPUsMartin Matuska2011-03-161-2/+9
| | | | | | | | | | | | | | | | Obtained from: gcc 4.3 (partial rev. 119454; GPLv2) MFC after: 2 weeks Notes: svn path=/head/; revision=219697
* | MFV of r219685, tzdata2011dEdwin Groothuis2011-03-164-26/+57
| | | | | | | | | | | | | | | | | | | | | | - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/head/; revision=219687
* | Backport SSSE3 instruction set support to base gcc.Martin Matuska2011-03-1411-20/+1312
| | | | | | | | | | | | | | | | | | | | Enabled by default for -march=core2 Obtained from: gcc 4.3 (rev. 117958, 121687, 121726, 123639; GPLv2) MFC after: 2 weeks Notes: svn path=/head/; revision=219639
* | Merge gdtoa-20110304.David Schultz2011-03-1231-646/+3183
|\ \ | | | | | | | | | Notes: svn path=/head/; revision=219557
* | | Now that TLS is supported for sparc64 by both binutils 2.17.50 committedMarius Strobl2011-03-111-0/+7
| | | | | | | | | | | | | | | | | | | | | in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. Notes: svn path=/head/; revision=219534
* | | In the upstream rev. 1.61 of elf64-sparc.c the following bug was fixed:Marius Strobl2011-03-111-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of dynamic relocs against section symbols for the output section vma. However, with the addition of TLS support in the upstream rev. 1.104 this fix was essentially reverted. After factoring out the common parts of elf32-sparc.c and elf64-sparc.c a comment was added to elfxx-sparc.c in the upstream rev. 1.27 as part of unrelated changes, saying that the fix from elf64-sparc.c rev. 1.61 indeed should be implemented, but given that some unspecified OS has a broken ld.so expecting broken relocations deliberately is omitted. As the current behavior actually violates the SPARC ABI, FreeBSD never had such a broken ld.so and this is actually causing problems with at least kernel modules linked with binutils 2.17.50 committed in r218822 without the workaround committed in r219340 in place, re-implement the above fix in a way so that is only applied if the output format is ELFOSABI_FREEBSD. In the upstream version it probably would make sense to invert this check and only skip adjusting the addend for the OS with the broken ld.so, once it's determine which one that is. Approved by: dim Notes: svn path=/head/; revision=219530
* | | Merge my change against libpcap trunk revisionXin LI2011-03-111-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c65292b04b98d6a76d58c5a54ca8f81463bf24de to support new SIOCGIFDESCR ioctl interface which was too late for libpcap 1.1.1. Reported by: brucec Noticed by: wxs Notes: svn path=/head/; revision=219472
* | | Remove stray semicolon. This fix appears in later upstream gdb versions.Ed Maste2011-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | Submitted by: eadler Notes: svn path=/head/; revision=219418
* | | MFV of tzdata2011c, r219409Edwin Groothuis2011-03-084-13/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. Notes: svn path=/head/; revision=219411
* | | Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)Martin Matuska2011-03-077-48/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These options are supported in this shape in all newer GCC versions. PR: gnu/155308 Obtained from: gcc 4.3 (rev. 118090, 118973, 120846; GPLv2) MFC after: 2 weeks Notes: svn path=/head/; revision=219374
* | | Unbreak .Aq for non-ASCII output like -Tps or -Tutf8.Ulrich Spörlein2011-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | groff will try to produce fancy angle brackets like Foo ⟨foo@FreeBSD.org⟩ This is nice and well, but no email client will understand them. For ease of copy&paste keep the one-true pair of brackets 0x3c/0x3e. See: RFC 822, RFC 2822 PR: gnu/154822 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> MFC after: 2 weeks Notes: svn path=/head/; revision=219209
* | | MFV of tzdata2011b, r219147Edwin Groothuis2011-03-012-4/+26
| | | | | | | | | | | | | | | | | | | | | - USA/Mercer County, North Dakota - Moved from Mountain time to Central time. Notes: svn path=/head/; revision=219149
* | | Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c:Rebecca Cran2011-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only attempt to el_parse() a command unknown by the default parser if editing is enabled. PR: bin/100089 MFC after: 3 days Notes: svn path=/head/; revision=219081
* | | Update llvm/clang to trunk r126547.Dimitry Andric2011-02-27289-4855/+9228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several bugfixes in this update, but the most important one is to ensure __start_ and __stop_ symbols for linker sets and kernel module metadata are always emitted in object files: http://llvm.org/bugs/show_bug.cgi?id=9292 Before this fix, if you compiled kernel modules with clang, they would not be properly processed by kldxref, and if they had any dependencies, the kernel would fail to load those. Another problem occurred when attempting to mount a tmpfs filesystem, which would result in 'operation not supported by device'. Notes: svn path=/head/; revision=219077
* | | Instead of defining LLVM_MULTITHREADED as 0 or 1, define or undefine it,Dimitry Andric2011-02-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | and test appropriately. Otherwise it might erroneously pick up some pthread primitives, and fail to link. Notes: svn path=/head/; revision=219076
* | | Remove getDriver().Dir + /../libexec and /usr/libexec from clang'sDimitry Andric2011-02-261-2/+0
| | | | | | | | | | | | | | | | | | | | | program paths. Unlike gcc, clang has no executables in libexec. Notes: svn path=/head/; revision=219073
* | | Remove misapplied space.Dimitry Andric2011-02-261-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=219072
* | | Recently, in upstream clang, a fix was done to add -L/usr/lib to theDimitry Andric2011-02-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arguments passed to ld, when linking. This was to appease configure scripts in several ports, that grep for such a -L option in "${CC} -v" output, to determine the startup objects passed to ld. Note ld itself does not need to be told about /usr/lib, since it has this path builtin anyway. However, if clang is built as a bootstrap tool during buildworld, it should not use *anything* outside ${WORLDTMP} to include or link with. The upstream fix to add -L/usr/lib breaks this assumption, and can thus cause libraries from /usr/lib to be linked in during buildworld. This can result in buildworld dying during linking of zinject, where it picks up the wrong copy of libzpool.so, eventually leading to: /usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to `_rtld_get_stack_prot' Fix this issue by not adding any hardcoded paths, but by looping through the run-time library path list, which is already correctly set for the bootstrap phase. Reported by: datastream.freecity@gmail.com Pointy hat to: dim Notes: svn path=/head/; revision=219011
* | | Update xz to release 5.0.1Martin Matuska2011-02-2414-307/+688
| | | | | | | | | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=219001
* | | Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3Martin Matuska2011-02-203-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). PR: gnu/154906 Discussed with: kib, kan, dim Obtained from: gcc 4.3 (r124339, GPLv2 licensed) MFC after: 2 weeks Notes: svn path=/head/; revision=218895
* | | Upgrade our copy of llvm/clang to r126079, from upstream's trunk.Dimitry Andric2011-02-201891-123248/+227144
| | | | | | | | | | | | | | | | | | | | | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. Notes: svn path=/head/; revision=218893
* | | Turn off default generation of userland dot symbols on powerpc64 now thatNathan Whitehorn2011-02-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | we have a binutils that supports it. Kernel dot symbols remain on to assist DDB. Notes: svn path=/head/; revision=218824
* | | Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-02-181008-214703/+394410
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17 Notes: svn path=/head/; revision=218822
| * \ \ Sync: merge r216133 through r216338 from ^/head.Dimitry Andric2010-12-0957-359/+5639
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=216339
| * | | | Try a more generic version of the last two fixes. Assuming this is correct,Nathan Whitehorn2010-12-071-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it should also be MI. The problem here arises when ld ends up linking a link-once section with relocations against sections that point back to it that are as yet unresolved. Instead of piecemeal finding sections we think are potentially subject to this issue, just defer processing for sections that have yet to be relocated instead of immediately bailing. Notes: svn path=/projects/binutils-2.17/; revision=216281
| * | | | Fix another .got references-in-linkonce-sections issue with C++. There areNathan Whitehorn2010-12-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remaining issues here, and a more general solution is probably called for. Submitted by: Jakob van Santen <vansanten@wisc.edu> Notes: svn path=/projects/binutils-2.17/; revision=216278
| * | | | For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so theDimitry Andric2010-12-054-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ELF branding for FreeBSD is done in the same way as amd64, i386 and sparc. Something similar should probably also be done for arm, mips and powerpc. Notes: svn path=/projects/binutils-2.17/; revision=216200
| * | | | Sync: merge r215944 through r216132 from ^/head.Dimitry Andric2010-12-0221-6982/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=216133
| * \ \ \ \ Sync: merge r215464 through r215708 from ^/head.Dimitry Andric2010-11-2214-112/+123
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215710
| * | | | | | Revert patch for gcc PR 20218 for now, I hope it can land in headDimitry Andric2010-11-187-66/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | soon, otherwise I'll just reapply it again. Notes: svn path=/projects/binutils-2.17/; revision=215465
| * | | | | | Sync: merge r215396 through r215463 from ^/head.Dimitry Andric2010-11-189-113/+68
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215464
| * \ \ \ \ \ \ Sync: merge r215189 through r215272 from ^/head.Dimitry Andric2010-11-141-4/+8
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215273
| * \ \ \ \ \ \ \ Sync: merge r215141 through r215188 from ^/head.Dimitry Andric2010-11-1233-684/+1381
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215189
| * \ \ \ \ \ \ \ \ Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-11231-62/+12477
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * \ \ \ \ \ \ \ \ \ Sync: merge r214649 through r214894 from ^/head.Dimitry Andric2010-11-06491-30565/+48351
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214895
| * | | | | | | | | | | Backport a fix for binutils PR7093, which caused segfaults in ldDimitry Andric2010-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targeting arm, when attempting to create object files from arbitrary binary file (e.g. firmware blobs). Notes: svn path=/projects/binutils-2.17/; revision=214751
| * | | | | | | | | | | Sync: merge r214353 through r214648 from ^/head.Dimitry Andric2010-11-01423-18413/+51526
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214650
| * \ \ \ \ \ \ \ \ \ \ \ Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which bringsDimitry Andric2010-11-01611-85282/+198461
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | us up to version 2.17.50.20070703, at the last GPLv2 commit. Amongst others, this added upstream support for some FreeBSD-specific things that we previously had to manually hack in, such as the OSABI label support, and so on. There are also quite a number of new files, some for cpu's (e.g. SPU) that we may or may not be interested in, but those can be cleaned up later on, if needed. Notes: svn path=/projects/binutils-2.17/; revision=214634
| * | | | | | | | | | | | | Fix a manifestation of GCC bug 16625 that caused ld >= 2.17 to fail onNathan Whitehorn2010-10-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64-bit PowerPC when linking multiple C++ files referencing the same method, defined in a common header, when that method had a switch statement with more than 4 cases. This change fixes compilation of LLVM tblgen on 64-bit PPC with binutils 2.17. Lots of help from: dim Upstream after: more testing Notes: svn path=/projects/binutils-2.17/; revision=214360
| * | | | | | | | | | | | | Sync: merge r214221 through r214352 from ^/head.Dimitry Andric2010-10-251-5/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214357
| * | | | | | | | | | | | | | Apply commit f6c8fecc6fe3d5532691867a7f27820bb1c426a9 from upstreamDimitry Andric2010-10-253-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (still under GPLv2 at that time): Author: H.J. Lu <hjl@lucon.org> Date: Wed Sep 27 04:18:16 2006 +0000 PR ld/3223 PR ld/3267 * bfd/elf.c (assign_file_positions_for_non_load_sections): Don't warn zero size allocated sections. * ld/ldlang.h (lang_output_section_statement_type): Add section_relative_symbol. * ld/ldlang.c (strip_excluded_output_sections): Don't strip a section with a symbol relative to it. (lang_size_sections_1): Mark if an output section has a symbol symbol relative to it. This prevents warnings like the following during stripping of debug info from kernel modules on i386: ===> zlib (all) ... objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko BFD: zlib.ko: warning: allocated section `.plt' not in segment BFD: zlib.ko: warning: allocated section `.got' not in segment Notes: svn path=/projects/binutils-2.17/; revision=214355
| * | | | | | | | | | | | | | Apply commit d3a5e914c6ff07c426b026b0cda8d044fd1cdabe from upstreamDimitry Andric2010-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (still under GPLv2 at that time): Author: Nick Clifton <nickc@redhat.com> Date: Thu Aug 24 14:59:24 2006 +0000 * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum): Adjust the current address of DEFAULT_MEMORY_REGION even when dot hasn't changed. This is a prerequisite for the fix coming just after this. Notes: svn path=/projects/binutils-2.17/; revision=214354
| * | | | | | | | | | | | | | Fix gdb compilation with new binutils:Dimitry Andric2010-10-2210-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd_get_section_size_before_reloc() has been renamed to bfd_get_section_size(). Notes: svn path=/projects/binutils-2.17/; revision=214212
| * | | | | | | | | | | | | | Make contrib/binutils/opcodes/mips-dic.c compile without warnings.Dimitry Andric2010-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214211
| * | | | | | | | | | | | | | Make contrib/binutils/bfd/coff-x86_64.c compile without warnings.Dimitry Andric2010-10-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=214209