summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc_tools
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312899: add octeon+ as an alias for octeon in GCC & binutilsemaste2017-03-031-1/+1
| | | | | | | | | | | | | | | | | | r208737 added support for the "mips64r2" architecture and "octeon" CPU, and the saa/saad instructions. Upstream binutils also added the "octeon+" CPU, and the saa/saad instructions are only available in octeon+, not octeon. Since our base system tool chain already accepts saa/saad with -march=octeon, just allow octeon+ as an alias. This allows the use of octeon+ in kernel config files, for use with both external tool chain and in-tree GCC/binutils. Also includes GCC FBSD_CC_VER bump (r313041 in HEAD) PR: 216516 Sponsored by: The FreeBSD Foundation
* WITH_META_MODE: Don't expect a .meta file for side-effect generated files.bdrewery2016-06-151-1/+1
| | | | | | | This is the same as r301285. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* Convert to new FAST_DEPEND syntax for guessed dependencies.bdrewery2016-06-152-37/+35
| | | | | | | | | | | | | This OBJS_DEPEND_GUESS is needed since each target gets its own .depend.target.o file but also because it is spelled .meta.target.o with WITH_META_MODE. The OBJS_DEPEND_GUESS will apply the dependency if the required file is missing. Also remove redundant .c files while here to avoid prolems with targets using .ALLSRC and getting multiple source files. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Update GCC dependencies.bdrewery2016-06-041-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* gcc42: Fix minor C99 parse bugcem2016-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | DR #289[0] came down and gcc4.2.1 was on the wrong side of history. Partially revert GCC r42574 (just remove the error) to rectify the parse bug to match Clang and other compliant C99 compilers. An example declaration gcc tripped on before this fix: void foobar(int [static 1]); An example declaration gcc did not trip on before this fix: void foobar(int name[static 1]); Bump __FreeBSD_cc_version. [0]: http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_289.htm Reported by: allanjude Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Avoid rebuilds of cc_tools during target build.bdrewery2016-05-211-17/+19
| | | | | | This is the same as r299289 and r297997. Sponsored by: EMC / Isilon Storage Division
* Follow-up r297842: Rework header generation to fix always rebuilding.bdrewery2016-04-182-113/+135
| | | | | | | | | | This reworks the handling of common headers to just include the needed logic rather than invoke MAKE. This avoids the problem listed in r297842 and avoids other dependency tracking issues. Pointyhat to: bdrewery Reported by: Nikolai Lifanov <lifanov@mail.lifanov.com> Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-241-230/+0
| | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* META MODE: Don't create .meta files when symlinking sources into the obj ↵bdrewery2015-11-251-2/+2
| | | | | | | | | | | directory. Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division
* Remove redundant .NOPATH.bdrewery2015-09-261-2/+0
| | | | | | All of these are already in CLEANFILES which is added to .NOPATH in bsd.obj.mk. Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+252
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-271-1/+3
| |\
| * \ Merge from head@274682sjg2014-11-191-3/+1
| |\ \ | | |/
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2014-05-081-1/+1
| |\ \
| * \ \ Merge headsjg2014-04-281-1/+1
| |\ \ \
| * | | | Merge head@256308sjg2013-10-141-2/+2
| | | | |
| * | | | Updated dependenciessjg2013-03-171-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync with HEAD.obrien2013-02-081-1/+10
| |\ \ \ \
| * | | | | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | | | | |
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Sync from headsjg2012-11-041-1/+1
| |\ \ \ \ \ \
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+247
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | Misc fixes from projects/bmakesjg2015-06-111-0/+3
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp
* | | | | | Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportandrew2014-10-011-3/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876
* | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|/ |/| | | | | | | | | | | from the latter.
* | | | Fix cross compilation after r258428.andreast2013-11-211-1/+1
| | | | | | | | | | | | | | | | Reviewed by: pfg
* | | | Bump OS versions in the toolchain triples to 11.0, and bump thedim2013-10-101-2/+2
| |_|/ |/| | | | | | | | | | | | | | __FreeBSD_cc_version predefined macros in clang and gcc. Approved by: re (gjb)
* | | Add compiler support for the ARM EABI.andrew2013-01-171-0/+9
| | | | | | | | | | | | | | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added.
* | | Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS ineadler2012-12-061-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
* | After the binutils 2.17.50 import, the assembler supports AS_REL16nwhitehorn2012-07-081-1/+1
|/ | | | relocations.
* Enable TLS support for ARM toolchaingonzo2012-02-141-2/+0
| | | | Reviewed by: cognet
* Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.dim2011-10-181-2/+2
|
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-9/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* Now that TLS is supported for sparc64 by both binutils 2.17.50 committedmarius2011-03-111-1/+1
| | | | 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-181-7/+5
|\ | | | | | | | | | | | | | | | | 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
| * Fix a missing underscore.nwhitehorn2010-12-091-1/+1
| |
| * Sync: merge r215396 through r215463 from ^/head.dim2010-11-181-1/+1
| |
| * Sync: merge r214895 through r215140 from ^/head.dim2010-11-111-11/+11
| |\
| * | In case of powerpc64, enable HAVE_LD_NO_DOT_SYMS in gcc's auto-host.h.dim2010-10-221-1/+3
| | | | | | | | | | | | Requested by: nwhitehorn
| * | Update gcc's auto-host.h header for binutils 2.17: turn ondim2010-10-221-3/+3
| | | | | | | | | | | | HAVE_COMDAT_GROUP, HAVE_GAS_WEAKREF and HAVE_LD_SYSROOT.
* | | Let gcc and ld know where to find 32 bit libraries on amd64.tijl2010-11-171-1/+1
| |/ |/| | | | | | | Reviewed by: arch@ Approved by: kib (mentor)
* | Complete the integration of tbemd branch into head.imp2010-11-101-11/+11
|/ | | | | | | | | | | | | | | | 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.
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-101-2/+16
| | | | | | | | 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
* Non-GCC gcc compatible compilers may provide the same multimedia intrinsicobrien2010-05-121-3/+3
| | | | | | | headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed
* Back out previous revision until better tested fix is ready.kan2009-06-291-8/+0
| | | | Approved by: re (impliciti, by approving previos check-in)
* Eliminate .text relocations in shared libraries compiled with stack protector.kan2009-06-281-0/+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)
* Add FreeBSD/MIPS support to GCC.obrien2008-09-012-1/+11
|
* Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. Sharedobrien2008-08-312-17/+11
| | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little.
OpenPOWER on IntegriCloud