summaryrefslogtreecommitdiff
path: root/contrib/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade the cpp pre-defines to include -Dunix. Turns out we need thatJohn Birrell1998-01-121-1/+1
| | | | | | | | | | to compile m4. And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3 like on i386. Notes: svn path=/head/; revision=32455
* Add the alpha MD files for gcc to product ELF for FreeBSD/Alpha.John Birrell1998-01-1114-0/+8479
| | | | | | | | | | | | | | | | | | See freebsd.h and freebsd-elf.h for the silly comment that cgd@netbsd.org wanted me to add about his claim that uncommented source files that have been publicly available for ftp for nearly a year; that are configuration patches to a GPL'ed program; are owned by his previous employer who refuses to release them. Well... I did as he said. As if that makes a difference! At this point we've got cpp, gcc, g++ ported to FreeBSD/Alpha so all the code that uses __FreeBSD__ is correctly pre-processed. Yay. I'll commit the bootstrap makefile next to let others play, then on to libc. Notes: svn path=/head/; revision=32424
* spelling corrections.Wolfram Schneider1997-09-131-3/+3
| | | | | | | | PR: docs/4450 Submitted by: josh@quick.net Notes: svn path=/head/; revision=29329
* Merge in some of my changes with John's. I've used this to buildPeter Wemm1997-08-291-32/+50
| | | | | | | | an ELF system. I'm not sure about some of the things here. We definately need to go back and rationalize this. Notes: svn path=/head/; revision=28882
* Add the necessary defines to the freebsd-elf configuration so thatJohn Polstra1997-08-281-1/+39
| | | | | | | | | | | | | | it can be built via BINFORMAT=elf in the environment. Most likely some of the directory defines such as STANDARD_EXEC_PREFIX will change again soon, as we settle on the proper locations for the various components. Note, the build still fails when it tries to compile libgcc2.c using the ELF compiler, unless arrangements have been made for the compiler to find the ELF assembler instead of the a.out assembler. Notes: svn path=/head/; revision=28846
* Attempt to fix clobbered vendor Id.Bruce Evans1997-06-291-1/+1
| | | | Notes: svn path=/head/; revision=27059
* Make all the info dir entries line up neatly.Satoshi Asami1997-05-281-1/+1
| | | | Notes: svn path=/head/; revision=26223
* `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.Eivind Eklund1997-05-191-1/+1
| | | | | | | | | Closes PR docs/3612. Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25932
* The -pthread option was added to freebsd.h but missed from freebsd-elf.hPeter Wemm1997-05-121-1/+1
| | | | Notes: svn path=/head/; revision=25733
* change `an' to `a'...John-Mark Gurney1997-05-051-1/+1
| | | | | | | | Submitted by: Josh Gilliam Closes PR#3471 Notes: svn path=/head/; revision=25480
* Let gcc know about libc_r. Use -pthread to link against libc_r insteadJohn Birrell1997-05-032-2/+2
| | | | | | | of libc. Notes: svn path=/head/; revision=25400
* correct vfork()/exit() to vfork()/_exit(). This is far more importantPeter Wemm1997-04-251-1/+1
| | | | | | | | | now that vfork() actually works in FreeBSD for the first time. Spotted by: se Notes: svn path=/head/; revision=25128
* Make "gcc -shared" work properly for building shared libraries. AnJohn Polstra1997-04-092-8/+14
| | | | | | | | | up-to-date version of c++rt0.o is necessary for this to work right. Closes PR gnu/3035: gcc -shared flag is broken. Notes: svn path=/head/; revision=24758
* Disallow "-p" when linking, with a diagnostic that recommends usingJohn Polstra1997-04-052-10/+12
| | | | | | | | | | | | "-pg" and gprof(1) instead. FreeBSD does not support plain "-p" or prof(1). Plain "-p" is still allowed when just compiling. In the compile phase, "-p" is identical "-pg". It is used by <bsd.lib.mk> for building profiled object files. Notes: svn path=/head/; revision=24658
* Update the value of "__FreeBSD__" to 3 for the ELF compiler.John Polstra1997-03-261-1/+1
| | | | Notes: svn path=/head/; revision=24295
* -current is now 3.0. NOT a 2.2 candidate. :)Satoshi Asami1997-03-252-2/+2
| | | | Notes: svn path=/head/; revision=24257
* slight fix to gcc's man page...John-Mark Gurney1997-03-231-3/+9
| | | | Notes: svn path=/head/; revision=24129
* Undo rev 1.4 of freebsd.h and 1.2 freebsd-elf.h, where I addedDavid E. O'Brien1997-02-243-3/+3
| | | | | | | | _BSD4_4 as a predefined symbol. People on the lists generally didn't care for it. Notes: svn path=/head/; revision=23076
* check for /usr/libdata/gcc/specs and use it if it exists.Peter Wemm1997-02-221-0/+1
| | | | Notes: svn path=/head/; revision=22994
* Back out easy $FreeBSD$ (file already left vendor branch)Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22977
* Add _BSD4_4 as a predefined symbol.David E. O'Brien1997-02-163-3/+3
| | | | | | | | | | Peter Dufault (dufault@hda.com) suggested this is the most approate symbol to use. 2.2-R candidate. Notes: svn path=/head/; revision=22809
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Fix BB profiling.Poul-Henning Kamp1997-01-131-2/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=21655
* This file has the info annotation, except its annotated nameJoshua Peck Macdonald1997-01-111-1/+1
| | | | | | | is different from its filename for some reason. Notes: svn path=/head/; revision=21507
* Apparently this patch fixes the objc backend on the i386 platforms.Peter Wemm1996-10-261-0/+7
| | | | | | | | | | Without this, compiled programs die with FP errors. This is originally credited to: jlemon@netcom.com (Jonathan Lemon), and has been forwarded to me by quite a few of people. Notes: svn path=/head/; revision=19194
* Remove temporary hack to disable use of libstdc++ now that it's built andPeter Wemm1996-10-041-3/+0
| | | | | | | installed (and hopefully: working). Notes: svn path=/head/; revision=18675
* Fix a bug that caused incorrect PIC code to be generated for exceptions.John Polstra1996-10-032-1/+23
| | | | | | | | | | | | | | | | | | | | | The symptom was an assembler warning "GOT relocation burb: `___EXCEPTION_TABLE__' should be global" followed (sometimes) by a core dump. The fix makes the compiler generate the correct GOTOFF addressing for that symbol, rather than the GOT addressing it was emitting before. Warning: There is still at least one serious bug in the i386 exception code for PIC. The exception code that is generated clobbers the GOT register (%ebx) and then tries to use it later. That leads to core dumps at program execution time. I know where the problem is, but I do not have a fix for it at this time. Until it is fixed, exceptions will not work in PIC code. This is a general problem for all i386 platforms; it is not specific to FreeBSD. Notes: svn path=/head/; revision=18659
* Activate the .weak code generation for libgcc.a and g++ now that it works.Peter Wemm1996-10-012-14/+2
| | | | Notes: svn path=/head/; revision=18604
* Temporarily disable the code that wants to add -lstdc++ in tge g++ driverPeter Wemm1996-09-271-0/+3
| | | | | | | | | | | since we don't have it yet and I've taken too long on the libg++-2.7.2 stuff (it causes problems due to to the lack of .weak support which I've nearly finished) Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=18505
* Doc fixes and updates to reflect reality, as well as info about profilingPeter Wemm1996-09-183-16/+32
| | | | | | | extensions. Notes: svn path=/head/; revision=18350
* Merge in freebsd-specific changesPeter Wemm1996-09-185-112/+237
| | | | Notes: svn path=/head/; revision=18349
* Add in hooks to produce assembler output suitable for binutils+elfPeter Wemm1996-09-182-0/+210
| | | | | | | Obtained from: John Polstra <jdp@freebsd.org>, from his elfkit. Notes: svn path=/head/; revision=18348
* Add the hooks that we use for our profiling extensions.Peter Wemm1996-09-181-0/+12
| | | | | | | Obtained from: bde Notes: svn path=/head/; revision=18347
* When running native on freebsd (ie: in /usr/bin, /usr/libexec, not thePeter Wemm1996-09-181-3/+18
| | | | | | | | | | gnu-style /usr/local/lib/gcc* layout), only search the paths that exist for the modules (cc1, cc1plus , cc1obj etc) Also, update an error message. Notes: svn path=/head/; revision=18346
* When compiling native on freebsd, do not search the multitude of extendedPeter Wemm1996-09-181-0/+4
| | | | | | | include file paths that do not exist. Notes: svn path=/head/; revision=18345
* build libgcc*.a a little more compact by removing excess local symbolsPeter Wemm1996-09-181-1/+7
| | | | | | | Obtained from: bde Notes: svn path=/head/; revision=18344
* My feeble attempt at fixing complaints that makeinfo makes aboutPeter Wemm1996-09-181-9/+9
| | | | | | | errors in this doc. Notes: svn path=/head/; revision=18343
* Do not print two \n's in a fatal error message.Peter Wemm1996-09-181-1/+1
| | | | | | | Obtained from: bde Notes: svn path=/head/; revision=18342
* Patches originally obtained from Bruce Evans <bde@freebsd.org> to makePeter Wemm1996-09-183-2/+32
| | | | | | | gcc "do the right thing" when running standalone on FreeBSD Notes: svn path=/head/; revision=18341
* Import of 2.7.2.1 into vendor branchvendor/gcc/2.7.2.1Peter Wemm1996-09-1818-159/+311
| | | | | Notes: svn path=/vendor/gcc/dist/; revision=18336 svn path=/vendor/gcc/2.7.2.1/; revision=18338; tag=vendor/gcc/2.7.2.1
* Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of thePeter Wemm1996-09-18447-0/+454870
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code. Notes: svn path=/vendor/gcc/dist/; revision=18334