Commit Graph

59 Commits

Author SHA1 Message Date
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