itojun
ebdef2d397
backout IPv6 patch to postfix. IPv6 support for "mynetworks" check was
...
left unimplemented, and postfix daemon could become an open relay for
IPv6 connectivity. it seems that we need to torture-test IPv6 patch outside
of the tree more.
From moley@wide.ad.jp
2001-11-11 05:26:50 +00:00
bjh21
7bdb61e034
Fix from Richard Earnshaw to make MASK_RETURN_ADDR work on both 26-bit and
...
32-bit ARMs, switching at run time.
2001-11-08 20:47:56 +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
tv
f965ecc2a3
Give mips*-*-netbsd* a gdb_target=nbsd line.
2001-11-06 16:32:33 +00:00
aymeric
589ec775e4
Make xmalloc() and xrealloc()'s definitions match their prototypes in
...
scan.h
2001-11-05 20:49:47 +00:00
scw
e994d009cd
Add target/rule for m68kelfnbsd.o
2001-11-05 19:50:35 +00:00
scw
faad780fa8
Change target_emul for m68*-*-netbsdelf* to m68kelfnbsd.
2001-11-05 19:49:45 +00:00
scw
dd0e9d09ce
Need "gdbcore.h" for struct core_fns.
2001-11-04 09:22:50 +00:00
scw
8f7fc0baa2
Build kcore and gdbserver support into m68k gdb.
2001-11-04 09:22:07 +00:00
scw
116d3a49bf
Define SVR4_SHARED_LIBS when __ELF__ is defined now that most of NetBSD's
...
m68k ports have made the switch.
2001-11-04 09:20:26 +00:00
bjh21
18f0b6b3bd
Move the code for splitting and joining a 26-bit R15 into arm-tdep.c, since
...
it should be sharable with other 26-bit systems (Linux, RISC iX?).
Also use supply_register(), since it seems to be the modern thing to do.
2001-10-29 20:37:59 +00:00
mrg
d59ba42415
disable gdb on alpha host. XXX FIXME
2001-10-28 13:53:37 +00:00
mrg
857523fed5
fix a compile error when _not_:
...
#if HOST_BITS_PER_WIDE_INT == 32
found building cross powerpc compiler on sparc64 host.
2001-10-26 03:14:55 +00:00
bjh21
b685397e2d
When fetching registers, if CPSR is zero (and hence we've just fetched from
...
a 26-bit target), split R15 into PC and CPSR. Similarly, when storing
registers, copy CPSR back into R15 if CPSR indicates a 26-bit mode.
This makes single-stepping work correctly on arm26.
Also, when fetching registers, set arm_apcs_32 based on the mode the target's
in. This removes the need to kludge it manually. The variable should really
be lost entirely, and arm-tdep.c should look at the mode bits in CPSR, but
the ARM Linux target is horribly broken in this area, and will either need
fixing or working around.
2001-10-25 20:55:13 +00:00
thorpej
98f31d05a1
Apply patch from misc/13927. Also corresponds to master binutils
...
rev 1.24 of this file. Binutils log message:
Fri Sep 14 13:56:45 2001 UTC by nickc:
Fix bug emitting R_SPARC_UA32 relocs into shared objects
2001-10-24 21:01:31 +00:00
bjh21
61d38b1990
Fix up the Makefile fragments for GDB on NetBSD/arm so they actually
...
correspond to the files we've got.
2001-10-24 13:47:52 +00:00
bjh21
8523ec52e8
Replace Mark Brinicombe's NetBSD/arm glue with Richard Earnshaw's, since the
...
latter is likely to be easier to get into the GNU sources. I believe the only
functional change is the loss of a working get_longjmp_target().
2001-10-22 21:09:47 +00:00
bjh21
44b78e0623
Correct a comment: NetBSD uses an undefined instruction as a breakpoint,
...
not a SWI.
2001-10-22 19:07:10 +00:00
bjh21
27c601625f
Apply Richard Earnshaw's gdb.step.patch, which adds software single-step
...
support to GDB ARM targets in general, and make corresponding changes to
NetBSD-specific code.
The first half of this has already been send to gdb-patches by Richard.
The second half is irrelevant to them since they don't yet have NetBSD/arm
support in their tree yet.
2001-10-22 18:58:50 +00:00
bjh21
318cfb14be
Add a hack to automatically switch to 26-bit mode when starting up on an
...
arm26 system. This could be done better.
2001-10-20 17:44:58 +00:00
bjh21
408ac67774
Oops: Get the test for 32-bitness the right way around.
2001-10-20 17:14:36 +00:00
bjh21
f3da28335b
arm_addr_bits_remove: Stop believing in the existence of 26-bit Thumb.
...
arm_frame_saved_pc: Use arm_addr_bits_remove to strip the retrieved PC.
These seem to make stack backtraces work on arm26.
2001-10-20 16:57:42 +00:00
tv
d20ff568a2
Remove all traces of "aux.m4" so as not to conflict with Microsoft host OS's.
...
(Since we aren't A/UX, this is not much of a loss for a NetBSD host.)
2001-10-19 02:53:02 +00:00
bjh21
e426602284
Update ARM software single-stepping support to work with GDB 5.0.
2001-10-19 00:53:21 +00:00
bjh21
02e1edfb30
Small changes to make GDB for arm--netbsdelf compile:
...
1: Don't include arm-convert.o. arm-convert.s contains only comments, and our
build procedure can't cope with .s files.
2: Add "check_format" and "core_sniffer" entries to netbsd_core_fns, the same
as in i386nbsd_nat.c.
The first of these will need toolchain2netbsd to be re-run. While these
changes let GDB compile, I haven't tried running it on an ARM ELF system yet.
2001-10-18 15:52:57 +00:00
matt
73b0a5ab88
disable minmax_arithsi pattern (from Richard Earnshaw).
2001-10-15 20:54:06 +00:00
bjh21
f5e1b9570e
Update version numbers to match the current state of the world.
2001-10-15 18:28:28 +00:00
bjh21
59ba87fb54
Add an entry for NetBSD/arm.
2001-10-08 22:47:31 +00:00
mycroft
210dd84627
Enable AltiVec goop with -m7400.
2001-10-08 09:01:29 +00:00
mycroft
60bf22ac89
Snarf AltiVec goo from binutils-current.
2001-10-08 08:42:56 +00:00
thorpej
55a63fe9b4
Add a cast to a chunk of code already marked as broken in the main
...
GDB sources so that it avoids a warning on LP64 systems.
2001-10-05 22:59:55 +00:00
thorpej
ff05390aba
Cast ints to u_longs before casting to char *. Avoids warning on
...
LP64 platforms.
2001-10-05 22:55:14 +00:00
thorpej
ff5464ee1e
Cast ints to u_longs before casting to void *. Avoids warning on
...
LP64 platforms.
2001-10-05 22:00:23 +00:00
thorpej
882fbe6d23
Need <stdlib.h> for getenv() protoype (to avoid warning on LP64).
...
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:48:01 +00:00
thorpej
28a8ddfdd3
Need <stdlib.h> for malloc() protoype (to avoid warning on LP64).
...
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:47:42 +00:00
thorpej
c3aaaae7a0
Provide an extern decl for strlen() all the time, not just if __alpha__
...
(so this builds on sparc64). XXX Why we don't just use <string.h> is
beyond me...
2001-10-05 07:38:22 +00:00
thorpej
4e3296004c
Need <string.h> for memset()/memcpy().
2001-10-05 07:35:04 +00:00
thorpej
044932d6cc
Need <string.h> when building the exception handler stuff on LP64
...
systems (like sparc64).
2001-10-05 07:04:04 +00:00
rafal
eff7f464bc
Pick up warning fixes from rev 1.115 of bintutils cvs. Part of the following
...
change, though I'm only picking up elf32-mips.c here.
2001-09-21 Nick Clifton <nickc@cambridge.redhat.com>
* elfxx-ia64.c: Fix compile time warning messages.
* coff-mcore.c: Fix compile time warning messages.
* coff-ppc.c: Fix compile time warning messages.
* coffcode.h: Fix compile time warning messages.
* elf32-mips.c: Fix compile time warning messages.
* elf64-alpha.c: Fix compile time warning messages.
* libbfd.c: Fix compile time warning messages.
* bfd-in2.h: Regenerate.
2001-10-04 04:03:50 +00:00
mycroft
34876aa7e9
Implement `info float'.
2001-09-26 03:41:52 +00:00
wiz
5554debffd
Add a missing va_end.
2001-09-24 14:33:50 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
simonb
b77ae95a9e
For ns32k-netbsd, don't add ns32k/xm-netbsd.h to $xm_file; it gets
...
included in tconfig.h anyway.
2001-09-23 13:55:13 +00:00
simonb
8e868c5d17
Don't define mem{cmp,cpy,set}; from gcc-current after the 2.95.3 release.
2001-09-23 13:42:39 +00:00
itojun
2067808a2a
compare IPv6 address correctly, for net_interfaces directive.
...
KAME PR 382.
2001-09-09 02:52:44 +00:00
matt
71e81eb955
Also apply a fix if there are no symbols involved (which means that no
...
reloc will be emitted for the fix).
2001-09-08 16:38:32 +00:00
matt
649981af00
The don't apply fix if not NO_RELOC only applies to OBJ_ELF.
2001-09-08 04:38:34 +00:00
matt
f23306e36f
We need md_apply_fix is there is NO_RELOC.
2001-09-08 04:33:58 +00:00
matt
239fd58a71
md_apply_fix is a NOP for ELF. So macro it away. Simplify the resulting
...
one for the non-ELF case.
2001-09-07 17:14:24 +00:00
matt
b3b6be7160
Only use data from the r_addend, not the relocation slot itself. Make sure
...
pcrel relocations enable pcrel_offset and augment that for VAX specific
needs.
2001-09-07 17:12:15 +00:00