summaryrefslogtreecommitdiff
path: root/gnu/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update dialog to 1.1-20110707.Nathan Whitehorn2011-07-141-5/+5
| | | | Notes: svn path=/head/; revision=224014
* Remove libobjc and other Objective-C related components, as these areDimitry Andric2011-04-172-54/+0
| | | | | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@ Notes: svn path=/head/; revision=220755
* Update dialog to version 1.1-20110302.Nathan Whitehorn2011-04-171-5/+6
| | | | Notes: svn path=/head/; revision=220749
* Now that TLS is supported for sparc64 by both binutils 2.17.50 committedMarius Strobl2011-03-112-2/+2
| | | | | | | in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. Notes: svn path=/head/; revision=219534
* Merge binutils 2.17.50 to head. This brings a number of improvements toDimitry Andric2011-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 Notes: svn path=/head/; revision=218822
| * Sync: merge r215273 through r215318 from ^/head.Dimitry Andric2010-11-141-2/+2
| |\ | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215320
| * \ Sync: merge r215141 through r215188 from ^/head.Dimitry Andric2010-11-121-0/+4
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215189
| * \ \ Sync: merge r214895 through r215140 from ^/head.Dimitry Andric2010-11-111-19/+18
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/binutils-2.17/; revision=215143
| * | | | Garbage collect gnu/lib/libiberty and gnu/lib/libg2c, these have notDimitry Andric2010-10-226-807/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been used for years. Notes: svn path=/projects/binutils-2.17/; revision=214213
* | | | | Enable wide character support in libdialog.Nathan Whitehorn2011-02-052-3/+3
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=218331
* | | | | Make the generated files depend on the Makefile so new platforms are easierWarner Losh2011-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to add than mipsn32 was when I was working on it... Notes: svn path=/head/; revision=218182
* | | | | Revert last change now that the reason for it is no more...Warner Losh2011-02-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MACHINE_ARCH is now always mipsel when building mips/mips. Notes: svn path=/head/; revision=218181
* | | | | Rewrite the ARCH check another way for backward compatibility.Jayachandran C.2011-01-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb. Notes: svn path=/head/; revision=218064
* | | | | Fix n32 compile.Jayachandran C.2011-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) Notes: svn path=/head/; revision=217942
* | | | | Update dialog to version 20100428. This changes the license under whichNathan Whitehorn2011-01-1258-42/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=217309
* | | | | Retire TARGET_ABI.Warner Losh2011-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. Notes: svn path=/head/; revision=217123
* | | | | Switch mips architectures back to libgcc.Alexander Kabaev2010-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. Notes: svn path=/head/; revision=216804
* | | | These two cases should be different...Warner Losh2010-11-141-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | Submitted by: nathanw@ Notes: svn path=/head/; revision=215275
* | | Revert to libgcc for sparc64.Ed Schouten2010-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 Notes: svn path=/head/; revision=215185
* | Replace libgcc.a by libcompiler_rt.a.Ed Schouten2010-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 Notes: svn path=/head/; revision=215127
* | Don't use ${LIB} to obtain the library name.Ed Schouten2010-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 Notes: svn path=/head/; revision=215126
* | Complete the integration of tbemd branch into head.Warner Losh2010-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. Notes: svn path=/head/; revision=215082
* When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2Dimitry Andric2010-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) Notes: svn path=/head/; revision=212979
* GCC defines built-ins for atomic instructions found on i486 and higher.Tijl Coosemans2010-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 Notes: svn path=/head/; revision=212286
* Use a more robust way to substitute gcc for clang, when compilingDimitry Andric2010-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) Notes: svn path=/head/; revision=212060
* Repair some build breakage introduced in r211725 and garbage collect someNathan Whitehorn2010-08-281-1/+1
| | | | | | | code made obsolete in the same commit. Notes: svn path=/head/; revision=211934
* Create a checklist and call one of the *printw() functions from theWarner Losh2010-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 Notes: svn path=/head/; revision=211731
* MFtbemd:Warner Losh2010-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. Notes: svn path=/head/; revision=211725
* We need to pull bsd.own.mk before modifying the CC variable. OtherwiseRui Paulo2010-08-211-0/+2
| | | | | | | | | it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric <dimitry at andric.com> Notes: svn path=/head/; revision=211570
* Fix buildworld -DNO_CLEAN when using with Perforce, which marks files asWill Andrews2010-08-122-2/+2
| | | | | | | | | | read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor) Notes: svn path=/head/; revision=211243
* Disable building libobjc with clang as it's not yet supported.Rui Paulo2010-07-221-0/+3
| | | | | | | Submitted by: Dimitry Andric <dimitry at andric.com> Notes: svn path=/head/; revision=210385
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesNathan Whitehorn2010-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 Notes: svn path=/head/; revision=209867
* Often reported issue with newer ld is:Konstantin Belousov2010-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 Notes: svn path=/head/; revision=209294
* Make all tests in libdialog compilable.Andrey V. Elsukov2010-06-154-7/+7
| | | | | | | | | Fix coredump in menu3.c. Approved by: kib (mentor) Notes: svn path=/head/; revision=209200
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.Juli Mallett2010-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 Notes: svn path=/head/; revision=208737
* Non-GCC gcc compatible compilers may provide the same multimedia intrinsicDavid E. O'Brien2010-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 Notes: svn path=/head/; revision=207995
* Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'Stephane E. Potvin2010-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 Notes: svn path=/head/; revision=202808
* Merge r195030 from project/mips into head by hand:Warner Losh2010-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. Notes: svn path=/head/; revision=201852
* Fix one spelling and one copy&paste error in comments.Alexander Kabaev2009-12-141-2/+2
| | | | Notes: svn path=/head/; revision=200499
* Compile libgcov without stack protection. It can be linked intoAlexander Kabaev2009-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 Notes: svn path=/head/; revision=198471
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-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) Notes: svn path=/head/; revision=195767
* Second attempt at eliminating .text relocations in shared librariesAlexander Kabaev2009-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) Notes: svn path=/head/; revision=195697
* Back out previous revision until better tested fix is ready.Alexander Kabaev2009-06-292-8/+2
| | | | | | | Approved by: re (impliciti, by approving previos check-in) Notes: svn path=/head/; revision=195152
* Eliminate .text relocations in shared libraries compiled with stack protector.Alexander Kabaev2009-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) Notes: svn path=/head/; revision=195151
* Compile static gcov library with -fPIC to match what stock GCC buildsAlexander Kabaev2009-06-211-4/+12
| | | | | | | | | are doing. This is required for libgcov.a to be usable on amd64. Reported by: stas Notes: svn path=/head/; revision=194564
* Restore the install location of libssp.so.0.Ruslan Ermilov2009-02-241-1/+2
| | | | | | | Noticed by: tegge Notes: svn path=/head/; revision=188995
* Fix build when WITH_SSP is set explicitly.Ruslan Ermilov2009-02-212-2/+6
| | | | | | | Submitted by: Jeremie Le Hen Notes: svn path=/head/; revision=188895
* Honor WITHOUT_INSTALLLIB in some places.Jung-uk Kim2009-02-131-0/+2
| | | | Notes: svn path=/head/; revision=188583
* There's no need to redundantly redefine atomicity.h.Warner Losh2008-12-311-1/+0
| | | | Notes: svn path=/head/; revision=186641
* Revert previous commit. The prototype has been moved to unistd.hMarcel Moolenaar2008-09-281-1/+1
| | | | Notes: svn path=/head/; revision=183440