Commit Graph

267 Commits

Author SHA1 Message Date
tv d6e6f5296d Need DWARF2_UNWIND_INFO=0 to get the right kind of default exception
handling.
1998-08-18 02:42:24 +00:00
tv 577b2ff265 The ASM_DECLARE_FUNCTION_NAME/ASM_DECLARE_OBJECT_NAME stuff is completely
wrong for alpha, and may actually be wrong for more ELF ports than that.
For now, turn it off for ELF, and investigate.
1998-08-17 18:14:53 +00:00
tv e710cf2a57 Provide a definition for MAX_WCHAR_TYPE_SIZE. 1998-08-17 15:39:58 +00:00
tv ba44e6dbd5 Undefining TARGET_VERSION is both bogus and deviant from all ofther gcc
ports.
1998-08-17 15:29:27 +00:00
tv 2eb8687dbb Need definition for HOST_BITS_PER_LONGLONG. 1998-08-17 15:22:01 +00:00
tv 6b6b51c3e4 The arm32 port uses gas by default; turn on --with-gnu-as by default. 1998-08-17 04:05:00 +00:00
tv 78e8c617cc The available system headers are defined by "system.h" - don't try to
second-guess them here.
1998-08-17 04:02:10 +00:00
tv 64c6d5152c "Bonehead." This file is included by others, not used by itself. 1998-08-17 02:19:15 +00:00
tv b62f0811fe Include some files apparently not included in the Cygnus released source (!?). 1998-08-17 02:12:21 +00:00
tv 3156b4cd02 The Alpha tm_file is just alpha/netbsd.h, which includes everything else
that it needs.
1998-08-17 01:44:25 +00:00
tv d65b2e3afa Don't define STANDARD_{EXEC,STARTFILE}_PREFIX here; do it in the Makefile
like the GNU setup does.
1998-08-16 21:28:20 +00:00
tv b32c2a3ab9 Use the proper <arch>/xm-netbsd.h file as the xm_file on each port. 1998-08-16 21:14:33 +00:00
tv 667decf81a Resolve conflicts, fix up c-common, and clean up import of egcs 1.1. 1998-08-16 20:41:00 +00:00
tv 26a48a2e12 Import egcs-1.1 libf2c (libg2c), 19980816 snapshot 1998-08-16 18:10:35 +00:00
tv 6fe7eeb157 Import egcs-1.1 gcc, 19980816 snapshot 1998-08-16 17:45:46 +00:00
tv 45ddfeba03 Import egcs-1.1 gcc, 19980816 snapshot 1998-08-16 17:35:45 +00:00
mark ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
bouyer b2dd67104a Document the fact that -w is now a sinonym for --window. Writing in the
executable is enabled with --write. Closes PR 5533.
1998-07-27 12:42:05 +00:00
tv b6ace53b3a Allow mips{eb,el}-*-netbsd* in configuration, setting default accordingly,
and make mips-dec-netbsd* an alias for mipsel-*-netbsd*.
1998-07-27 01:44:10 +00:00
tv ebc00ce7b0 Add mipsel-*-netbsd* as synonym for mips-dec-netbsd*. Don't yet add
mipseb-*-netbsd* as this requires some MD header file twiddling.
1998-07-27 01:42:24 +00:00
tv 41d9610f72 Add definition for mipseb-*-netbsd and make mipsel-*-netbsd the same as
mips-dec-netbsd.
1998-07-27 01:01:07 +00:00
mycroft 8f16870c20 const poisoning. 1998-07-26 17:11:42 +00:00
mycroft 0a2cb6aaab const poisoning. 1998-07-26 17:05:05 +00:00
mycroft 49031b1376 const poisoning. 1998-07-26 16:56:51 +00:00
thorpej 99db56429d Only default to m68k4k on hp300 if before NetBSD 1.3. 1998-07-12 19:05:29 +00:00
thorpej 41f74e9b75 Add elf32-m68k support to the NetBSD m68k target. 1998-07-12 18:52:34 +00:00
tv a3ef68cb68 Add a hack to recognize VAX kernels. This will later be made into its own
bfd target (a.out-vax-ultrix or a.out-vax-netbsd-kernel).
1998-07-01 15:15:51 +00:00
mark 5375ce1cdd Remove junk related to KERNEL_U_SIZE. 1998-06-27 19:37:15 +00:00
mark a1e48b9cd9 Fix definitions of ADDR_BITS_REMOVE for 32 bit addresses rather than
26 bit.
1998-06-27 19:35:17 +00:00
mark aa00a3d8c7 Axe redundant file. 1998-06-27 19:33:59 +00:00
mark d4ac65004d Include machine/setjmp.h for JMPBUF_REG_R14 definition.
Define SIGTRAMP_START, SIGTRAMP_END and SIGCONTEXT_PC_OFFSET here.
Include arm/tm-armnbsd.h rather than arm/tm-armbsd.h
1998-06-27 19:33:09 +00:00
mark bbd80550e6 Use ADDR_BITS_REMOVE macro rather than using a hardcoded mask when
calculating program counter addresses.
1998-06-27 19:30:01 +00:00
gwr c0fde6edd3 Avoid unnecessary calls to fetch_inferior_registers() by calling
registers_fetched() at the end of store_inferior_registers().
By definition, our copy of the register set is up-to-date
at that point, so let the common gdb code know that.
1998-06-16 18:39:04 +00:00
gwr faf0c21368 fetch_core_registers gets all the registers in one call. 1998-06-16 18:31:48 +00:00
ragge cdca827d9e Vax support. 1998-06-11 21:43:58 +00:00
tv 6b3823ed1a ...And calculate same when building the armap (for ranlib). 1998-05-25 23:36:43 +00:00
tv 172288b9b4 Fix long filenames that weren't calculated while reading the ar header. 1998-05-25 21:56:14 +00:00
tv f970339892 Fix botched assumptions about alignment of data elements: files are
aligned, but on word-at-filesize bytes instead of word-at-filedatasize
bytes.  That's actually a bug in binutils 2.8.1 wrt 4.4BSD archives that is
fixed here.
1998-05-25 18:57:23 +00:00
tv da925af9ad Integrate NetBSD arm32 diffs for gdb. Now compiles and works `out of the
box'.  Use new GNU_ARCH remapper.
1998-05-22 17:17:59 +00:00
tv 170952480e Make archives work for both 4.4BSD a.out and SVR4 ELF style archives:
introduce a flag that tells bfd not to align ar(1) headers on word
boundaries.
1998-05-22 14:08:22 +00:00
tv 1691822b47 Add ability to write 4.4BSD format archives; set a.out NetBSD platforms to
use this ar format by default.
1998-05-22 02:19:27 +00:00
tv 3f4672dd45 Remove automatically generated files. 1998-05-21 20:49:59 +00:00
tv 3c4dfb6d80 Fix warning about improper escapes on line 12. 1998-05-19 19:11:56 +00:00
tv 420329c722 Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
tv 8352e0b393 Remove automatically generated files. 1998-05-19 14:13:11 +00:00
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 c0de9013ee Fix a syntax error. 1998-05-06 11:22:07 +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 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
mycroft 111c2f97a8 Support higher baud rates. 1998-04-02 10:32:04 +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 5f094689c8 initial import of the egcs 1.0.2 c++ io library 1998-03-29 08:32:21 +00:00
mrg 1d9ec375c0 initial import of the egcs 1.0.2 standard c++ library 1998-03-29 08:31:49 +00:00
mrg d3c5e32f1d initial import of the egcs 1.0.2 compiler 1998-03-29 08:14:27 +00:00
matthias 01ecf0f5b8 Oops. This is a part of Ian Dall's gdb-ns32k changes I forgot to commit. 1998-03-19 22:06:40 +00:00
matthias 58b2f0ab4c Ian Dalls patches to make gdb work with respect to his modifications
to gcc to support the ns32381's additional floating point registers.
1998-03-13 22:01:07 +00:00