Commit Graph

48 Commits

Author SHA1 Message Date
thorpej
a6fea1b57c Add -D__ELF__ to CPP_PREDEFINES (per the Other gcc) 1998-05-14 04:16:40 +00:00
mycroft
99a8464fa0 Nuke the previous, now that it's done elsewhere. 1998-05-07 04:17:13 +00:00
mycroft
52463c691f Set MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:15:07 +00:00
mycroft
147bf39e19 We don't want the MD_EXEC_PREFIX for SysV. 1998-05-07 03:55:58 +00:00
mycroft
3229c8b030 Oops; need a LINK_SPEC here to override the entry point name. 1998-05-06 09:36:01 +00:00
mycroft
1125919631 Nuke USG and COLLECT_EXPORT_LIST. 1998-05-06 08:33:19 +00:00
mycroft
a931908bc3 Don't define TARGET_NAME here. 1998-05-06 07:49:00 +00:00
mycroft
a039a5720b Fix erroneous line breaks in LINK_SPEC. 1998-04-30 12:52:54 +00:00
mycroft
f9955a6ead Fix bizarreness with USE_COLLECT2 being overridden. 1998-04-30 10:41:55 +00:00
mycroft
3b1b451897 Regen. 1998-04-30 09:26:13 +00:00
mycroft
2eefd74d43 First pass at PowerPC support, and disable collect2 on all NetBSD platforms. 1998-04-30 09:21:47 +00:00
tv
d00ec01b00 Add Bernd Schmidt's fix for H.J.Lu's codegen bug as discussed on
egcs-bugs@cygnus.com.  This is in 1.1 (and we may have to update to 1.1
to gain many other fixes, unfortunately).
1998-04-28 13:53:53 +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
mycroft
18e058d8ed Make sure PIC relocations go in a writable data section. 1998-04-24 21:11:09 +00:00
cgd
fea06d4c21 add back in the old NetBSD changes. Also, add in a PIC GOT
offset fix from the snapshot.
1998-04-19 01:05:27 +00:00
cgd
f502d8c9f4 sync with EGCS 1.0.2 1998-04-19 01:01:20 +00:00
cgd
51183f1bb3 re-import egcs 1.0.2 ARM bits. trying to use the snapshot's bits was a
nice idea, but caused more problems than it was worth.
1998-04-19 00:56:34 +00:00
cgd
92c6f02e55 consistency the rest of the NetBSD/arm32 toolchain: make TYPE_OPERAND_FMT
be "#%s".  This generates assembly consistent (w.r.t. .type directive)
with asm.h and what the existing compiler generates.  (The old definition
was "%%%s", and the assmbler choked on the %'s.)
1998-04-18 19:02:13 +00:00
cgd
4a1dac1736 don't warn about PIC code being unsupported, because that always-warn
situation with -fpic will always break NetBSD builds (which use -Werror).
PIC code generation seems ... less than perfect, at this time; it still
aborts occasionally.
1998-04-18 00:39:43 +00:00
cgd
ce07f954d8 define SYS_SIGLIST_DECLARED in a way that's consistent with config.h 1998-04-18 00:37:33 +00:00
cgd
6a4f33b13a merge changes from 980411 snapshot import. a couple of macros got new
arguments, so mark them as XXX and make them compatible with 1.0.2.
1998-04-18 00:32:28 +00:00
cgd
39de2f4adb Import EGCS 980411 snapshot's gcc/config/arm bits. 1998-04-18 00:22:33 +00:00
thorpej
ef3c228075 Fix the definition of TARGET_VERSION. 1998-04-17 23:54:03 +00:00
thorpej
7f756d0c18 Rewrite this file (again). Copy the Linux Alpha config, and tweak it
to work with NetBSD.  Use as many NetBSD common definitions as possible.
1998-04-17 23:50:03 +00:00
matthias
d3d91d4d63 ns32k specific changes for "our" gcc ported over to egcs by Ian Dall. 1998-04-17 19:41:18 +00:00
cgd
e3e48e335a undef ASM_WEAKEN_LABEL, because the NetBSD/arm32 assembler (or, at least
the one that I have) doesn't seem to do the right thing with weak
references, which causes libgcc c++ function lossage.
1998-04-17 18:24:12 +00:00
mrg
d8d4004939 pull over some things from the old gcc, and clean up. 1998-04-17 06:06:09 +00:00
mrg
6f7e681840 clean up slightly. 1998-04-17 06:05:42 +00:00
mrg
3b9f5eaac1 define HAVE_STRERROR to 1, not nothing. 1998-04-16 17:59:21 +00:00
mrg
ba821ac657 - include <alpha/elf.h> (though this is currently quite linux centric, we
can use it with a small tweak (see below).
- also define __ELF__
- GC some unnecessary defines.
- define a sane TARGET_VERSION macro.
- provide alpha/ELF ASM_SPEC and LINK_SPEC macros.

all from thorpej.
1998-04-16 17:58:23 +00:00
mrg
877072df9c - move a.out specific defines between (commented) #ifdef NETBSD_AOUT
- add ELF specific defines #ifdef NETBSD_ELF (from thorpej, via his
  alpha/netbsd.h).
1998-04-16 17:56:12 +00:00
tv
d2af5c2742 ARM32 fixes from cgd: GNU uses "arm", not "arm32" for the architecture;
missing backslash in netbsd.h; wrong prototype in arm.h.  Still not PIC
capable, yet.
1998-04-15 21:54:05 +00:00
mrg
0ecb816bd6 rewrite <alpha/netbsd.h>. still does not quite work. 1998-04-15 08:19:26 +00:00
mrg
21431cfbea do not define MD_STARTFILE_PREFIX under NetBSD. 1998-04-15 01:53:13 +00:00
mrg
51b0ae9977 include <string.h> 1998-04-15 01:43:52 +00:00
tv
aa9dc830d0 Add note that -nostdlib is passed to the linker. 1998-04-07 13:16:28 +00:00
tv
5ada55b10c Remove files automagically generated by yacc so they don't get picked up
by a .PATH: statement, and _will_ be generated.
1998-04-01 02:55:43 +00:00
tv
17130ff0d5 add __vfork14() compensation by including <unistd.h> as inspired by our
in-tree gcc.  make this special activity conditional on __NetBSD__.
1998-04-01 01:50:31 +00:00
ross
50b7806b40 Add an egcs config boilerplate file. 1998-03-31 06:43:43 +00:00
scottr
67d9c0902b Need to include tree.h to resolve a problem with a missing prototype
for dwarf2out_cli_label().
1998-03-31 06:00:05 +00:00
mycroft
696d43df9d This is a kluge, but make sure we get tconfig.h from the right place. 1998-03-30 21:55:48 +00:00
mrg
a057e5253b comment bogus main warning even with -Wno-main. 1998-03-30 17:06:33 +00:00
mrg
d0b9c83285 pull over arm32/signed char fix from usr.bin/gcc 1998-03-30 07:25:25 +00:00
mrg
290de3be42 merge netbsd/powerpc gcc changes from toolchain/gcc 1998-03-30 04:33:11 +00:00
mrg
8e92b678e2 merge netbsd/alpha gcc changes from toolchain/gcc 1998-03-30 04:30:26 +00:00
mrg
ae088afd9c add -D__KPRINTF_ATTRIBUTE to CPP_PREDEFINES 1998-03-30 03:23:31 +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