Commit Graph

536 Commits

Author SHA1 Message Date
bde
1508663a82 Attempt to fix clobbered vendor Id. 1997-06-29 11:43:31 +00:00
asami
b15bba4e8b Make all the info dir entries line up neatly. 1997-05-28 07:49:21 +00:00
eivind
7a1932b397 it's'' -> its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
peter
4fade92ec3 The -pthread option was added to freebsd.h but missed from freebsd-elf.h 1997-05-12 09:24:27 +00:00
jmg
4e2b8410b9 change an' to a'...
Submitted by: Josh Gilliam
Closes PR#3471
1997-05-05 07:43:50 +00:00
jb
8063125723 Let gcc know about libc_r. Use -pthread to link against libc_r instead
of libc.
1997-05-03 02:58:54 +00:00
peter
93c713af2b correct vfork()/exit() to vfork()/_exit(). This is far more important
now that vfork() actually works in FreeBSD for the first time.

Spotted by: se
1997-04-25 06:42:57 +00:00
jdp
76800e1dac Make "gcc -shared" work properly for building shared libraries. An
up-to-date version of c++rt0.o is necessary for this to work right.

Closes PR gnu/3035: gcc -shared flag is broken.
1997-04-09 20:13:41 +00:00
jdp
8a34de70b7 Disallow "-p" when linking, with a diagnostic that recommends using
"-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.
1997-04-05 16:19:08 +00:00
jdp
33b1550bf9 Update the value of "__FreeBSD__" to 3 for the ELF compiler. 1997-03-26 17:05:21 +00:00
asami
5db8032745 -current is now 3.0. NOT a 2.2 candidate. :) 1997-03-25 08:06:06 +00:00
jmg
9243f015c6 slight fix to gcc's man page... 1997-03-23 00:51:16 +00:00
obrien
aa03d66ddb Undo rev 1.4 of freebsd.h and 1.2 freebsd-elf.h, where I added
_BSD4_4 as a predefined symbol.  People on the lists generally didn't care
for it.
1997-02-24 13:19:34 +00:00
peter
03a8e14963 check for /usr/libdata/gcc/specs and use it if it exists. 1997-02-22 15:21:40 +00:00
peter
b041645f92 Back out easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:52:38 +00:00
obrien
0e2c5febdb Add _BSD4_4 as a predefined symbol.
Peter Dufault (dufault@hda.com) suggested this is the most approate symbol
to use.

2.2-R candidate.
1997-02-16 20:55:32 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
phk
f335bb5f50 Fix BB profiling.
Submitted by:	bde
1997-01-13 12:15:29 +00:00
jmacd
8514111caf This file has the info annotation, except its annotated name
is different from its filename for some reason.
1997-01-11 02:56:24 +00:00
peter
664237b984 Apparently this patch fixes the objc backend on the i386 platforms.
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.
1996-10-26 17:00:50 +00:00
peter
f27b081045 Remove temporary hack to disable use of libstdc++ now that it's built and
installed (and hopefully: working).
1996-10-04 08:51:18 +00:00
jdp
b400b72e46 Fix a bug that caused incorrect PIC code to be generated for exceptions.
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.
1996-10-03 17:49:35 +00:00
peter
cdaee83df3 Activate the .weak code generation for libgcc.a and g++ now that it works. 1996-10-01 02:20:27 +00:00
peter
ff1dd074e9 Temporarily disable the code that wants to add -lstdc++ in tge g++ driver
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>
1996-09-27 05:13:40 +00:00
peter
94e258bfb2 Doc fixes and updates to reflect reality, as well as info about profiling
extensions.
1996-09-18 06:56:52 +00:00
peter
3f4cc3faf3 Merge in freebsd-specific changes 1996-09-18 06:54:11 +00:00
peter
59ec5b8a7a Add in hooks to produce assembler output suitable for binutils+elf
Obtained from: John Polstra <jdp@freebsd.org>, from his elfkit.
1996-09-18 06:50:39 +00:00
peter
e122308212 Add the hooks that we use for our profiling extensions.
Obtained from: bde
1996-09-18 06:47:49 +00:00
peter
30f62fbc36 When running native on freebsd (ie: in /usr/bin, /usr/libexec, not the
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.
1996-09-18 06:45:17 +00:00
peter
0d2830f018 When compiling native on freebsd, do not search the multitude of extended
include file paths that do not exist.
1996-09-18 06:40:54 +00:00
peter
be3d0a43ba build libgcc*.a a little more compact by removing excess local symbols
Obtained from: bde
1996-09-18 06:37:22 +00:00
peter
631dad77e7 My feeble attempt at fixing complaints that makeinfo makes about
errors in this doc.
1996-09-18 06:35:00 +00:00
peter
1a3f294135 Do not print two \n's in a fatal error message.
Obtained from: bde
1996-09-18 06:33:32 +00:00
peter
f64632475d Patches originally obtained from Bruce Evans <bde@freebsd.org> to make
gcc "do the right thing" when running standalone on FreeBSD
1996-09-18 06:31:42 +00:00
peter
acb2bcd167 Import of 2.7.2.1 into vendor branch 1996-09-18 05:45:16 +00:00
peter
d4691e641b Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
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.
1996-09-18 05:35:50 +00:00