tv
7ae8ff46ed
Shrink size quite a bit by leaving only autoconf.info (remove all sources).
2001-11-14 19:55:57 +00:00
tv
4218eaa025
Some patches from Marc Espie that make autoconf 2.52 work with the updated
...
/usr/bin/m4. (Turn off some GNU m4 checks, and go back to non-frozen
source files.)
2001-11-14 19:53:25 +00:00
tv
2766c577c2
Import autoconf 2.52 for the benefit of maintaining src/tools.
2001-11-14 19:47:22 +00:00
tv
9f22792e0b
No need for ${CPP}; just compile the .S if m68k || i386.
...
Formatting cleanup.
2001-11-13 17:26:52 +00:00
tv
6cb9463f87
Build *_tab.h as part of DPSRCS to make "make depend" work correctly.
2001-11-13 17:01:23 +00:00
tv
b5cd2489b2
Major overhaul of src/tools and host toolchain. Summary of changes:
...
* Rewrite src/tools Make logic to work like the rest of the tree wrt
"dependall" and "install". The old "make build" hack is gone.
* Remove the MKTOOLS logic. This was linked to the "make build" hack,
and was only needed because TOOLDIR originally had no writable default.
* Redo the GNU configure/make logic to make it fit reasonably in a
BSD make wrapper. Use new ${.ALLTARGETS} variable to scan for
targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.
* Only build cross tools in src/tools; remove some messy logic in
src/usr.* and src/gnu/usr.* that would do target filename rewriting
(improves consistency and readability).
* Add the ability to build cross gdb at tool build time by setting
MKCROSSGDB (default no) to "yes" in mk.conf.
* Add src/tools/groff and set up paths to work with this cross groff.
2001-11-12 23:16:17 +00:00
tv
1cdd48fab3
Build .y.cc correctly. The .h file is supposed to be "foo_tab.h", not
...
"foo.tab.h", and now no longer exists in gnu/dist/groff to avoid conflicts.
2001-11-12 17:09:45 +00:00
tv
afb39f175a
Fix up the bogosity in .y->.cc handling. Don't generate files in $(srcdir),
...
and make sure to have dependencies for lex.o in eqn and pic (so that the .h
is guaranteed to exist).
2001-11-12 17:09:03 +00:00
tv
eac2d50e6e
Work around problem with "groff2netbsd" not preserving execute permission.
...
(Change "mkinstalldirs" invocation to use "sh makeinstalldirs".)
2001-11-12 16:44:10 +00:00
tron
679b5ba134
Add new category "toolchain".
2001-11-11 21:14:15 +00:00
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
wiz
1c65d6114b
Remove a trailing space.
2001-11-09 09:30:59 +00:00
thorpej
2436e0546d
This is not a Sun3-specific program.
2001-11-09 07:43:16 +00:00
thorpej
028f694d86
Make an error message more informative.
2001-11-09 07:36:03 +00:00
thorpej
aeeee8c24d
New BFD-using dbsym(8) written by Simon Burge, with some code
...
derived from the BFD-using mdsetimage(8).
TODO:
* Use loadfile(), rather than home-grown ELF parsing code (requires
some changes to loadfile()).
* Support a.out like the gwr's dbsym(8) (this comes for free when
we switch to loadfile()).
2001-11-09 05:52:20 +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
9f74cbc2da
Oops, last round checked in make droppings here. Check in the actual
...
toolchain2netbsd generated files, though this is as of yet untested.
2001-11-08 08:20:31 +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
simonb
1adc8dd435
Don't rebuild "fini" _every_ time make(1) is run; avoids a complete
...
rebuild of f771 all the time.
2001-11-08 00:13: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
ec53366faa
Add m68k-specific `toolchain2netbsd' generated toolchain build/config files.
2001-11-05 19:10:55 +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
tv
ec5a9a312e
Add REQUIRETOOLS to make version-specific new toolchain compiler libs fail
...
to build if USETOOLS is set to "no" by the builder. (Sanity check; as an
override, USETOOLS may be set to "never", but see warnings in BUILDING.)
2001-10-31 16:27:31 +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
matt
37a2ed9298
Updated ARM defs.mk
2001-10-27 05:46:02 +00:00
briggs
1abee6c6fd
Add:
...
-F (default) h/w flow control
-f no h/w flow control
-q be quiet during downloads
2001-10-26 14:44:13 +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
f2cc4f7bb2
Give the host tool build more control over the HOST_CPPFLAGS.
2001-10-25 02:37:18 +00:00
thorpej
a0e5722800
Descend into mdsetimage.
2001-10-24 23:58:58 +00:00
thorpej
e46fa74fd3
Add support for building as a target-prefixed cross-tool from src/tools.
2001-10-24 23:56:38 +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
matt
e1c1698075
Regen from toolchain2netbsd
2001-10-23 16:53:45 +00:00
fredb
8dd298e978
Get the information for the "Release" field via running "uname" on the
...
host that's doing the filing (with a suitable comment for non-usual
cases), as suggested by Don Yuniskis in PR 14217 and lukem on tech-pkg.
Also closes PR's 13938, 14104.
2001-10-23 14:29:07 +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
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
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
mrg
3a6f34a1f2
fix part of previous: do pass -mcmodel=medlow to the 64 bit cc1 if -p*.
2001-09-07 07:19:52 +00:00
matt
bb46238ed7
Merge in 2.11.2 changes into my ELF support
2001-09-07 05:06:51 +00:00
matt
e934346ca9
Make -mvec as an alternative for -m7400 since -mvec existed in binutil 2.9
2001-09-06 21:07:07 +00:00