Commit Graph

3635 Commits

Author SHA1 Message Date
thorpej 2b0761b3c8 Obey USE_YP. 2002-04-10 22:05:47 +00:00
thorpej a74d497074 MKKERBEROS -> USE_KERBEROS 2002-04-10 22:04:51 +00:00
itohy be6e32fe84 make gas work for a.out/i386 2002-04-10 15:02:04 +00:00
msaitoh 93943fd466 sync with gnu/dist/gas/config/tc-sh.c rev. 1.4
> dd "-big" option for little endian
2002-04-10 11:33:06 +00:00
msaitoh c6a6db9921 shl -> !target_big_endian 2002-04-10 10:12:10 +00:00
msaitoh eec913e568 sync with gnu/dist/gas/config/tc-sh.[ch] rev. 1.3
> Use only one common variable to check whether big endian or not.
 > Now gas doesn't confuse endianness!
2002-04-10 10:03:43 +00:00
msaitoh 3bbc40138d - include MANY *.h
- include sh/sh-protos.h instead of gcc3's tm_p.h
- fix some function's return value
- fix some function's missing argument
- warning fixes
2002-04-09 17:57:33 +00:00
msaitoh b87ae7ffe6 define prototypes as gcc3 into -protos.h 2002-04-09 17:54:40 +00:00
thorpej cf7fc0c171 Multi-line string literals are not allowed in ISO C. 2002-04-08 22:46:29 +00:00
thorpej 142b21ac73 Set ARM_FLAG_APCS_FRAME in TARGET_DEFAULT. Per discusison with
Richard Earnshaw.
2002-04-08 21:41:10 +00:00
thorpej 5511931bc6 Use <string.h> to get the memcpy/memset prototype. 2002-04-08 14:48:31 +00:00
bjh21 d14e3d0f51 Don't use __RCSID or __COPYRIGHT unless they're defined. 2002-04-08 14:20:41 +00:00
bjh21 586fe2903b Put port-acorn26 in the right place in the list. 2002-04-07 14:23:26 +00:00
bjh21 c43c79f541 Rename port-arm26 -> port-acorn26.
Add port-shark.
2002-04-07 14:17:26 +00:00
msaitoh 54d5b8ac24 apply gcc original rev. 1.84
> 2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
 >
 > 	* config/sh/sh.c (barrier_align): Recognize branch around far
 > 	branch and redundant insn.
2002-04-05 18:06:29 +00:00
msaitoh fb8881ade8 fix my last patch. 2002-04-05 18:02:28 +00:00
msaitoh e029db8b1c apply gcc original rev. 1.51
> 2000-03-06  Clinton Popetz  <cpopetz@cygnus.com>
 >
 > 	* config/sh/sh.c: (barrier_align): Handle a delay slot that is
 > 	filled with an insn from the jump target.
2002-04-05 17:58:28 +00:00
msaitoh bf44c5577f apply a part of gcc's original rev. 1.96
ADD MISSING "()"

 > 2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
 >
 >	* config/sh/sh.c (barrier_align): Add parentheses in initial
 > 	credit computation.
