Commit Graph

87 Commits

Author SHA1 Message Date
thorpej
2198b55512 Add arm/xm-netbsd.h 2002-03-24 18:25:55 +00:00
fredette
99db91e2e0 Add m68000-specific `toolchain2netbsd' generated toolchain build/config files. 2002-03-22 00:07:45 +00:00
tv
ac1299bdfb New toolchain infrastructure for sh3eb, generated with mknative. 2002-02-27 18:45:14 +00:00
tv
b69d8cc8b2 New toolchain framework for sh3el platforms, generated with mknative. 2002-02-27 17:10:09 +00:00
tv
66c4fd196e Make hconfig.h common as simply a redirect to config.h; these are
identical on a native build.  (Simplifies mknative for generating the
arch-dependent bits.)
2002-02-26 20:56:29 +00:00
thorpej
07e8c5c63c Define TARGET_CPU_DEFAULT. From Matthias Drochner. 2002-02-07 16:52:37 +00:00
reinoud
f3413b0e75 Back out change on Perry's request... PR 15303 is open again. 2002-01-30 17:43:52 +00:00
reinoud
d4d4c95b9e The config file mentiones that if off_t isnt defined its defined in gcc as
`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.

By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.

This aparently fixes PR 15303
2002-01-30 17:11:44 +00:00
mrg
6bdbccbb59 regenerate. 2002-01-22 15:52:53 +00:00
tv
4c9a2ef7d3 * Add protoize and unprotoize. (Closes PR 6894.)
* Regen files with proper OS names and version numbers.

