eeh
36db6b8dda
Make cc call gas with `-Av9a' (thanks mrg).
1999-01-17 02:13:18 +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
78e96b963d
This file is no longer in egcs 1.1.1.
1999-01-04 18:57:35 +00:00
tv
b0a62946c3
This is also called "f77" and "fort77".
1999-01-02 23:55:13 +00:00
kristerw
a20ab6118b
gcc places relocations for class references in the text segment. That
...
is wrong for pic code. Remedy that.
This removes those annoying 'RRS text relocation' warnings when building
libobjc.
1998-12-29 02:03:58 +00:00
mrg
c57e92ccdf
add support for "sparc-*-netbsdelf"
1998-12-16 14:49:45 +00:00
tv
b5075450ce
Conflict resolution.
1998-12-13 00:12:17 +00:00
tv
1bd5f31faa
Import egcs 1.1.1 (release).
1998-12-13 00:04:06 +00:00
christos
272c18109a
Add -DLINTCOMMENT for the previous change so that it is easy to spot.
1998-12-09 14:50:02 +00:00
christos
875e080659
Add a new flag -CC, that preserves comments in macro definitions and expands
...
them in the right place in the file. Used for lint(1).
1998-12-09 12:26:17 +00:00
mycroft
3934bd1d8b
More bug fixes from Richard Earnshaw:
...
* Fix problems with moving constants smaller than the word size.
* Fix problems with CSE trying to shortcut PIC references.
1998-12-03 16:05:47 +00:00
eeh
d445f3c355
Need to select a DEFAULT_TARGET_CPU when building in-tree
1998-11-28 17:55:43 +00:00
mrg
f1580cbe73
add __arch64__, __sparcv9__ and remove unix, from CPP_PREDEFINES.
1998-11-23 09:16:57 +00:00
mrg
eb11f92a79
make this work. seems it needed `long int' and `long unsigned int' *exactly*
...
otherwise it wanted to dump core. strange. seems to work OK now.
1998-11-22 07:54:00 +00:00
mycroft
500c26b496
Post-1.1.1pre2 patches from me and Richard Earnshaw. Fixes problems with
...
allocation of the r10 register, and some cases where code would fail to
compile.
1998-11-21 22:09:32 +00:00
mycroft
facb3de742
Post-1.1.1pre2 patch from Jeff Law, via the egcs repository, which fixes some
...
problems with register allocation.
In particular, this should fix if_we on the i386, and GNU malloc on the m68k.
1998-11-21 22:06:47 +00:00
mrg
747cbdde89
deal with `sparc64--netbsd'.
1998-11-21 04:39:03 +00:00
mrg
c1b5511954
these are my NetBSD/sparc64 compiler descriptions. treat only as "work in progress."
1998-11-21 04:28:59 +00:00
tv
5f9a39a821
Add %{R*} to the LINK_SPECs which don't have them, to make rpath options
...
consistent on the compiler's front end. (Note that -Wl,-R/path/ is still
the preferred usage in third-party software for 1.2+ compatibility.)
1998-11-17 18:22:51 +00:00
tv
1e43fc94f3
Make -G an option letter that takes an argument. Also nuke HAVE_ATEXIT as
...
that's in the global netbsd.h.
1998-11-17 18:15:28 +00:00
tv
c33b9ddf0b
Conflict resolution from 1.1.1pre2 import.
1998-11-14 04:27:16 +00:00
tv
7500a991df
Import egcs 1.1.1 prerelease 2
1998-11-14 04:14:09 +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
jonathan
6850880028
Use Standard SVR4 ctor/dtor mechanism: emit vectors for C++ file-level
...
constructors/destructors in .ctor/.dtor sections, respectively.
[cf: src/gnu/usr.bin/gcc/arch/mips/netbsd.h rev 1.10]
1998-11-07 18:00:10 +00:00
jonathan
7431d9c704
Fixup last line of previous revision (editor buffer mishap?)
1998-10-31 12:52:34 +00:00
jonathan
fe7810c7dc
egcs-1.1 netbsd/mips config fixes:
...
1. Change linkspec to not pass -nostdlib to binutils ld, since on mips,
ld parses "-nostdlib" as a set of short options which produce
nonworking binaries.
2. Turn off ASM_OUTPUT_DEF definition: the egcs iris6.h says that
our old definition (from gcc 2.7.2.2 iris5.h isnt really whats
wanted here.
3. Turn off SET_ASM_OP (which defaults to .set) to stop
dwarf2out.c from emitting debug(?) info for C++ using ".set",
since both gas and mips as use .set to control assembler
optimizations, not for equating labels. From iris6.h.
and nonzero -G values are incompatible with PIC.
4. Set default GVALUE (for -G) to 0; this target always produces PIC
by default, and on mips, PIC is incompatible with `small' segment.
5. Set TARGET_DEFAULT to enable "-mdebuga" to defeat
GO_IF_LEGITIMATE_ADDRESS "smarts". GO_IF_LEGITIMATE_ADDRESS pretends
that mips supports an address mode of constant + register.
For constants larger than 16 bits, that relies on assembler fixups
via $at. egcs 1.1 (expr.c delta 1.76) may break up those addresses
such that the backend cannot output them as offsets in load or store
instructions anymore; no other patterns match so egcs coredumps.
1998-10-31 12:07:01 +00:00
matt
87cd4ef9e6
More PIC fixes.
1998-10-28 15:56:20 +00:00
matt
ba7ad80c79
Fix cut&paste error.
1998-10-28 15:54:46 +00:00
matt
540ce132a7
Many fixes. Produes correct code now for strtoq.c and gawk.
1998-10-28 15:53:24 +00:00
matt
bbd553f2e6
Eliminate more RRS text warnings. Fix a few fatal_insns with g++.
1998-10-21 06:39:55 +00:00
matt
b472384710
Another small PIC bug fix.
1998-10-20 15:36:48 +00:00
matt
85da69cb36
More PIC bug fixes.
1998-10-20 14:58:44 +00:00
matt
40b1bb9563
A large number of changes to enable PIC support and shared libraries
...
for NetBSD/vax.
1998-10-19 03:01:52 +00:00
tv
57d34f92e8
Set MAX_OFILE_ALIGNMENT to 32 as suggested by <chas@cmf.nrl.navy.mil> in
...
PR port-m68k/6308. Since m68k's can access doubles fine on a 32-bit
boundary, this does not need to be 64.
1998-10-16 20:07:15 +00:00
tv
cacab8b6b5
Define __arm__ in CPP_PREDEFINES as on other ARM OS's. Suggested by
...
<rearnsha@arm.com>.
1998-10-16 19:50:46 +00:00
scottr
153523c847
Revert last; this breaks compatibility with gcc-2.7.x-compiled
...
code.
1998-10-14 18:28:16 +00:00
tv
451f0e3c25
Fix TARGET_DEFAULT as reported by <chas@cmf.nrl.navy.mil> in PR
...
port-m68k/6288.
1998-10-14 14:55:30 +00:00
tv
492d363964
Conflict resolution from 14 Oct import
1998-10-14 14:40:18 +00:00
tv
dd23d5aa0c
Import egcs 1.1 (branch), 14 Oct 1998 sources.
1998-10-14 14:28:50 +00:00
matt
cc0b4bda88
DWARF2_UNWIND should be undefined otherwise dwarf2out.c won't compile
...
because it is expecting another macro which vax gcc doesn't have or need.
1998-10-14 01:47:05 +00:00
matt
048bef97f2
EGCS fix for VAX. It is illegal to shift by more bits than is can be
...
contained in the type. This was cc to die when initialize the
tetra long values on vax because it was trying to shift by -64.
This in turn was causing a reserved operand fault resulting in a SIGILL.
1998-10-14 01:45:16 +00:00
tv
f10fec8d32
arm32 has no INCOMING_RETURN_ADDR_RTX. Fix the DWARF2_UNWIND_INFO goop.
1998-10-04 04:16:28 +00:00
tv
9c3d862cfb
Fix -nostdlib handling: don't make that option drop the "-e __start" from
...
the ld command line.
1998-09-28 19:25:28 +00:00
tv
765a4daca2
Find the proper general VAX and NetBSD MI definitions.
1998-09-15 02:24:54 +00:00
tv
efa86546e9
Provide more informational errors when supplying the cpp option -Dname
...
where "name" is invalid, as requested by <woods@most.weird.com> in PR
bin/5767.
1998-09-15 00:22:02 +00:00
tv
fe75b89f93
Nuke stdio.h's P_tmpdir and explicitly try /tmp after the environment
...
variables if hosted under NetBSD. Inspired by <tsutsui@ceres.dti.ne.jp>
in PR bin/5700.
1998-09-14 17:19:35 +00:00
tv
c893c988b3
Conflict resolution.
1998-09-13 16:20:35 +00:00
tv
b37a043772
Import of egcs 1.1 release (1.1b).
1998-09-13 16:09:19 +00:00
tv
4995df0d60
Import of egcs 1.1 release (1.1b).
1998-09-13 16:08:57 +00:00