Commit Graph

16 Commits

Author SHA1 Message Date
Peter Wemm
8adcea95d1 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
John Polstra
87f11ab41b 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 Wemm
b376b0ea5f Activate the .weak code generation for libgcc.a and g++ now that it works. 1996-10-01 02:20:27 +00:00
Peter Wemm
252bb01fbc 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 Wemm
b5ad28261f Doc fixes and updates to reflect reality, as well as info about profiling
extensions.
1996-09-18 06:56:52 +00:00
Peter Wemm
da843809ce Merge in freebsd-specific changes 1996-09-18 06:54:11 +00:00
Peter Wemm
852e8be503 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 Wemm
7767f29ab5 Add the hooks that we use for our profiling extensions.
Obtained from: bde
1996-09-18 06:47:49 +00:00
Peter Wemm
f7f03b3cbc 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 Wemm
655565618b 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 Wemm
864252eaad build libgcc*.a a little more compact by removing excess local symbols
Obtained from: bde
1996-09-18 06:37:22 +00:00
Peter Wemm
24501dd0c6 My feeble attempt at fixing complaints that makeinfo makes about
errors in this doc.
1996-09-18 06:35:00 +00:00
Peter Wemm
d0fd7b1858 Do not print two \n's in a fatal error message.
Obtained from: bde
1996-09-18 06:33:32 +00:00
Peter Wemm
97d25bbf44 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 Wemm
9882643d04 Import of 2.7.2.1 into vendor branch 1996-09-18 05:45:16 +00:00
Peter Wemm
a4cd5630b0 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