Commit Graph

125 Commits

Author SHA1 Message Date
phil
6b7792164b Make sure copies are 2.7.2.1 versions. 1997-05-14 06:44:20 +00:00
phil
e49d2c410f Import of gcc-2.7.2.1. 1997-05-14 05:04:53 +00:00
phil
ef82a6f04f Remove some unnoticed trailing garbage in a patch. 1997-05-13 21:18:24 +00:00
phil
80e042614d Update gcc2netbsd to generate the current gcc tree when given gcc-2.7.2.
Added a new patch mechanism to gcc2netbsd so changes from the FSF source
are seen in gcc2netbsd.  Sync some Makefiles to output of current gcc2netbsd.
(Cosmetic changes only to the Makefiles.)
1997-05-13 21:01:55 +00:00
mycroft
cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
mycroft
093617215b Use " includes, and some other cleanup. 1997-05-09 05:07:31 +00:00
mycroft
185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft
fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
thorpej
b2435880cc Revert previous change - It causes too many object-level incompatibilites
that violate the Principle of Least Astonishment.
1997-05-05 06:25:15 +00:00
mycroft
e6492a1093 Our linker aligns the data and BSS segments to a 4-byte boundary, so
set BIGGEST_ALIGNMENT to 32 by default.
Also, change some other alignemtn constraints to improve performance.
1997-05-02 22:16:46 +00:00
mikel
a4bddb19a0 more libgnumalloc.a -> ${LIBGNUMALLOC} 1997-03-27 05:13:52 +00:00
christos
0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
jonathan
7d1baa6e30 Add weak symbols on mips by defining ASM_OUTPUT_DEF (for varasm.c) in
arch/mips/netbsd.h.  Add mips/netbsd.h to the gcc2netbsd script.
1997-03-15 01:35:37 +00:00
mycroft
4a647ad6fa Pull in fix from development tree to mark the correct regs as live. 1997-03-12 06:12:27 +00:00
mycroft
f525bcf594 Remove the cmpdi pattern, since the operand constraints cannot be enforced
during register spilling.  The default implementation is less optimal in some
cases, but it works.
1997-03-12 06:11:00 +00:00
mouse
412433b44c alternate -> alternative, per PR 2643 1997-03-08 13:26:20 +00:00
jonathan
76f1d1f657 Commit src/gnu/usr.bin/gcc/arch/mips/netbsd.h diffs with minimal
support for shared libraries.  Diffs from Manuel Bouyer, probably
derived from similar OpenBSD gcc diffs.

This change is in the source tree because it was used to build a NetBSD/pmax
shared-lib snapshot.  The change isn't being integrated into  the gcc2netbsd
script until the shared-lib diffs are finalized.
1996-11-17 19:36:51 +00:00
mycroft
5711873831 Build _eh.o. Reported by Simon Gerraty. 1996-11-11 01:06:54 +00:00
jonathan
bdc1084483 Commit years-old change for gcc on NetDSB/mips.
The NetbSD libc header files use GCC attributes to emit link-time warning
messages (e.g,. for gets()).   SO, add a definition of the GCC back-end
macro ASM_OUTPUT_SECTION_NAME() to the mips back-end target-specific file.

This adds support for emitting warning attributes to binutils 2.6 or newer.
(Weak references may or may not work also).

