summaryrefslogtreecommitdiffstats
path: root/gnu/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove libobjc and other Objective-C related components, as these aredim2011-04-172-54/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* Update dialog to version 1.1-20110302.nwhitehorn2011-04-171-5/+6
|
* Now that TLS is supported for sparc64 by both binutils 2.17.50 committedmarius2011-03-112-2/+2
| | | | in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC.
* Merge binutils 2.17.50 to head. This brings a number of improvements todim2011-02-186-807/+0
|\ | | | | | | | | | | | | | | | | 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
| * Sync: merge r215273 through r215318 from ^/head.dim2010-11-141-2/+2
| |
| *-. Sync: merge r215141 through r215188 from ^/head.dim2010-11-121-0/+4
| |\ \
| * \ \ Sync: merge r214895 through r215140 from ^/head.dim2010-11-111-19/+18
| |\ \ \ | | | |/ | | |/|
| * | | Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have notdim2010-10-226-807/+0
| | | | | | | | | | | | | | | | been used for years.
* | | | Enable wide character support in libdialog.nwhitehorn2011-02-052-3/+3
| | | |
* | | | Make the generated files depend on the Makefile so new platforms are easierimp2011-02-021-2/+2
| | | | | | | | | | | | | | | | to add than mipsn32 was when I was working on it...
* | | | Revert last change now that the reason for it is no more...imp2011-02-021-2/+1
| | | | | | | | | | | | | | | | MACHINE_ARCH is now always mipsel when building mips/mips.
* | | | Rewrite the ARCH check another way for backward compatibility.jchandra2011-01-291-1/+2
| | | | | | | | | | | | | | | | Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb.
* | | | Fix n32 compile.jchandra2011-01-272-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are needed to fix n32 compile after the recent change of mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el. Reviewed by: imp, bz (earlier version)
* | | | Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-1258-44/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* | | | Retire TARGET_ABI.imp2011-01-072-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* | | | Switch mips architectures back to libgcc.kan2010-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MIPS64 n64 binaries are broken with libcompiler_rt at this time. Switch mips back to libgcc until the cause of breakage is analyzed and fixed.
* | | | These two cases should be different...imp2010-11-141-2/+2
| |_|/ |/| | | | | | | | Submitted by: nathanw@
* | | Revert to libgcc for sparc64.ed2010-11-121-0/+4
| |/ |/| | | | | | | | | | | | | | | I've had a report of a sparc64 system where cc1 generates illegal instructions. We still have to diagnose this properly, but instead of hosing all sparc64 boxes out there, fall back to libgcc to prevent more damage. Reported by: Florian Smeets
* | Replace libgcc.a by libcompiler_rt.a.ed2010-11-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on architectures where certain functionality is missing (e.g. 64 bits mul/div on i386). Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain features, such as an unwinder for exception handling, are missing. That's why only libgcc.a is replaced for now, because this one does seem to be complete. Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun) and many others. Thanks! Obtained from: user/ed/compiler-rt
* | Don't use ${LIB} to obtain the library name.ed2010-11-111-9/+9
| | | | | | | | | | | | | | Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a from being built. Therefore, just hardcode the name. Obtained from: user/ed/compiler-rt
* | Complete the integration of tbemd branch into head.imp2010-11-101-9/+9
|/ | | | | | | | | | | | | | | | TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current.
* When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2dim2010-09-211-3/+1
| | | | | | | | | | | | and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile flags are sometimes passed via this variable, for example during the build32 stage on amd64. This caused the 32-bit libobjc build on amd64 to fail. Instead, only replace the first instance of clang (if any, including optional path) with gcc, and leave the arguments alone. Approved-by: rpaulo (mentor)
* GCC defines built-ins for atomic instructions found on i486 and higher.tijl2010-09-072-2/+2
| | | | | | | | | | | | | | Because FreeBSD no longer supports the 80386 cpu all code targeting FreeBSD/i386 necessarily runs on i486 or higher so the compiler built-ins can be used by default inside libstdc++ and in C++ headers. This allows newly compiled C++ code to inline some atomic operations. Old binaries continue to use libstdc++ functions. PR: 148926 Tested by: Yuri Karaban <tech askold net> Reviewed by: kan Approved by: kib (mentor) MFC after: 2 weeks
* Use a more robust way to substitute gcc for clang, when compilingdim2010-08-311-1/+3
| | | | | | | gnu/lib/libobjc and sys/boot/i386/boot2, so it also works when using absolute paths and/or options, as in CC="/absolute/path/clang -foo". Approved by: rpaulo (mentor)
* Repair some build breakage introduced in r211725 and garbage collect somenwhitehorn2010-08-281-1/+1
| | | | code made obsolete in the same commit.
* Create a checklist and call one of the *printw() functions from theimp2010-08-241-0/+18
| | | | | | | | | | | | | | | | | selected() callback. When the dialog first appears, you will not see the printed statement on the dialog, if you move down one, you will, move up again and it now appears. I am assuming that you call a *printw() function on a line in the dialog box of course. The fix, from the pr: This is a hack at best, I looked at the redraw code in dialog_checklist() and took the minimal amount of it out to do a simple "refresh" right after the items are drawn. This doesn't hurt anything and makes the library work like it should. There is probably a better way however =). PR: 148609 Submitted by: John Hixson
* MFtbemd:imp2010-08-233-12/+13
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* We need to pull bsd.own.mk before modifying the CC variable. Otherwiserpaulo2010-08-211-0/+2
| | | | | | it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric <dimitry at andric.com>
* Fix buildworld -DNO_CLEAN when using with Perforce, which marks files aswill2010-08-122-2/+2
| | | | | | | read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor)
* Disable building libobjc with clang as it's not yet supported.rpaulo2010-07-221-0/+3
| | | | Submitted by: Dimitry Andric <dimitry at andric.com>
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-102-1/+6
| | | | | | | | 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
* Often reported issue with newer ld is:kib2010-06-181-1/+2
| | | | | | | | | | | | | | | | | error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created. The issue is that crtend is compiled with unwind table, and also it places the special CIE into the .eh_frame indicating the end of section, that is located before generated unwind table. New ld has assertion that verifies that closing CIE is indeed the last CIE, causing the crypting message to be issued, and refusing to generate dwarf unwind. Add -fno-asynchronous-unwind-tables to disable unwind table generation for crtbegin/crtend. While there, disable omitting the frame pointer [1]. Requested by: kan [1] Reviewed by: kan MFC after: 2 weeks
* Make all tests in libdialog compilable.ae2010-06-154-7/+7
| | | | | | Fix coredump in menu3.c. Approved by: kib (mentor)
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-022-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Non-GCC gcc compatible compilers may provide the same multimedia intrinsicobrien2010-05-123-3/+6
| | | | | | | headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed
* Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'sepotvin2010-01-222-0/+2
| | | | | | | flag when compiling profiled objects as it's ignored by the compiler. This removes the associated warning for each file compiled. MFC after: 1 month
* Merge r195030 from project/mips into head by hand:imp2010-01-081-1/+5
| | | | | | | r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines - Switch to libc softfloat from libgcc implementation. The problem with latter is that it is not complete, fpsetXXX/fpgetXXX functions are missing.
* Fix one spelling and one copy&paste error in comments.kan2009-12-141-2/+2
|
* Compile libgcov without stack protection. It can be linked intokan2009-10-251-0/+1
| | | | | | | | both static and dynamic binaries compiled with or without stack protection and should not depend on libssp_nonshared.a symbols. Discussed with: kib PR: bin/139052
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-195-5/+5
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Second attempt at eliminating .text relocations in shared librarieskan2009-07-142-1/+7
| | | | | | | | | | | | | | compiled with stack protector. Use libssp_nonshared library to pull __stack_chk_fail_local symbol into each library that needs it instead of pulling it from libc. GCC generates local calls to this function which result in absolute relocations put into position-independent code segment, making dynamic loader do extra work every time given shared library is being relocated and making affected text pages non-shareable. Reviewed by: kib Approved by: re (kib)
* Back out previous revision until better tested fix is ready.kan2009-06-292-8/+2
| | | | Approved by: re (impliciti, by approving previos check-in)
* Eliminate .text relocations in shared libraries compiled with stack protector.kan2009-06-282-2/+8
| | | | | | | | | | | | Use libssp_nonshared library to pull __stack_chk_fail_local symbol into each library that needs it instead of pulling it from libc. GCC generates local calls to this function which result in absolute relocations put into position-independent code segment, making dynamic loader do extra work everys time given shared library is being relocated and making affected text pages non-shareable. Reviewed by: kib Approved by: re (kensmith)
* Compile static gcov library with -fPIC to match what stock GCC buildskan2009-06-211-4/+12
| | | | | | are doing. This is required for libgcov.a to be usable on amd64. Reported by: stas
* Restore the install location of libssp.so.0.ru2009-02-241-1/+2
| | | | Noticed by: tegge
* Fix build when WITH_SSP is set explicitly.ru2009-02-212-2/+6
| | | | Submitted by: Jeremie Le Hen
* Honor WITHOUT_INSTALLLIB in some places.jkim2009-02-131-0/+2
|
* There's no need to redundantly redefine atomicity.h.imp2008-12-311-1/+0
|
* Revert previous commit. The prototype has been moved to unistd.hmarcel2008-09-281-1/+1
|
* Add -D_OSRELDATE_H to CFLAGS to prevent the declaration ofmarcel2008-09-261-1/+1
| | | | | | | | getosreldate() in assembler source files. We still get the definition of __FreeBSD_version this way, because it's outside the standard multiple-inclusion protection trick. All this is specific to ia64.
OpenPOWER on IntegriCloud