summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/freebsd.h
Commit message (Collapse)AuthorAgeFilesLines
* Enable handling of MS-compatible packing push and pop pragmas. This change waskan2005-06-031-0/+4
| | | | inadvertedly left out of the last import.
* Update MI config bits for GCC 3.4.2-prerelease.kan2004-07-281-7/+4
|
* Update for GCC 3.3.1-prerelease.kan2003-07-111-15/+5
|
* MI bits for Gcc 3.1.obrien2002-04-301-460/+34
|
* Make it easy for people to use define DWARF2 exceptions unwinding.obrien2001-05-141-0/+5
| | | | | | | | If "WANT_DWARF2_UNWIND" you get it. Note that this is a different C++ ABI than the FreeBSD default. So you will need to recompile all your C++ apps that uses exceptions if you turn this on. I am adding it here for Yahoo!'s use and for those that want to be early adopters to what I will make as the default with the GCC 3.0 import.
* Choose the right LIB_SPEC for threads based on "__FreeBSD_version".obrien2001-05-121-3/+19
| | | | | | This allows someone with an older -current to update their compiler [only]. Inspired by: Loren James Rittle <rittle@rsch.comm.mot.com>
* Push as much as was easy of the mixed ELF & a.out support for the i386obrien2001-03-021-130/+21
| | | | | | into the i386 MD FreeBSD header. Also comment tweaking, continuation line style changes, and other minor changes to make this closer to the latest FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
* Stylistic changes mirroring ones done in the FSF/GNU 3.0 development sources.obrien2001-02-281-50/+49
|
* Bump __FreeBSD_cc_version to 500002 to show the -pthread option change.obrien2001-02-081-1/+1
|
* Make the "-pthread" option work again, now that libc_r has to bejdp2001-01-251-7/+4
| | | | | | | | | | | | | | | | | | | linked in addition to libc rather than instead of libc. Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the end of the link command. But it is slightly different in this implementation. Adding "-lc_r" to the link command would produce a "ld" command line containing this: ... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ... but this implementation of the "-pthread" option produces this: ... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ... It would be possible to make them identical, but that doesn't fit as nicely into GCC's way of doing things. I don't think the ordering change will make any difference in practice.
* Remove the -kthread option that matched [sort of] the LinuxThreads port.obrien2000-11-071-3/+4
| | | | | | | | | | This option depended on bits not part of the base system and required people to install the LinuxThreads port in a manner non-consistent with the workings of our Ports Collection. The directions for properly linking with LinuxThreads are given by that port at install time. Requested by: jasone
* Do not use DWARF2 unwinding mechanisms for C++ exceptions on all of ourobrien2000-05-221-0/+6
| | | | platforms.
* ASM_DECLARE_OBJECT_NAME and ASM_FINISH_DECLARE_OBJECT are ELF MI routinesobrien2000-05-201-0/+54
| | | | | | | | | to generate the special .type and .size directives which are used to set the corresponding fields of the linker symbol table entries in the ELF object file. As such they are not i386-specific and thus belong in our MI header. Otherwise on the Alpha we don't properly give the type and size of dynamic symbols. Bintuil versions past 2.9.1 warn of this and w/o this change, `ld' generates a lot of warnings during a `make world'.
* Clean up the FreeBSD configuration files -- includes removing the usageobrien2000-03-231-21/+479
| | | | | of svr4.h on the i386, and moving all the shared arch neutral bits into the FreeBSD general config header.
* This is FreeBSD version 5.0.obrien2000-03-231-1/+1
|
* Bump __FreeBSD_version and __FreeBSD_cc_version due to the C++ ABI changeobrien2000-01-271-1/+1
| | | | in GCC 2.95.2 from -fvtable-thunks to -fno-vtable-thunks by default.
* Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed sinceobrien2000-01-251-4/+3
| | | | | EGCS 1.x have not been worked out. And with 4.0 RELEASE comming quickly we need C++ to be stable and usable.
* Use a unified CPP_SPEC.obrien1999-12-191-0/+11
|
* Undo rev 1.13 (define "OBSTACK_CHUNK_SIZE" as getpagesize()).obrien1999-11-151-4/+0
| | | | It causes internal compiler errors and sig 11's with GCC 2.95.2.
* Bump __FreeBSD_cc_version due to the compiler upgrade.obrien1999-11-151-1/+1
|
* Move RCS tag to our normal place.obrien1999-10-101-1/+2
|
* * Consistantly surround macro parameters with ()obrien1999-08-201-4/+4
| | | | | | | * Consistantly put spaces after "," in macro param lists * Consistantly align continuation characters. * Don't need to supply all variations of __FOO__ in CPP_PREDEFINES, gcc will do that for us.
* Move two of the DBX config directives to the common configuration header.obrien1999-08-191-1/+8
| | | | Also simply CPP_PREDEFINES a little.
* Move "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG" to the general spec fileobrien1999-08-151-1/+7
| | | | | since their definitions were identical. FreeBSD/MIPS will need to override these two defintions, but it can #undef them and define them approapiately.
* Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate forobrien1999-08-151-6/+1
| | | | submitting to the GCC mainainers for folding into the stock GCC.
* * The OBSTACK_CHUNK_SIZE #define was in the "Code generation parameters"obrien1999-07-021-6/+6
| | | | | | | | section rather than the "Miscellaneous parameters" where it belongs. * Clarify what we are locating using the -m rule. Submitted by: bde
* The GNU standard about putting 2 spaces after sentences in commentsobrien1999-07-021-10/+10
| | | | | | was not consistantly followed. Submitted by: bde
* Define "OBSTACK_CHUNK_SIZE" as getpagesize().obrien1999-06-281-1/+5
| | | | | | | Our malloc can allocte pagesized blocks efficiently and the EGCS default size of 4072 bytes is not optimal. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Turn DEFAULT_VTABLE_THUNKS back on. It caused problems with undefined symbolsobrien1999-04-301-4/+5
| | | | | | | | in libstdc++. Until I have a chance to look at what that problem is and to carefully consider the upgrade issues of turning it back on at a later date if we leave it turned off for any extended peroid of time.
* Rather than hack config/freebsd.h to contain our hacks for a native compiler,obrien1999-04-281-45/+1
| | | | | | | | just include them in tm.h (as built from cc/cc_tools/Makefile). This will reduce the diffs from the vendor sources. Excellent idea by: jdp
* Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sureobrien1999-04-271-18/+5
| | | | | SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our definition to it.
* Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.obrien1999-04-271-3/+4
| | | | | | | While I have yet to hear of any problems with us using thunks. The EGCS mailing list notes some have problems with it and not using them are a safer default. People wanting to use them, can set the appropiate compiler flag.
* Move `SWITCH_TAKES_ARG' to `FBSD_SWITCH_TAKES_ARG' and `WORD_SWITCH_TAKES_ARG'obrien1999-04-221-5/+3
| | | | | to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these values if needed.
* Support linking against libgcc_r.obrien1999-04-141-0/+6
| | | | Submitted by: Luoqi Chen <luoqi@chen.ml.org>
* Removed unconditional definitions of __ELF__. They were redundant forbde1999-04-081-1/+1
| | | | elf and wrong for i386-aout.
* Merge shared LIB_SPEC into share config header.obrien1999-04-081-0/+6
|
* Fix space padding that was causing a problem in creating the finalobrien1999-04-041-2/+3
| | | | CPP_PREDEFINES.
* * Protect ourselves from any previously defined options.obrien1999-04-031-0/+13
| | | | | | * Turn on DEFAULT_VTABLE_THUNKS. (it is the default anyway, I'm just being explicit about it, in case it causes us trouble it might be easier for someone to notice it this way)
* Bump __FreeBSD_cc_version to 400002 in case we need to know we are usingobrien1999-04-031-1/+1
| | | | | | EGCS at some point. Submitted by: jdp
* Base configuration file for all FreeBSD targets.obrien1999-03-301-0/+120
OpenPOWER on IntegriCloud