* Clean up toolchain2netbsd somewhat, to get it ready to be cross-host
  compatible (more work to be done here, but it's getting closer).

* Add framework for gdbreplay and gdbserver, but hold off on enabling these
  by default until low-nbsd.c is verified to work everywhere.
2001-12-19 23:54:16 +00:00
thorpej
74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +00:00
gmcgarry
28cc8c307b Add G_GCOV_OBJS so gcov compiles. 2001-12-10 06:16:01 +00:00
rafal
f317d28b1a New toolchain files for mipseb. Mainly toolchain2netbsd output with some
changes to configuration stuff to (a) recognize `mipseb', and (b) build a
BE-default GCC on mipseb.  gprof and gdb still not done.

WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
chase the binutils folks on this issue still.

That said, the new toolchain seems to work quite well once the ABI change
is worked around/fixed -- I'm committing from a machine running a user-
land built with the new compiler.
2001-11-08 07:21:53 +00:00
scw
ec53366faa Add m68k-specific `toolchain2netbsd' generated toolchain build/config files. 2001-11-05 19:10:55 +00:00
matt
f6225f91fb Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. .. 2001-09-08 18:26:05 +00:00
matt
33ebc9435e Regenerate so that ${DIST} is not expanded. 2001-08-30 01:31:49 +00:00
matt
61cb93c98c Commit NEW_TOOLCHAIN files. Do not attempt to use these unless you know
what you are doing!
2001-08-28 07:08:54 +00:00
matt
87cdecebcb Update new toolchain that now toolchain2netbsd has been
run natively on an ARM ELF system.
2001-08-19 17:48:49 +00:00
mrg
318911587e regenerate. 2001-08-15 02:44:58 +00:00
tv
8f264ae2fc Regen. 2001-08-14 05:18:26 +00:00
tv
75c2396dcc Regen. 2001-08-14 05:14:59 +00:00
mrg
8d54deacdd regenerate. 2001-08-10 12:01:48 +00:00
matt
ee544f340c Remake with toolchain2netbsd 1.3 2001-07-28 06:51:59 +00:00
matt
c8e381be8c Adding VAX gcc 2.95.3 (ELF). 2001-07-20 04:59:06 +00:00
matt
5ac8a0b7ba powerpc support for 2.95.3 2001-07-19 22:13:23 +00:00
mrg
4523fd67d7 build a mipsel-netbsd gcc & libgcc. 2001-07-19 18:35:22 +00:00
matt
15d3102358 Initial 2.95.3 support for ARM-ELF. 2001-07-19 15:27:16 +00:00
mrg
c88bdb3273 build a sparc (elf) gcc 2.95.3 2001-07-19 15:20:13 +00:00
mrg
4331a0fffa freshly generated sparc64 config that seems able to build a working c & c++
compiler....  now we just need binutils & gdb :)
2001-07-19 00:54:24 +00:00
tv
77c3a78e27 Regen. 2001-07-18 18:17:58 +00:00
tv
634ebd4dc4 Add gcc 2.95.2 build framework, and i386 config files from toolchain2netbsd.
This should not be used directly for building host tools; rather, the top
level bootstrap (to be committed separately) should be used to build the
entire system including this compiler.
2001-06-18 16:18:30 +00:00
tv
1343ef3796 GC old gcc 2.7.2.2. 1998-12-12 23:44:22 +00:00
mycroft
cab96925f3 Grad the adddi3 pattern from egcs -- which prevents the insn from getting too
complicated to allocate all the registers it needs.
Fixes PR 5199.
1998-11-12 16:40:47 +00:00
mycroft
2ea86fa2ea Redo the previous:
GC all of the backward branch code (which wasn't used).
Separate the a.out stuff into a separate .h file.
Some other random cleanup.
Leave the arm_preserved_register() hack for now.
1998-11-12 11:03:23 +00:00
mycroft
bc4bd03685 Various changes culled from 2.8/egcs to clean this up a bit. 1998-11-12 03:03:34 +00:00
mycroft
21135fece3 Remove the useless S constraints in the casesi_internal pattern. 1998-11-11 20:39:21 +00:00
mycroft
2faed9af34 Delete bogus comment. 1998-11-11 18:32:50 +00:00
mycroft
9612fc2c3b Remove duplicated comment. 1998-11-11 12:13:32 +00:00
mycroft
3f758b12b4 Import corrected load/store multiple code from egcs. 1998-11-11 09:07:17 +00:00
mycroft
5fedd08634 Work around the bug that causes unrecognizable smin insns.
This is truly gross.
1998-11-11 02:57:13 +00:00
mhitch
b2b8303852 C++ support changes:
Generate .ctors and .dtors sections which contain the contructor and
deconstructor function addresses.

Use .init and .fini sections to call the functions to call those functions.

Include the crtbegin and crtend object files which perform those calls.
1998-11-06 04:33:43 +00:00
christos
228a8f9869 PR/6265: Chas Williams: minor bug in assembler output from gcc
(produces 'empty' symbols)
1998-10-09 11:13:21 +00:00
jonathan
e70308f9ea cleanup: Use sigemptyset() if HAVE_SIGEMPTYSET defined,
otherwise zero out entire struct sigaction.
1998-09-28 22:36:09 +00:00
jonathan
1d4590b75f sa_mask (sigset_t) is no longer integral, so initialize to zero via
function call. Code is used on OSF/1, too, so no __sigemptyset.
1998-09-28 21:41:23 +00:00
jonathan
0663f303b1 Back out rev 1.6: passing "-nostdlib" to binutils ld results in
binaries that abort immediately on exec().  binutils ld apparently
treats "-nostdlib" as a set of one-char options?)
1998-09-28 21:37:11 +00:00
matt
44525e4d53 Slight tweak so that indirect references thru the PC are not used
in PIC mode.
1998-08-29 21:10:40 +00:00
mycroft
e41c61fee9 Slight cleanup. Nuke things defined in ../netbsd.h, and nuke -Driscbsd. 1998-08-04 20:48:19 +00:00
tv
1a9b4ce852 "Fix" ASM_WEAKEN_LABEL so libgcc2 will compile happily. This _should_ be
fixed in libbfd for compliance with the other platforms when switching to
egcs as the compiler for arm32.
1998-06-09 17:58:27 +00:00
simonb
3c372c50f6 Add __ELF__ to CPP_PREDEFINES for mips platforms. 1998-05-14 04:05:45 +00:00
matthias
6a93608a3d ns32k.c:
* ns32k_gen_operand is no longer needed.
* new function symbolic_reference_mentioned_p (stolen from i386).
* make print_operand dtrt when printing symbolic "constants" in picmode
  and abort for the cases that it can't handle (e.g. symbol+offset).

ns32k.h:
* Use NS32K_DISPLACEMENT_P wherever suitable.
* make LEGITIMATE_PIC_OPERAND_P dtrt to make the ns32k_gen_operand hack
  unnecessary.

ns32k.md:
* Use general_operand instead of ns32k_gen_operand everywhere.
* replace "rmn" by "g" again.
* make addsi3 dtrt for pic.

The comments in ns32k.md still need some updates.
Thank's again to Ian Dall for his help.
1998-03-30 20:21:01 +00:00