simonb
ced4db818c
Bah, move ".include <bsd.own.mk>" to before USE_NEW_TOOLCHAIN check.
2001-10-22 03:31:41 +00:00
simonb
83a2424500
Add a Makefile for mdsetimage that tries to do the new/old toolchain
...
dance to get to libbfd. Tested on new and old toolchain, makefile
messiness to be verified before being enabled.
2001-10-22 03:23:00 +00:00
simonb
ad8890a6fa
Add the bfd-mdsetimage pkgsrc version of mdsetimage - this is Chris
...
Demetriou's origianal mdsetimage with modifications by Kazuki Sakamoto
to use libbfd. It lives in gnusrc because libbfd is GPL, not LGPL.
2001-10-22 03:19:29 +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
32bac67e87
Exclude Y2K bug flag files from the build; fixes undefined symbol errors
...
reported by jbernard@mines.edu in PR bin/14222.
2001-10-19 03:33:35 +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
9744d3aebc
If MACHINE_ARCH == arm, install into /usr/include/${MACHINE_ARCH}
2001-10-18 06:12:48 +00:00
matt
1532b67157
Update from toolchain2netbsd run. (though some only have the updated
...
toolchain2netbsd version run)
2001-10-18 05:45:26 +00:00
matt
e42e6e66e6
Updated files from new toolchain2netbsd
2001-10-18 05:42:26 +00:00
jmc
e5447065e5
Add cpp.1 as an MLINK
2001-10-17 05:39:04 +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
nathanw
7f59122d03
Use @true instead of @${TRUE} in includes-foo targets, since there is no
...
variable TRUE defined in our makefile system.
This prevents "make includes" from breaking with older bsd.subdir.mk, and is
more consistent with the uses of "true" in the rest of the tree.
2001-10-12 21:05:08 +00:00
tv
e2fa0e8e96
CLEANFILES has to be set before including <bsd.prog.mk> to make sure that
...
clean/cleandir does its job (this should be fixed). Work around it, and
fix some parallelism problems.
2001-10-08 23:18:11 +00:00
tv
c88b6a3e03
Deal brute-force with parallelism. In order to accomodate breaking the
...
build in the middle and restarting on another platform (requiring atomic
host tool builds), and keep parallelism, the ".lo" rules can't be used
at all. Instead, compile all host .c files directly into executables.
2001-10-08 22:56:31 +00:00
bjh21
59ba87fb54
Add an entry for NetBSD/arm.
2001-10-08 22:47:31 +00:00
tv
68c509655a
Single-target subdir builds no longer work at all since the introduction
...
of "dependall" and .WAIT; add a .WAIT here and nuke the dependencies for now.
2001-10-08 22:27:34 +00:00
aymeric
fa554f783e
shut up newer gcc warning about (actually mutually exclusive)
...
"possibly uninitialized" variables.
2001-10-08 22:11:31 +00:00
aymeric
866fad714d
fix an obvious bug when loading sun relocatable objects.
...
When was this code last triggered?
XXX I didn't run the code, was looking for something else.
2001-10-08 22:09:20 +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
tv
bf8eb2fc2d
Generate ldcripts as "native" for a native linker. However, disable
...
installation into /usr/share/ldscripts at the moment, as the scripts will
no longer be shareable on all targets. This will be tweaked at a later
date to generate "cross style" scripts for all targets (native ones are
compiled into the ld binary) so that they will indeed be shareable.
Should fix PR bin/14114, pkg/14122, and related issues.
2001-10-04 17:46:22 +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
tv
531012d19e
Skip the "includes" phase of gnu/libexec, gnu/usr.bin, and gnu/usr.sbin.
2001-09-21 21:04:59 +00:00
tv
3ab74bd348
Set SHLIB_{MAJOR,MINOR} explicitly instead of using shlib_version files.
...
(This currently means that checkver doesn't work with these libs, but that
will be fixed.)
2001-09-21 15:38:15 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
itojun
1f8d9cbdd1
pull patch from openbsd Errata 033:
...
A security hole exists in uucp(1), uux(1) and uuxqt(1) that may allow
an attacker on the local machine to run arbitrary commands with
root privileges.
Fix:
Pay more attention to commandline parsing of long options.
Patch from jbj@redhat.com via millert@.
2001-09-12 07:51:03 +00:00
simonb
2db48f4c88
Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
...
some cases).
2001-09-10 11:18:41 +00:00
matt
6be82855aa
Final config file for VAX ELF.
2001-09-10 06:04:02 +00:00
itojun
2067808a2a
compare IPv6 address correctly, for net_interfaces directive.
...
KAME PR 382.
2001-09-09 02:52:44 +00:00
matt
f6225f91fb
Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. ..
2001-09-08 18:26:05 +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