mycroft
bc4bd03685
Various changes culled from 2.8/egcs to clean this up a bit.
1998-11-12 03:03:34 +00:00
mycroft
1ef4e62a74
Fix from 2.8/egcs to handle the case where a comparison is optimized out
...
during a reversal. Fixes PR 5564.
1998-11-11 22:06:47 +00:00
mycroft
b4380f21bb
Remove an unneeded hack.
1998-11-11 21:19:44 +00:00
mycroft
21135fece3
Remove the useless S constraints in the casesi_internal pattern.
1998-11-11 20:39:21 +00:00
mycroft
6f8f9f2158
Remove a bogus -- and possibly dangerous -- hack to work around a bug in
...
genoutput.c.
1998-11-11 20:33:25 +00:00
mycroft
d301e03afb
Look inside USEs for dups.
1998-11-11 20:27:36 +00:00
mycroft
5116c09218
Changes from egcs to fix flow analysis bugs relating to -Wuninitialized and
...
-fomit-frame-pointer.
1998-11-11 19:03:36 +00:00
mycroft
d6f5342639
Modify the ARM PIC changes to be the same as they were done in GCC 2.8.
1998-11-11 18:34:43 +00:00
mycroft
2faed9af34
Delete bogus comment.
1998-11-11 18:32:50 +00:00
mycroft
9612fc2c3b
Remove duplicated comment.
1998-11-11 12:13:32 +00:00
mycroft
3f758b12b4
Import corrected load/store multiple code from egcs.
1998-11-11 09:07:17 +00:00
mycroft
5fedd08634
Work around the bug that causes unrecognizable smin insns.
...
This is truly gross.
1998-11-11 02:57:13 +00:00
mycroft
246ed829a5
Don't fold equality comparisons with constants if the operand is larger than
...
the word size.
1998-11-10 18:51:45 +00:00
mycroft
f247710583
Change the version number again.
1998-11-09 18:22:04 +00:00
mycroft
100e0d5e7e
From the 2.8 tree:
...
(find_dummy_reload): New parameter earlyclobber. If set then don't
use IN for the reload if it also appears elsewhere in the insn. All
callers changed.
This fixes problems compiling editors/emacs and games/abuse on the Shark.
1998-11-09 18:19:07 +00:00
mycroft
1ee9406232
(global_conflicts): Explicitly ignore real registers.
1998-11-09 18:16:15 +00:00
mycroft
7884b51fe1
From David Edelsohn, via the GCC 2.8 development sources:
...
* loop.c (combine_movables): Earlier insns don't match later ones.
This fixes compilation problems with sa(1) and pkgsrc/games/abuse.
1998-11-09 14:37:52 +00:00
mycroft
ffe8316398
Fix a code generation bug in store_expr() when the rhs is a memory location
...
pointed to by a postincremented (or postdecremented) pointer and the value
of the assignment is reused.
1998-11-08 14:58:09 +00:00
mhitch
b2b8303852
C++ support changes:
...
Generate .ctors and .dtors sections which contain the contructor and
deconstructor function addresses.
Use .init and .fini sections to call the functions to call those functions.
Include the crtbegin and crtend object files which perform those calls.
1998-11-06 04:33:43 +00:00
tv
334db9e84c
Do not link in -lg++ by default, ever. It is not a supported library any
...
longer.
1998-10-14 15:01:09 +00:00
christos
228a8f9869
PR/6265: Chas Williams: minor bug in assembler output from gcc
...
(produces 'empty' symbols)
1998-10-09 11:13:21 +00:00
jonathan
e70308f9ea
cleanup: Use sigemptyset() if HAVE_SIGEMPTYSET defined,
...
otherwise zero out entire struct sigaction.
1998-09-28 22:36:09 +00:00
jonathan
1d4590b75f
sa_mask (sigset_t) is no longer integral, so initialize to zero via
...
function call. Code is used on OSF/1, too, so no __sigemptyset.
1998-09-28 21:41:23 +00:00
jonathan
0663f303b1
Back out rev 1.6: passing "-nostdlib" to binutils ld results in
...
binaries that abort immediately on exec(). binutils ld apparently
treats "-nostdlib" as a set of one-char options?)
1998-09-28 21:37:11 +00:00
wrstuden
d8c791aaf4
Teach gcc how to be cross-compiled before it dies.
1998-09-12 19:45:37 +00:00
matt
44525e4d53
Slight tweak so that indirect references thru the PC are not used
...
in PIC mode.
1998-08-29 21:10:40 +00:00
mycroft
e41c61fee9
Slight cleanup. Nuke things defined in ../netbsd.h, and nuke -Driscbsd.
1998-08-04 20:48:19 +00:00
thorpej
19445c4010
Reverse the sense of the MACHINE_ARCH test to test the arch's that should
...
NOT build these things (a much shorter list :-)
1998-07-28 18:53:40 +00:00
tv
e13ccaa4be
Cope with "mipsel". This is not yet useable for "mipseb," but that
...
_should_ be dealt with as part of the egcs import before 1.4.
1998-07-27 02:29:24 +00:00
tv
eb1936059e
Match mips, mipseb, and mipsel.
1998-07-27 01:11:08 +00:00
rvb
a7bec6f8a2
The .o files should depend on the h file, not the .c files
1998-07-10 16:37:55 +00:00
tv
1a9b4ce852
"Fix" ASM_WEAKEN_LABEL so libgcc2 will compile happily. This _should_ be
...
fixed in libbfd for compliance with the other platforms when switching to
egcs as the compiler for arm32.
1998-06-09 17:58:27 +00:00
pk
07584841b6
Don't build lint library
1998-05-20 12:34:14 +00:00
simonb
3c372c50f6
Add __ELF__ to CPP_PREDEFINES for mips platforms.
1998-05-14 04:05:45 +00:00
enami
2e7b340a0c
Use a name based on a target name instead of fixed one as a name of
...
intermediate file so that parallel make works.
1998-05-08 00:36:07 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv
aa9dc830d0
Add note that -nostdlib is passed to the linker.
1998-04-07 13:16:28 +00:00
matthias
6a93608a3d
ns32k.c:
...
* ns32k_gen_operand is no longer needed.
* new function symbolic_reference_mentioned_p (stolen from i386).
* make print_operand dtrt when printing symbolic "constants" in picmode
and abort for the cases that it can't handle (e.g. symbol+offset).
ns32k.h:
* Use NS32K_DISPLACEMENT_P wherever suitable.
* make LEGITIMATE_PIC_OPERAND_P dtrt to make the ns32k_gen_operand hack
unnecessary.
ns32k.md:
* Use general_operand instead of ns32k_gen_operand everywhere.
* replace "rmn" by "g" again.
* make addsi3 dtrt for pic.
The comments in ns32k.md still need some updates.
Thank's again to Ian Dall for his help.
1998-03-30 20:21:01 +00:00
mhitch
9893e4c551
The mips port now uses /usr/libexec/ld.elf_so.
1998-03-26 02:13:18 +00:00
cgd
e31461b53c
use CHAR_MIN to determine if 'char' is unsigned, and conditionalize
...
the code in __objc_code_char() appropriately. Thanks to
Alan Barrett <apb@iafrica.com> for providing a good way to do this.
1998-03-24 23:17:21 +00:00
matthias
6aa3cd8c81
backout "rmn" -> ns32k_gen_operand change. This needs more thought and
...
testing.
1998-03-24 22:47:10 +00:00
matthias
0042eeb18d
gcc-ns32k mega commit compiled by Ian Dall.
...
This commits several enhancements done over the last years:
- adddi3 subdi3 insn definitions: Jon Buller (ns32k.md, ns32k.c)
- ffssi2 adddi3 and subdi3 bug fixes: Matthias Pfaller (ns32k.c, ns32k.md)
- movstrsi reimplimentation: Ian Dall (ns32k.c, ns32k.md, ns32k.h)
- 32381 fpu support (extra registers, multiply - add instructions):
Ian Dall (ns32k.c, ns32k.h, ns32k.md)
- divmoddisi: (re) implimentation Ian Dall (ns32k.md)
- use predicate rather than register constraints to allow better code for
non pic case: Ian Dall (ns32k.md, ns32k.c)
- clean up of many macros in ns32k.h: Ian Dall
1998-03-13 22:57:49 +00:00
tv
1491cb8af5
PR #4869 : Make gcc frontend use proper vfork() by including <unistd.h> and
...
changing exit() to _exit(). Modest performance improveent, too.
1998-03-09 12:57:23 +00:00
tv
e58b3726c3
PR #3606 : add -nostdlib to ld's command line if -nostdlib is on cc's
...
command line. This behaviour is how it's documented; it should work
that way. Also fixes building a release tree on a -current system (which
bit me with the sparc secr set I built for pk).
1998-03-06 17:42:50 +00:00
cgd
0924c4443d
Make sure the reason that NOLINT is set is documented. Additionally
...
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
cgd
80678449fe
explicitly set NOLINT in libgcc and libobjc Makefiles. There's
...
nothing sensible to make lint libraries of in here.
1998-02-05 23:47:24 +00:00
drochner
57b9298f1c
fix misoptimization after "ffs(x) - 1"
...
(as done in egcs)
1998-01-20 16:03:17 +00:00
lukem
493c7002e7
note that /var/tmp isn't the default for TMPDIR
1998-01-09 06:02:38 +00:00
veego
a0d473d24a
Use the same ifndef from src/gnu/usr.bin/gcc/cc/gcc.c rev 1.6 (lukem):
...
> don't try using P_tmpdir (from <stdio.h>, defined as "/var/tmp/" on
> NetBSD), or "/usr/tmp" for temp files - just use "/tmp".
> from ronald khoo in [bin/4224]
1998-01-06 20:11:58 +00:00
lukem
95073cdb54
don't try using P_tmpdir (from <stdio.h>, defined as "/var/tmp/" on NetBSD),
...
or "/usr/tmp" for temp files - just use "/tmp". from ronald khoo in [bin/4224]
1998-01-06 12:47:43 +00:00