This patch has been  submitted to the FSF but hasn't made it into 2.7.2.1,
and seems to have got buried somewhere inside Cygnus.
1996-11-08 22:21:52 +00:00
thorpej
46ac224706 Use ${INSTALL}. 1996-10-18 02:52:59 +00:00
jtc
d9b9c6dc0f /usr/tmp -> /var/tmp 1996-07-01 00:29:24 +00:00
mark
0e0fb92b29 Define __KPRINTF_ATTRIBUTE__ in the CCPP_PREDEFINES so we get rid of a
load of compiler warnings.
1996-06-05 19:09:11 +00:00
phil
90be8557fc Add the missing dependencies on the arch.md file. 1996-05-23 04:54:42 +00:00
phil
7b365250a9 Better changes from Matthias Pfaller. 1996-05-23 04:49:45 +00:00
phil
640382281e Bug fixes from Matthias Pfaller. (Will be submitted to Kenner soon.) 1996-05-19 05:27:33 +00:00
phil
82020f146c Add arm32 to the list of architecture configurations to extract. 1996-05-19 05:19:52 +00:00
mark
8b4eb7eeed Commit of arm32 architecture sources for GCC 2.7.2 1996-05-17 21:18:03 +00:00
mark
b6ef591915 Commit of arm32 architecture sources for GCC 2.7.2 1996-05-17 21:16:45 +00:00
jtc
e4cdcb8d79 soft-float accidently turned off the 68060 bit 1996-05-17 01:56:13 +00:00
jtc
a7dc4ab369 Pass -m68060 through to the assembler 1996-05-12 18:52:22 +00:00
mycroft
f0c3c199fa Update for removal of cexp.c. 1996-05-11 11:37:59 +00:00
mycroft
152a87dd9d This is generated automatically. 1996-05-11 11:30:58 +00:00
jtc
7d85884ca8 Added support for -R option.
This patch has been accepted by the FSF, and should appear in future
gcc releases.
1996-04-25 18:23:37 +00:00
jtc
7bf481ecb2 Integrate change from the gcc development sources:
Tue Feb 13 17:59:03 1996  Lee Iverson  <leei@Canada.AI.SRI.COM>

	  * gcc.c (DEFAULT_SWITCH_TAKES_ARG): New macro, from SWITCH_TAKES_ARG.
	  (SWITCH_TAKES_ARG): Use it.

This change alows us to add support for the 'R' option in a way that
will minimize differences when it comes to merging a future FSF gcc
release into the NetBSD sources.
1996-04-24 02:35:29 +00:00
phil
3f09e4a7e4 Sync with gcc2netbsd. (and do the right thing.) 1996-04-11 21:22:42 +00:00
jtc
3c36209f8c Re-enable weak alias and sysv pragma support that was lost when we
upgraded to gcc-2.7.  These changes have been submitted to the gcc
maintainers.  With luck, we won't have this problem again...
1996-04-06 00:51:08 +00:00
christos
bd9f45b014 Add -D__KPRINTF_ATTRIBUTE__ 1996-04-04 20:17:16 +00:00
phil
ab818facfa Sync with change to Makefile.cc1. 1996-04-03 08:18:16 +00:00
phil
5e11f509b9 Add a dependency that will cause a relink for anything that uses libcc1.a. 1996-04-03 08:15:38 +00:00
pk
5a2722dd1e Add missing argument to error() call. 1996-04-01 22:41:16 +00:00
christos
a323f3fc97 - Add a kprintf format specifier, so that it includes only the formats valid
for kernel printf functions
- understand the db_printf %n,%r,%z format specifiers
- understand the kernel printf %: format specifier
- Be more permissive to %b arguments: accept any integer type, not only
  unsigned ints.
1996-03-30 04:35:04 +00:00
pk
27a9f993bb Bleh, got %b arguments reversed in previous change. 1996-03-17 22:27:17 +00:00
pk
1e66a8828f Take a stab at recognising %b formats. 1996-03-17 03:13:17 +00:00
jtc
efdbc16b61 Patch from J"orn Rennecke that fixes code generation bugs with long
long comparisons.  As of this date, this change hasn't made it into
the development sources.  We must consider this when it comes time
to integrate a newer gcc release.

Thu Mar  7 01:16:23 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)

	* expmed.c (negate_rtx): Don't negate LONG_MIN if mode is wider
	than HOST_WIDE_INT.