2002-04-05 17:34:27 +00:00
msaitoh ffef804eee add missing "return 0;" 2002-04-05 17:26:00 +00:00
msaitoh 83dcb72379 apply gcc's original rev. 1.81
> 2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
 >
 > 	* config/sh/sh.c (split_branches): Don't dereference re-computed
 > 	`beyond' before checking it's non-NULL.
2002-04-05 17:23:20 +00:00
msaitoh f8de406a0c apply a part of gcc's original rev. 1.67
> Mon Sep 18 20:26:50 2000  J"orn Rennecke <amylaar@redhat.co.uk>
 >
 >         * sh.c (find_barrier): For Sh1, take alignment after jumps into account.
2002-04-05 17:10:24 +00:00
msaitoh 689473c860 apply gcc original rev. 1.28
> Fix pcrel too far problems due to upping CACHE_LOG on SH2:
 > 	* sh.c (barrier_align): Don't return early for normal branch/barrier
 > 	when optimizing for SH2.
2002-04-05 16:59:16 +00:00
msaitoh e19e995528 apply gcc original rev. 1.144
> 2000-09-19  Bernd Schmidt  <bernds@redhat.co.uk>
 >
 > 	* final.c (insn_current_reference_address): Use INSN_SHUID of seq
 > 	rather than that of branch.
 > 	(shorten_branches): Don't increment insn_current_address twice.
2002-04-05 16:21:38 +00:00
msaitoh 07baef4c9d apply gcc's original rev. 1.105
> Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
 >
 > 	* final.c (shorten_branches): Correctly compute length of
 > 	asms without operands.
2002-04-05 15:58:31 +00:00
msaitoh 373c220202 gcc/config/sh/sh.h original rev. 1.51
gcc/config/sh/sh.c	original rev. 1.43

 > Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
 >
 >         * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
 >         to check for special cases.
 >         * sh.c (sh_loop_align): Define.
2002-04-05 15:50:14 +00:00
msaitoh 16f8beb6c9 apply gcc original rev. 1.09
> Wed Feb 23 16:42:21 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
 >
 > 	* final.c (shorten_branches): Make value passed to LOOP_ALIGN
 > 	conform to documentation.
2002-04-05 15:28:07 +00:00
msaitoh 8ed9bfd205 fix incorrect change at rev. 1.2 2002-04-04 20:00:33 +00:00
bjh21 c701db92ac Remove .cvsignore file.
<URL:http://www.netbsd.org/developers/cvs-repos/notes.html#cvsignore>
2002-04-04 17:08:24 +00:00
msaitoh 306d88f7e2 sync with gnu/dist/gcc/config/sh/sh.md rev. 1.7
> apply original gcc rev. 1.29:
 >
 >  * Guard insn splits against illegal regsiters.
2002-04-04 15:39:14 +00:00
msaitoh dd5f863fa8 sync with gnu/dist/gcc/config/sh/sh.md rev. 1.5
> apply gcc original rev. 1.34:
 >
 >  * sh.c (block_lump_real): Add missing clobber of T_REG
2002-04-04 15:33:35 +00:00
msaitoh a513ce40a3 sync with gnu/dist/gcc/config/sh/sh.md rev. 1.4
> gen_call() takes only two arguments (from egcs-current)
2002-04-04 15:30:47 +00:00
msaitoh e05a3f8f0a sync with gnu/dist/gcc/config/sh/sh.md rev. 1.2
> Sync *{mul,div}*i3 with egcs-current.
 > Now we can compile mount_mfs (newfs) with -O2!
2002-04-04 15:27:36 +00:00
msaitoh 4999187555 sync with gnu/dist/gcc/combine.c rev. 1.5
> gcc original rev. 1.89:
 > 	* combine.c (if_then_else_cond): If comparing against zero,
 > 	just return thing being compared.
 >
 > gcc original rev. 1.132:
 > 	* combine.c (combine_simplify_rtx): Don't create an if_then_else
 > 	unless both args are general_operand.
2002-04-04 13:30:38 +00:00
msaitoh 8b3e2136ae sync with gnu/dist/gcc/combine.c rev. 1.4,1.6
> apply gcc original rev. 1.116:
 >
 >  > combine.c (simplify_comparison): Fix typo.
 >
 > LTU, LEU, GTU, "LEU" -> LTU, LEU, GTU, "GEU"
 >
 > apply gcc original rev. 1.198 (as rev. 1.116)
 >
 >  > combine.c (simplify_comparison): Fix typo.
 >
 > GTU, LTU, GEU, "GEU" -> GTU, LTU, GEU, "LEU"
2002-04-04 13:23:37 +00:00
scw fb1d7cb64f From Takeshi Shibagaki <ie9t-sbgk@asahi-net.or.jp>:
Define OBJECT_FMT_ELF for the benefit of libgcc et al.
2002-04-03 20:31:24 +00:00
simonb eeac1cd146 Make sure the "-G num" option starts with a new paragraph instead of
flowwing on to the end of the previous option's description.
2002-04-03 15:14:15 +00:00
thorpej 7667f320c2 Implement elf32_arm_object_p(). 2002-04-03 02:59:13 +00:00
thorpej ef861642cb #define HOST_BITS_PER_LONGLONG 64 2002-04-02 07:28:23 +00:00
thorpej c23f2ad0b9 * Use <elfos.h>, not <svr4.h>.
* Use <dbxelf.h>.
* Undef CPP_PREDEFINES before defining it.
* Remove the undef of HANDLE_SYSV_PRAGMA; we need this in order for
  weak externs to work properly.
2002-04-02 06:22:28 +00:00
thorpej 002142a2b5 * Don't use NetBSD's ELF headers, use those provided by BFD.
* Use bfd_{get,put}_{16,32,64}() rather than NetBSD's htobe32(), etc.
2002-04-01 21:58:09 +00:00
thorpej 5269e780e1 Update DEFAULT_VECTOR and SELECT_VECS for arm--netbsdelf BFD changes. 2002-04-01 20:25:50 +00:00
thorpej fc6514a57b * Add 2 new BFD targets, "elf32-littlearm-nbsd" and "elf32-bigarm-nbsd".
These targets are identical to the non-nbsd versions except that they
  mark resulting ELF objects and executables as OSABI_NETBSD version 0.
* Add big-endian ARM BFD vectors to arm-*-netbsdelf.  Make the -nbsd
  BFD target the default for arm-*-netbsdelf.
2002-04-01 19:53:05 +00:00
matt 2374dc24ce Add a hack for VAX ELF: compile with -O1 2002-03-30 22:31:13 +00:00
jmc 1347ab1b90 Remove check for sparc64 which adds -msoft-quad-float as that is now the
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
jmc d3debc5e93 Pull changes from gcc3 back to properly emit calls for the _Qp* routines
correctly.

Enable -msoft-quad-float as the default moving forward. A complete build with
this compiler produces no errors and passes known regressions problems (awk,
etc).

XXX - -mhard-quad-float no longer will generate code correctly (internal
compiler problems). This is the case all the way to gcc-current so it's not
an easy fix at the moment but no one should be using hard quad math anyways.
2002-03-28 08:14:55 +00:00
matt 4d42b0eae1 Add some EF_VAX flags. (not yet used) 2002-03-28 06:52:57 +00:00
matt cd2128de3e Use "pushl $0" in preference to "clrl -(sp)" since the former is clearer
in its intent.
2002-03-28 06:51:36 +00:00
jmc bb22d1e732 Instead of removing ARRAY_SIZE just #ifndef around it so patches can be
generated against the gcc-2.95.3 tag and this will compile. (as ARRAY_SIZE
isn't provided in libiberty included in gcc-2.95.3 itself
2002-03-27 04:09:03 +00:00
jmc 93fcfe16c5 Oops...don't check against &0x1 as the address is already even which is the
problem that was being solved in the first place
2002-03-27 00:00:16 +00:00
fredette f3cbb9ef0a Added ${G_CONFIGDIR} to .PATH. This is needed on m68000 so that
libgcc1 gets built.
2002-03-26 23:10:58 +00:00