Commit Graph

25 Commits

Author SHA1 Message Date
kristerw 4c7e15910e Disable "fancy math" the correct way (it's TARGET_DEFAULT that is used
for that kind of flags -- the TARGET_CPU_DEFAULT is used to choose the
cpu type to generate code for...)

Fixes PR 10357.
2000-06-19 19:48:37 +00:00
kristerw 3bf5c279b4 Use sjlj exceptions. 2000-06-08 20:23:47 +00:00
kristerw 46e954b5e5 C++ exceptions doesn't work in i386 shared libs when using sjlj exceptions
(as a.out does per default.)  This is because the compiler forgets to
restore the PIC register after a builtin_setjmp (i.e. when catching an
exception.)  This fix is taken from the gcc 2.95 branch.

Fixes PR#9110.
2000-02-01 19:29:33 +00:00
kleink 0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
fvdl b2e6565c2c Do DBX debugging symbols (stabs) the usual ELF way, using relative
offsets to the beginning of the function. Other i386 ELF systems do
this as well, and gdb expects it by default.
1999-07-07 22:23:35 +00:00
tv d3989ee704 Import egcs 1.1.2 to fix some optimizer bugs on i386 and sparc, among others. 1999-04-06 15:07:33 +00:00
fvdl f7ca917a98 Adapt NetBSD/i386 configuration to egcs changes wrt. TARGET_DEFAULT. This
should make it stop outputting i387 instructions that the emulator can't
handle.
1999-04-01 21:15:43 +00:00
christos d994312f03 Don't copy the alpha config verbatim :-) We are not a 64 bit system... 1999-02-09 13:09:30 +00:00
christos f3593df82a Add svr4 like .size and .type stuff 1999-02-07 17:43:25 +00:00
tv ae250d0e0a Round 2 of gnu/dist cleanup:
- remove ChangeLogs (still available on vendor FSF/CYGNUS branch, 1.1.1)
- remove many target-system config files unrelated to NetBSD targets
1999-02-04 04:25:21 +00:00
tv f02bdb7a26 NetBSD's a.out linker can't align more than 8, so don't use the
DATA_ALIGNMENT and CONSTANT_ALIGNMENT macros from i386.h.
1999-02-04 02:00:15 +00:00
christos f9cf96d39c Add an elf compiler spec. 1999-01-11 11:01:38 +00:00
christos a3b9ba9f0e In the NO_UNDERSCORES case we need an extra `*' in ASM_GENERATE_INTERNAL_LABEL
otherwise using the macro in dbxout.c, eats the initial `.'. Probably someone
forgot that one, because the `*' is present in other implementations.
... tv said go for it.
1999-01-07 10:22:49 +00:00
tv 1bd5f31faa Import egcs 1.1.1 (release). 1998-12-13 00:04:06 +00:00
tv 7500a991df Import egcs 1.1.1 prerelease 2 1998-11-14 04:14:09 +00:00
tv dd23d5aa0c Import egcs 1.1 (branch), 14 Oct 1998 sources. 1998-10-14 14:28:50 +00:00
tv b37a043772 Import of egcs 1.1 release (1.1b). 1998-09-13 16:09:19 +00:00
tv eb3bf55684 Remove -Dunix from predefines, and add a warning to cpp which triggers on
"#if defined(unix)/#ifdef unix/#ifndef unix" if -Dunix is not specified
explicitly:
    warning: deprecated symbol "unix" is no longer predefined
1998-08-29 17:04:56 +00:00
tv 3fe379ca4b Bugfix import of egcs 1.1, 1998-08-24 snapshot. 1998-08-24 18:00:40 +00:00
tv 471ccd3532 Need DWARF2_UNWIND_INFO=0 for -fsjlj-exceptions as default. 1998-08-18 02:47:50 +00:00
tv 667decf81a Resolve conflicts, fix up c-common, and clean up import of egcs 1.1. 1998-08-16 20:41:00 +00:00
tv 45ddfeba03 Import egcs-1.1 gcc, 19980816 snapshot 1998-08-16 17:35:45 +00:00
mycroft c4c72f4c84 Move the previous into the i386-specific section. It needs to be done
differently on other ports.
1998-04-25 01:32:59 +00:00
mrg 5e78440996 merge netbsd changes for gcc. pmax still missing. 1998-03-29 11:36:52 +00:00
mrg d3c5e32f1d initial import of the egcs 1.0.2 compiler 1998-03-29 08:14:27 +00:00