gcc now produces worse code for this test case than gcc 2.5.8 when
invoked with -O , but it will optimize as good as gcc 2.5.8 (i.e. all
comparisons vanish) when invoked with -O2 , thus I think it doesn't
matter.  If anyone is interested in looking into this, the code in
expr.c, function expand_expr, case MINUS_EXPR, if-clause for if
(TREE_UNSIGNED (type) || TREE_OVERFLOW (negated)), will refuse to
convert the subtraction into an addition if there is an overflow in
the conversion or negation of the constant.  If both host and target
machine are binary computers with 2-complement representation, the
overflow should not matter.
1996-03-15 22:55:51 +00:00
phil
6867e1fda1 Sync with previous changes to Makefiles ... 1996-03-12 21:28:52 +00:00
phil
d99c63563c Uncomment the %expect. 1996-03-12 19:01:05 +00:00
phil
2fe7ea6745 Uncomment the %expect. 1996-03-12 18:46:21 +00:00
phil
ebca468319 Update for -DGCC_NAME=... in Makefile for g++. 1996-03-11 06:53:27 +00:00
phil
cf6c269b55 Change so g++ doesn't concat junk to the front of /usr/bin/cc for
the name of gcc.  (Closes pr 2188, different fix)
1996-03-11 06:48:33 +00:00
phil
180e9e53f6 Back out last change now that libstdc++ now exists. 1996-03-11 06:35:33 +00:00
jtc
fed36893e3 add c-parse.h to beforedepend target's dependency list 1996-03-06 20:40:06 +00:00
jtc
0b9cc167a8 Updated for changes to build parsers from *.y files 1996-03-05 01:27:16 +00:00
jtc
8e3cd4b2d5 Add -I. to CFLAGS; now needed for cc1plus 1996-03-05 01:03:19 +00:00
jtc
817015a438 Removed parse.c and parse.h, now generated from parse.y. 1996-03-05 01:02:05 +00:00
jtc
7a795dd808 Removed objc-parse.c.
Commented out %expect from objc-parse.y.
1996-03-05 00:22:08 +00:00
jtc
a7f36c96bf Build c-parse.c / c-parse.h from c-parse.y.
Comment out %expect in c-parse.y.
1996-03-05 00:12:50 +00:00
jtc
af6951825e Moved c-parse.y to ../common.
Removed c-parse.c.
1996-03-05 00:06:04 +00:00
jtc
56a0325bb8 Build bi-parser.c & bi-parser.h from bi-parser.y 1996-03-01 00:13:51 +00:00
phil
4d30f3b468 Updates to get the .y files in our source tree. 1996-02-28 21:01:27 +00:00
briggs
37fbce7fae Fix from Niklas Hallqvist <niklas@appli.se> for extendplussidi.
A missing constraint was allowing a register to get reused prematurely
when doing an addition of two longs into a quad.
1996-02-21 05:34:20 +00:00
jtc
00a38a0584 Added support for m68060 (activate with -m68060). This change has
already been accepted and integrated into the FSF source tree.
1996-02-19 21:26:53 +00:00
jtc
ada953057b Remove the DBX_NO_XREFS definition from the NetBSD m68k, ns32k, and
sparc gcc configuration.  It isn't needed, as NetBSD uses gdb.
1996-02-19 21:01:57 +00:00
mycroft
1478bdefdd Fix thinko in previous change. 1996-02-11 02:02:03 +00:00
mycroft
fa9dad8bfa If pedantic, whine about long long length modifiers. Suggested by der Mouse. 1996-02-08 08:57:22 +00:00
mycroft
7920800310 Invoke GCC as /usr/bin/cc. 1996-02-08 03:51:02 +00:00
mycroft
51cb4d7716 Remove -lstdc++ until it exists. 1996-02-08 03:46:10 +00:00
jtc
6b5e9088a1 Pass -m68030 or -m68040 through to the assembler.
This patch has been submitted and accepted by the FSF and will be
in the next gcc release.
1996-01-16 18:41:47 +00:00
phil
269329a42b a) new way to add "# $NetBSD: $" to generated files.
b) combined some function calls
c) updated g++ Makefile to sync with one in tree. (pr 1911)
1996-01-08 03:51:38 +00:00
phil
f8f1e84a29 Make the correct links of c++/g++. (pr 1991, thomas@cevis.uni-Bremen.de) 1996-01-08 03:42:13 +00:00
phil
69bfe8d762 Update the script to generate the same as what is in the tree.
*REMEMBER* Any change in the gcc tree should be reflected in the gcc2netbsd
script so it reflects reality!  If you don't know how to change the
gcc2netbsd script, send your gcc changes to phil@netbsd.org.
1996-01-04 05:34:58 +00:00
ragge
6691107409 Bug (!) in vax.md causing some compilations to fail; an '$' too much. 1995-12-30 17:19:53 +00:00
mycroft
e5a13ab82f Build long double support for i386 as well. 1995-12-21 05:36:19 +00:00
phil
f5c9632c68 Sync with change to arch/mips/xm-netbsd.h. 1995-12-15 08:05:11 +00:00
phil
4fec4fc912 Changing "..." to <...> for includes. 1995-12-15 08:03:52 +00:00
phil
34527405c3 Import gcc-2.7.2. Since it is in the gcc directory instead of the gcc2
directory, this is being done now.  We will live with two trees until
the "formal" switch over by changing src/gnu/usr.bin/Makefile.
1995-12-01 17:58:53 +00:00