itohy
8f0b7653ca
a.out prologue / epilogue (from in-tree egcs)
2002-07-06 13:20:08 +00:00
itohy
b2f2b1cb44
Correct section / alignment rule for a.out. From in-tree egcs.
2002-07-06 13:19:00 +00:00
itohy
bd6a4107d8
i386 uses _GLOBAL_OFFSET_TABLE_, not __GLOBAL_OFFSET_TABLE_, for GOT symbol
...
even if on a.out compiler.
Yes this is weird, but it is the traditional behavior.
2002-07-06 13:17:18 +00:00
itojun
27c67ca9bc
save 1 byte for trailing dot append on dn_expand() call
2002-07-04 13:27:23 +00:00
nathanw
2b3894aa5d
NetBSD/powerpc is not AIX, so #undef RS6000_TARGET.
...
In particular, we don't want AIX's shared-library relocation semantics.
2002-07-03 23:43:57 +00:00
itojun
05150f5b13
avoid possible overrun of dn_expand arg buffer.
...
not sure if it is the reason for 8.12.5, but anyway, be cautious.
2002-06-26 09:25:47 +00:00
itojun
e5370cdc4c
accept domains with AAAA record only.
...
(when emails get relayed from IPv6-only machines via IPv4/v6 node,
we will see this symptom)
2002-06-26 07:55:19 +00:00
msaitoh
a53dc6ce7d
remove old and unused files
2002-06-24 06:49:14 +00:00
itojun
519b2858bf
backout previous commit. i'm still not sure how the name conflict should be
...
resolved.
2002-06-21 00:17:33 +00:00
itojun
18ef784f92
add some items to CLEANFILES
2002-06-19 16:10:48 +00:00
itojun
54c5e72f02
the file is generated on-demand, in both src/tool/toolchain and
...
src/gnu/lib/libbfd build.
2002-06-18 17:13:29 +00:00
itojun
59206db733
avoid name clash on full-feature bfd build
2002-06-18 09:20:51 +00:00
itojun
05e25409ab
mistake in replacement for peXXigen.c
2002-06-18 08:48:29 +00:00
itojun
3b9f70e1fb
avoid overwriting const string passed as arg.
2002-06-18 08:30:31 +00:00
itojun
dafaf1ab18
build tree for full-featured binutils. usually not visited.
...
(sysdump and srconv are omitted)
2002-06-18 08:21:58 +00:00
itojun
6d9d60e78d
add rules needed for full-feature libbfd. usually not visited.
...
to build full-feature libbfd, do the following:
- add "--enable-targets=all --enable-64-bit-bfd" to
src/tools/toolchain/Makefile configure arg
- invoke nbmake-<platform> native, to regenerate files under src/gnu
2002-06-18 08:19:04 +00:00
wiz
3d2f145dd1
Fix Xrefs to point to relevant files (non-groff versions), and remove one
...
we don't install at all.
2002-06-13 00:00:30 +00:00
wiz
f3fbf7696d
Fix xref, it's aliases(5), not alias(5).
2002-06-12 21:58:45 +00:00
wiz
0dd9855753
Don't mention db types we don't have (and related bugs).
2002-06-12 21:56:29 +00:00
lukem
6f9558487e
use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog
2002-06-11 15:50:05 +00:00
itojun
5712a7ade2
sync w/ 1.1.11
2002-06-08 22:49:50 +00:00
itojun
4a4a5f0782
postfix 1.1.11
...
check following for list of changes:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-1.1.11.RELEASE_NOTES
2002-06-08 22:37:07 +00:00
itojun
d7d4214831
dd $NetBSD$ to conf files
2002-06-08 22:37:06 +00:00
itojun
d7d544aee7
postfix 1.1.11
...
check following for list of changes:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-1.1.11.RELEASE_NOTES
2002-06-08 22:36:08 +00:00
kim
ab13a2b0d3
Provide a switch to turn off envelope recipient canonicalization.
...
Canonicalizing the recipient is usually undesirable for sites that
have local delivery distributed over multiple machines.
2002-06-01 22:55:04 +00:00
thorpej
0fc2511716
Make this work with an ISO C preprocessor.
2002-05-30 05:53:38 +00:00
thorpej
897fba04fe
Add -Wno-format-zero-length to CWARNFLAGS; ulog() is a printf-like
...
function for which "" is a perfectly reasonable argument.
2002-05-30 05:46:16 +00:00
thorpej
d0a26f03be
Add native toolchain bits for "armeb" (big-endian ARM).
2002-05-20 15:05:07 +00:00
thorpej
a2213fccd7
Add native toolchain bigs for "armeb" (big-endian ARM).
2002-05-20 15:03:38 +00:00
thorpej
2b3592c48e
Add armelfb_nbsd linker emulation.
2002-05-20 14:53:54 +00:00
thorpej
5efacd42c4
Add an armeb-*-netbsdelf* target (big-endian ARM).
2002-05-20 14:24:22 +00:00
thorpej
cfbb24ed86
Add a -Wno-format-zero-length switch that does nothing, for forward
...
compatibility with GCC 3.2.
2002-05-18 18:53:44 +00:00
wiz
6f56aa4c96
Only comments after #endif.
2002-05-16 19:25:06 +00:00
thorpej
f4e45540c8
Change the sed expression that comments out NATDEPFILES to
...
also comment out continuation lines. Fixes Linux->NetBSD
cross-gdb when built using NetBSD's make(1) (a'la build.sh -t).
toolchain/16713, Christian Limpach <chris@Pin.LU>.
Patch also submitted up-stream to GDB.
2002-05-10 22:01:06 +00:00
thorpej
7d5c79eb03
Don't include <sys/param.h> or <machine/vmparam.h>.
...
toolchain/16710, Christian Limpach <chris@Pin.LU>.
2002-05-10 21:24:51 +00:00
thorpej
0a7271465f
Apply patch from binutils cvs:
...
2002-02-07 Daniel Jacobowitz <drow@mvista.com>
* bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has
been included, not drag it in.
* bfd-in2.h: Regenerate.
Fixes toolchain/16709, from Christian Limpach <chris@Pin.LU>.
2002-05-10 21:20:39 +00:00
thorpej
ecfc315cde
Always build this if a HOSTPROG (MKBFD only affects native progs).
2002-05-09 17:12:36 +00:00
thorpej
44db3fb402
Allow gdb for sh*-*-netbsd*.
2002-05-09 17:07:16 +00:00
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
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
thorpej
ef51c9bc83
Back out DEFAULT_SHORT_ENUMS; it's actually causing some real problems,
...
and we need to come up with a better strategy.
Per discussion with Ben Harris.
2002-03-25 23:26:31 +00:00
bjh21
8c184bd586
This file is long obsolete. Remove it.
2002-03-24 22:56:59 +00:00
bjh21
41c1f3f785
MACHINE_ARCH can't be "arm26" any more, so don't even try to support it.
2002-03-24 22:24:41 +00:00
bjh21
e00fcca843
MACHINE_ARCH can't be "arm26" any more.
2002-03-24 22:23:43 +00:00
thorpej
2198b55512
Add arm/xm-netbsd.h
2002-03-24 18:25:55 +00:00
thorpej
3c7ffdc2a5
Add arm/xm-netbsd.h which defines ONLY_INT_FIELDS, and use it for
...
NetBSD ARM ELF targets. This is necessary in order for the compiler
to build with packed enums.
2002-03-24 18:05:57 +00:00
jmc
371e95a59a
Fix sparc64 so locals and args can be accessed correctly.
...
If one doesn't subtract the stack bias back off %fp before attempting
to access variables stored relative to %fp the wrong address is picked up for
all locals and args. So, calls to the FRAME_LOCALS_ADDRESS or
FRAME_ARGS_ADDRESS macros need a function for sparc64 specific cases.
Provide a function to check for bias's addresses and fix them up.
2002-03-22 03:33:08 +00:00
fredette
99db91e2e0
Add m68000-specific `toolchain2netbsd' generated toolchain build/config files.
2002-03-22 00:07:45 +00:00
fredette
0e21b8d24d
Added a case for m680[01]0-*-netbsdelf.
2002-03-21 23:54:43 +00:00
fredette
7a6b4d460d
Pulled changes from binutils-current necessary for 68010
...
support. Specifically, got the changes to md_prepare_relax_scan
from binutils' revision 1.11 of this file. As a bonus also
now define DWARF2_LINE_MIN_INSN_LENGTH.
2002-03-21 23:53:14 +00:00
billc
addff245d7
Remove the 'admin' category. This didn't turn out the way we
...
had planned, and users are confused what this category was for.
2002-03-21 03:04:00 +00:00
bjh21
878f329747
Redefine RETURN_IN_MEMORY to match the ATPCS structure-return rules, rather
...
than the APCS ones. As with VFP-format doubles, this should really be done
at run time.
2002-03-19 20:59:22 +00:00
eeh
db0c1e532e
Default to the medium any memory model.
2002-03-19 18:12:27 +00:00
bjh21
f9a48a09ad
Turn on DEFAULT_SHORT_ENUMS, since this will be required by the ARM EABI-2001,
...
which we'd like to comply with.
2002-03-18 20:36:51 +00:00
nathanw
66bd2c38da
Fix an off-by-one error in elfcore_netbsd_get_lwpid() which caused the
...
returned LWP ID to always be 0, causing problems for creating
note pseudosections in multi-LWP processes.
2002-03-15 19:01:39 +00:00
simonb
ad911f7801
Oops, Tracy had already added evbmips and sbmips - delete the double-ups.
2002-03-13 04:11:41 +00:00
simonb
acda7e7437
Add port-{acorn32,evbmips,playstation2,sbmips}.
2002-03-13 04:08:54 +00:00
gendalia
310cee1fde
added sbmips & evbmips
2002-03-13 04:04:22 +00:00
bjh21
dca4ae94d6
When checking that a potentially-unsigned enum is >= 0, assign it to an int
...
first. This is necessary to avoid warnings with -fshort-enums. Casting
to an int really should be enough, but turns out not to be.
This change will be documented in doc/HACKS.
2002-03-09 13:22:52 +00:00
jdolecek
ee0c88c936
Also supply the FOP_REGNUM value in supply_xmmregs().
...
This fixes problem with getting return value of functions
in debugged programs, as noted in toolchain/15715.
Fix provided by Love <lha@stacken.kth.se> in
http://mail-index.netbsd.org/tech-toolchain/2002/01/17/0000.html
Reviewed by Jason Thorpe.
2002-03-07 19:14:44 +00:00
jdolecek
e44bd33760
version[] 5.0-nb1 --> 5.0nb1, as other archs use
2002-03-06 19:17:09 +00:00
wiz
872e77e22e
Remove some unnecessary lines.
2002-03-06 02:40:06 +00:00
mrg
60e3a276af
sync with FSF binutils:
...
- also accept "-maltivec"
- enable altivec by default
- add mtvrsave and mfvrsave
the latter two are required for an "altivec" GCC.
2002-03-04 13:35:42 +00:00
gendalia
b9e5a44a38
Added port-mvmeppc
2002-03-02 22:25:15 +00:00
mrg
eff7936f87
include <string.h> as necessary.
2002-03-02 12:21:14 +00:00
jmc
32f6aaf031
Use sh to invoke move-if-change and don't depend on it being +x in the
...
repository
2002-03-01 06:06:50 +00:00
jmc
f6ce7f3293
Put the infodir-meta rule here (and wrap it) to allow it to be called from the
...
top level Makefile
2002-03-01 06:03:20 +00:00
blymn
7ce69c568a
Fix botches in Equivalence Classes paragraph.
2002-03-01 04:20:37 +00:00
tv
a2ba138feb
Fix fallout from collapsing libiberty to MI config.h: libstdc++ includes
...
little bits of libiberty, so -I the non-arch specific directory now.
2002-02-28 02:13:34 +00:00
tv
ac1299bdfb
New toolchain infrastructure for sh3eb, generated with mknative.
2002-02-27 18:45:14 +00:00
tv
8d7b76f87a
Fix OBJS dependency.
2002-02-27 17:58:52 +00:00
tv
6080b95ae4
Make libobjc configury MI.
2002-02-27 17:55:32 +00:00
tv
ab30e43870
Add .MADE to prevent building in $srcdir. (They could have at least
...
referenced $(srcdir) explicitly for the targets, sigh....)
2002-02-27 17:34:48 +00:00
tv
b69d8cc8b2
New toolchain framework for sh3el platforms, generated with mknative.
2002-02-27 17:10:09 +00:00
tv
bfa4c6d7c2
Make new toolchain conf files for libiberty MI.
2002-02-27 17:03:49 +00:00
matt
9991b60633
Remove R_VAX_GOT32O and R_VAX_PLT32O relocs. VAX don't need 'em.
2002-02-27 07:43:34 +00:00
tv
88a892b978
Superseded by src/tools/toolchain/mknative.
2002-02-26 22:32:21 +00:00
tv
3cf9139573
When configured via mknative, G_HOST_* filenames are prefixed with "l-".
...
Strip the prefix.
2002-02-26 22:30:46 +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
tv
80c7fa68d5
Use MACHINE_GNU_PLATFORM to identify the machine.
2002-02-26 20:45:34 +00:00
tv
6b83b4af8c
If doing a Canadian cross and the creation of auto-build.h fails, cause
...
the outer "configure" run to fail, too.
2002-02-26 19:17:51 +00:00
tv
a688a18a3f
Tack "nb1" onto VERSION here, too, to sync with "configure".
2002-02-26 18:38:38 +00:00
tv
13dd6cb726
Skip the "misc" directory on recursion. (This contains .el files that
...
will attempt to install into never-never land if emacs isn't installed.
GNU bogon.)
2002-02-26 18:05:20 +00:00
tv
e95d648871
Work with a mkinstalldirs that is not +x.
2002-02-26 18:00:29 +00:00
tv
853b3d3c1a
Workaround some *2netbsd script not preserving the execute bit on various
...
script files (and now that they are in cvs, they can't be fixed).
Future imports of any package should use "-ko" and do away with *2netbsd
altogether, as was the intent of gnu/dist in the first place.
2002-02-26 17:40:52 +00:00
matt
d8d7046773
Switch REAL_ARITHMETIC on (needed for DWARF support).
2002-02-25 17:33:02 +00:00
matt
b5355576f3
Change TARGET_NAME to use ${GNU_ARCH_PLATFORM} instead of
...
${GNU_ARCH_MACHINE}-netbsd. This allows platforms to that were
formerly a.out but ELF to be foo--netbsdelf. It also adds the
missing 2nd "-" which was missing in the former definition.
2002-02-24 22:15:39 +00:00
matt
796a42b608
Only ELF has S_IS_WEAK.
2002-02-24 19:50:14 +00:00
matt
cce4db07ab
Add a missing register prefix.
2002-02-24 01:11:40 +00:00
matt
4ce78967e6
Make some assembler warnings fatal errors. don't allow 4 char register
...
name in OBJ_AOUT mode.
2002-02-24 01:10:31 +00:00
matt
c7ce362189
Teach old (a.out) vax gas about register prefixes.
2002-02-23 21:16:41 +00:00
matt
9fe6d7dc5a
Dump a few comments that don't apply anymore. Remove dead code that is no
...
longer used. Add register prefix support. It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt
572f2bb969
Teach gcc to emit register prefixes (though unless its ELF, the register
...
prefix is NULL).
2002-02-23 21:02:49 +00:00
matt
bc49a6eede
Fix long time codegen bug. Only the COMPARE, ADD, MINUS operations actually
...
set the C(arry) bit appropriately. All other leave it in an indeterminate
(to GCC) state. Mark that by setting CC_NO_OVERFLOW. Change vax.md emission
of branches that use the C bit to use OUTPUT_JUMP so that if CC_NO_OVERFLOW is
set, branches that would normally use the C bit use opcodes that don't use the
C bit (jgtru -> jneq && jlssu -> jeql). Delete the cmpdi pattern.
2002-02-23 18:36:52 +00:00
wiz
4da241dfa0
Whitespace nits.
2002-02-23 17:01:20 +00:00
thorpej
2365d7ec78
Add a '-s' option which will cause mdsetimage to write back the
...
actual image size copied back into the kernel.
2002-02-23 02:30:37 +00:00
matt
13828b4c70
Implement a cmpdi pattern so gcc won't try to help us. The good news is
...
that's it's smaller. Not sure about faster.
2002-02-22 06:03:36 +00:00
matt
6238aa6c4f
Back out change to NOTICE_CC_UPDATE. It has really bad side effects.
...
I'll fix this another way.
2002-02-22 06:02:33 +00:00
matt
eb2926091c
movl doesn't modify the C bit in the PSL so make sure to communicate that
...
fact to the gcc optimizer so it doesn't emit the wrong branch instructions.
2002-02-21 19:31:36 +00:00
matt
90b4581807
Ahhh! Use tc_fix_adjustable to make gas not resolve symbols into segment
...
based references for weak or external symbols.
2002-02-21 07:30:32 +00:00
matt
1b65728579
Gegneralize the PLT/GOT processing to properly emit relocs even for symbols
...
in the segment/file so that they linker can resolve them for shared libraries.
2002-02-21 06:59:16 +00:00
jmc
b32effcb8e
Add some more dependencies so this builds as "make all" also without
...
requiring a make depend first.
2002-02-21 04:13:45 +00:00
mrg
71bd5d8f3c
make this build cross by not splitting NATDEPFILES across a line with a
...
line continuation char (\)...
2002-02-21 03:24:50 +00:00
matt
ffefe31a4b
When calling weak or global symbols in the same segment, make sure to use
...
RELAX encoding what can be transmorgified into a PLT reloc.
2002-02-21 00:18:43 +00:00
matt
1bb7ff7e99
Don't emit GOT slots for local symbols since the VAX can always refer to
...
via PC relative addressing.
2002-02-20 18:52:23 +00:00
matt
e9ecffcaf2
When emitting a GOT reloc, use the frag symbol since we want the
...
external name, not where it lives in this object (which would happen
in the symbol was defined locally). All, don't use offset but addnumber.
2002-02-20 18:50:40 +00:00
matt
9fcb3b5a86
If the symbol is weak or external and this is a PCREL reference,
...
generate a fragment instead of fixup. This allows us to convert
to a GOT or PLT reference which can be resolved externally.
2002-02-20 08:12:43 +00:00
matt
1927769e7a
Don't use PCC_STATIC_STRUCT_RETURN.
...
Use movab/pushab when moving LABEL_REFs.
2002-02-20 03:06:37 +00:00
thorpej
7efea97070
Make sure that non-symbolic GOT references are converted back to
...
PC32 relocs for -Bstatic or -Bsymbolic links.
From Matt Thomas.
2002-02-19 06:16:35 +00:00
thorpej
b669a91187
Make sure _initialize_vaxnbsd_nat() is called (added manually).
2002-02-19 05:05:38 +00:00
thorpej
b56d2fc557
Add support for ELF core files.
2002-02-19 05:05:09 +00:00
thorpej
a962d1ba86
Do not -Dunix or -Darm, as they are namespace-invasive, and cause
...
variants of those CPP symbols to be defined that are contrary to
NetBSD's conventions.
Fixes building Xaw on ARM ELF.
2002-02-12 16:32:39 +00:00
tv
92140a7683
Skip building if the target's .mk file is missing.
2002-02-11 21:45:18 +00:00
tv
1c986fdf46
Skip building anything if the target's .mk files are missing. (Allows the
...
toolchain to be built in segments, or not at all if the in-tree toolchain
is inappropriate for the target.)
2002-02-11 21:36:33 +00:00
thorpej
1be69ad723
Fix typos in CC1_SPEC: -no-mindirect -> -mno-indirect
2002-02-11 00:02:12 +00:00
tsutsui
b1e673bc5e
Include bsd.subdir.mk unconditionally so that make obj works
...
with old toolchain.
2002-02-10 17:38:24 +00:00
mrg
e694f74c6e
pull across kcore_fetch_registers() from gnu/dist/gdb/sparcnbsd-nat.c, and
...
add kcore-nbsd.c to NATDEPFILES in nbsd{,elf}.mh. regen defs.mk and init.c.
pity kcore-nbsd.c isn't in the FSF tree yet...
2002-02-10 01:32:56 +00:00
chs
dcee4d2ab2
bring forward a change from the old gdb:
...
Define IN_SIGTRAMP() as nbsd_in_sigtramp(), a new function which knows
how to find the address of the signal trampoline at runtime, thus allowing
one gdb binary to work on all NetBSD/m68k machines.
2002-02-09 19:37:38 +00:00
lukem
e2311f6fa0
use ${INSTALL_FILE} as appropriate
2002-02-09 09:21:47 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
thorpej
07e8c5c63c
Define TARGET_CPU_DEFAULT. From Matthias Drochner.
2002-02-07 16:52:37 +00:00
wiz
c0acf9a5ea
Punctuation nits, sort sections, sort SEE ALSO.
2002-02-06 19:24:52 +00:00
fair
e02de0ae6d
Patch from PR 15218 to document some options.
2002-02-04 10:35:39 +00:00
perry
84a067585a
postqueue needs to be sgid maildrop.
2002-02-04 02:39:06 +00:00
ross
cc9d651712
LP64 tweak
2002-02-03 05:53:07 +00:00
perry
9944f8fbe3
resolve conflicts
2002-02-03 03:27:17 +00:00