Commit Graph

3661 Commits

Author SHA1 Message Date
thorpej 92f04f0981 Fix a "comparison is always true" warning from gcc-current by passing
the int version of the chatacter to META_CHAR() (like other parts of
readline do).
2002-05-06 18:25:46 +00:00
thorpej 1cc7547139 Fix a "comparison always true" warning from gcc-current. 2002-05-06 18:22:11 +00:00
thorpej bc975411fa Kill a "comparison always false" warning from gcc-current on LP64 platforms.
XXX Should discuss making the sh_name member of the Elf_Internal_Shdr
a bfd_size_type with the binutils folks.
2002-05-06 17:59:18 +00:00
simonb 4ae3a2264e Pull in (part of) rev 1.117 from gcc master sources:
(alpha_expand_unaligned_load, alpha_expand_unaligned_store):
	Cast switch operand of size to int.

Fixes one 32-bit host cross-compile problem, but still doesn't work...
2002-05-06 02:12:30 +00:00
thorpej 1556ff869b Mative GDB build glue for NetBSD/sh3. 2002-05-05 02:39:37 +00:00
thorpej e2bb3bd9bb Basic (emphasis on basic) GDB support for NetBSD/sh3. 2002-05-05 02:37:33 +00:00
rearnsha 9c261eac77 Disable the following patterns: addsi3_compare_op1, addsi3_compare_op2,
compare_addsi2_op0 & compare_addsi2_op1.  From the comment I've just
inserted:
;; XXX RWE: The reload pass of GCC-2.95 makes a mess of these if one of the
;; arguments is, or is directly derived from, an eliminable register.  In
;; that case reload will substitue into the PLUS and then canonicalize it
;; without regard to the the match_dup parts.  Since these are rare, I've
;; disabled them for now, but they should be OK in 3.x (which manages the
;; substitution without canonicalization.
Fixes PRs port-arm/16424 and toolchain/16304.
2002-05-03 20:32:22 +00:00
thorpej 11066f6159 Add -D_LP64 to CPP_ARCH64_SPEC. (This will be done differently in gcc 3.x.) 2002-05-03 17:47:57 +00:00
thorpej aa048fbf0d Add -D_LP64 to CPP_PREDEFINES. 2002-05-03 17:45:02 +00:00
rearnsha 6acc7fa8af Pull up from FSF sources:
Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
	* reload1.c (reload_combine_note_use): Handle return register USEs.
	REG case: Handle multi-hard-register hard regs.

Fixes toolchain/16431
2002-05-03 17:33:01 +00:00
thorpej 690a4cfca8 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.
2002-04-28 05:27:46 +00:00
thorpej 0be5820cdf Use the disassembler from libopcodes, not a private one. 2002-04-28 02:34:53 +00:00
mrg 5bd8d70795 bump version to nb2. 2002-04-27 04:31:16 +00:00
lukem bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
tv 126e6f1a62 Correctly obey $(EXEEXT) if set. (Bad automake. Bad, bad automake.) 2002-04-25 15:02:40 +00:00
eeh d188ed6784 Backport from -current a fix for structure passing lossage. 2002-04-24 22:28:36 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
rearnsha 05430be236 Ensure we take any double-word adjustment into account when
constructing the epilogue sequence.
2002-04-22 16:14:22 +00:00
matt fb64329c36 Add a missing == 0 to a strcmp of "vec" 2002-04-19 02:20:21 +00:00
msaitoh 1b117bda9b pass arg 4 of a qsort() correctly. 2002-04-16 03:49:57 +00:00
msaitoh 22868c18c1 ADD MISSING "TARGET_DEFAULT" BIT WHEN LITTLE ENDIAN 2002-04-15 13:24:54 +00:00
tv 4a9a0fb64f Get m68k-parse.y, not m68k-parse.c, to get proper .NOPATH handling for RO
source tree.
2002-04-13 03:31:56 +00:00
christos c05d0857b2 PR/16034: Kimmo Suominen: change the compiled setgid_group default to maildrop.
XXX: I don't like this. I think we should revert everything to postdrop to
match other systems.
2002-04-12 13:58:33 +00:00
thorpej 887ea411f8 Remove bfd_elf32_{big,little}arm_nbsd_vec 2002-04-11 21:46:29 +00:00
thorpej a48469ee44 Add bfd_elf32_bigarm_vec to arm-netbsdelf. 2002-04-11 21:43:49 +00:00
thorpej 8257c98a16 Back out the EI_OSABI==ELFOSABI_NETBSD changes for arm-netbsdelf. 2002-04-11 21:35:49 +00:00
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