aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/freebsd-spec.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove contrib/gcc and contrib/gcclibsEd Maste2020-02-291-194/+0
| | | | | | | | | GCC 4.2.1 was disconnected from FreeBSD in r358454. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=358459
* Properly support -fPIE by linking PIE binaries with specially-builtKonstantin Belousov2009-12-021-4/+4
| | | | | | | | | | | | | | | | | Scrt1.o instead of crt1.o, since the later is built as non-PIC. Separate i386-elf crt1.c into the pure assembler part and C code, supplying all data extracted by assembler stub as explicit parameters [1]. Hide and localize _start1 symbol used as an interface between asm and C code. In collaboration with: kan Inspired by: PR i386/127387 [1] Prodded and tested by: rdivacky [1] MFC after: 3 weeks Notes: svn path=/head/; revision=200038
* Second attempt at eliminating .text relocations in shared librariesAlexander Kabaev2009-07-141-0/+1
| | | | | | | | | | | | | | | | | 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
* Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.David E. O'Brien2008-09-011-1/+2
| | | | Notes: svn path=/head/; revision=182644
* Add FreeBSD/MIPS support to GCC.David E. O'Brien2008-09-011-0/+5
| | | | Notes: svn path=/head/; revision=182627
* Update configuration files for GCC 4.2.Alexander Kabaev2007-05-191-11/+27
| | | | Notes: svn path=/head/; revision=169706
* Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make itDavid E. O'Brien2005-10-301-1/+1
| | | | | | | easier to keep them in sync. Notes: svn path=/head/; revision=151887
* Catch up with FreeBSD 7.David E. O'Brien2005-10-291-1/+1
| | | | Notes: svn path=/head/; revision=151857
* Submitted following patch to FSF GCC:Craig Rodrigues2005-10-271-10/+1
| | | | | | | | | | | | * freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Use builtin_define_with_int_value() instead of adding a new check for every new major FreeBSD version. Motivated by: simon Discussed with: obrien, kan Notes: svn path=/head/; revision=151775
* Merge conflicts for GCC 3.4.4.Alexander Kabaev2005-06-031-16/+16
| | | | Notes: svn path=/head/; revision=146908
* Enter the long awaited start of FreeBSD 6.0!David E. O'Brien2004-08-211-1/+1
| | | | Notes: svn path=/head/; revision=134097
* Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELFAlexander Kabaev2004-07-281-7/+12
| | | | | | | interpreter on FreeBSD 5.x series. Notes: svn path=/head/; revision=132737
* Make gcc -pthread link to -lpthread instead of -lc_r.Daniel Eischen2004-01-301-2/+2
| | | | Notes: svn path=/head/; revision=125231
* Remove a comment stating that -pthread isn't supported.Daniel Eischen2003-11-101-11/+9
| | | | Notes: svn path=/head/; revision=122432
* The ports freeze may take longer than anticipated. Instead ofDaniel Eischen2003-09-211-3/+2
| | | | | | | | | | | waiting for it to be delayed, temporarily back out the -pthread removal until the freeze is lifted. Freeze possibly taking longer than necessary: will Requested by: kris Notes: svn path=/head/; revision=120312
* Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes.David E. O'Brien2003-09-121-1/+1
| | | | Notes: svn path=/head/; revision=120006
* Remove the -pthread option (in FreeBSD versions 500016 and greater) asDaniel Eischen2003-09-031-11/+14
| | | | | | | | | | | | | | | | | | | | | threatened over 2 years ago. Why? -pthread was a hack to prevent linking to both libc and libc_r and became unecessary when libc_r became free of libc. Now that we have multiple thread libraries from which to choose, it is more confusing because you can't link to more than one threads library at a time. Things like autoconf and libtool sometimes detect -pthread and also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS}, really wacky things ensue when PTHREAD_LIBS is set to another threads library. This might not be so bad if the build broke when this happens, but it doesn't and you don't know it until funny things happen when you run the application (or use an affected library). Reviewed by: obrien Notes: svn path=/head/; revision=119720
* Backout rev 1.10.Daniel Eischen2003-09-011-2/+38
| | | | | | | Requested by: obrien Notes: svn path=/head/; revision=119642
* Remove -pthread as a compiler option. It was deprecated 2.5 yearsDaniel Eischen2003-08-311-38/+2
| | | | | | | | | ago, but not removed. No reply from: threads, kan, obrien Notes: svn path=/head/; revision=119621
* Reformat FBSD_{START,END}FILE_SPEC to FSF coding standards.David E. O'Brien2003-08-241-19/+24
| | | | | | | Use these in our i386, amd64, and alpha platforms. Notes: svn path=/head/; revision=119414
* Update for GCC 3.3.1-prerelease.Alexander Kabaev2003-07-111-38/+36
| | | | Notes: svn path=/head/; revision=117420
* Add spaces around FBSD_ENDFILE_SPEC as it is used in string concatenation.David E. O'Brien2002-12-031-1/+1
| | | | | | | Approved by: re(bmah) Notes: svn path=/head/; revision=107540
* Remove our custom mixed ELF/a.out support. This means the base compilerDavid E. O'Brien2002-11-261-4/+1
| | | | | | | | | | | now only produce ELF objects. It also makes us closer to stock GCC, and simplifies the set of changes we still need from stock GCC on every import. Applauded by: peter Approved by: re Notes: svn path=/head/; revision=107286
* Remove some debugging cruft I accidently committed with rev 1.4.David E. O'Brien2002-09-121-7/+0
| | | | Notes: svn path=/head/; revision=103259
* Try to detect support for the `long long' type so that ANSI-C[89] cleanDavid E. O'Brien2002-09-121-1/+14
| | | | | | | | | | | | | | code will know not to try to use `long long'. Unfortunately the GCC spec parser will not allow us to properly detect the "iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments, because of the ':' in the -std argument. :-( I have left them in the spec as a place holder in hopes someone knows a way to make the detection of them work. Desired by: wollman Notes: svn path=/head/; revision=103258
* Bump __FreeBSD_cc_version for gcc 3.1-prerelease -> 3.2.1-snap upgrade.David E. O'Brien2002-09-091-1/+1
| | | | Notes: svn path=/head/; revision=103117
* Add tweaks needed when using as the system compiler.David E. O'Brien2002-05-101-1/+21
| | | | Notes: svn path=/head/; revision=96362
* Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.David E. O'Brien2002-02-011-0/+149
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST. Notes: svn path=/vendor/gcc/dist/; revision=90075