Commit Graph

4931 Commits

Author SHA1 Message Date
christos 0534825a44 Simplify the previous patch. 2005-05-02 00:45:08 +00:00
riz e09f32d58e Only test if a char is >= 0x00 when CHAR_MIN is < 0, so gcc doesn't
warn about the comparison always being true.  Fixes build for macppc
target.

Problem noted by me, analysis and fix from Thomas Klausner.

Approved by wiz.
2005-05-01 16:21:07 +00:00
lukem 31d3a84c88 Prevent a *.y that is newer than *.[ch] (in dist/gettext) from
attempting to yacc the former into the latter, which fails for
read-only source.
2005-05-01 06:51:04 +00:00
christos 593f2057dc Avoid compiler bug on 64 bit machines. 2005-04-29 16:00:31 +00:00
christos e43cef87fc Merge conflicts. 2005-04-29 15:20:13 +00:00
christos e770a46755 ftp ftp.gnu.org 2005-04-29 15:05:03 +00:00
christos fd90a881be Merge conflicts and delete junk. 2005-04-29 15:05:01 +00:00
christos dbabf825dd ftp ftp.gnu.org 2005-04-29 15:04:32 +00:00
christos 7a27fa0d62 ftp ftp.gnu.org 2005-04-29 14:59:33 +00:00
christos f44c5b012e Add build glue via an import. 2005-04-29 14:59:32 +00:00
christos 7f4e062672 ftp ftp.gnu.org 2005-04-29 14:59:31 +00:00
christos 3d10c7e8f3 Add build glue via an import. 2005-04-29 14:59:30 +00:00
christos bc40814d02 ftp ftp.gnu.org 2005-04-29 14:56:20 +00:00
christos 593f5627da Speed this up by doing all the keywords in one pass. Also do all the keywords. 2005-04-29 14:53:35 +00:00
matt cfde366733 Use socklet_t with accept. 2005-04-25 03:43:22 +00:00
christos fab093cf4d Apply patch from the RedHat CVS tree. Avoids issue with -O3 using the
wrong registers with some opcodes, the error is:
Error: Illegal operands: There are only 32 single precision f registers; [0-31]
And the code to cause this is:
	return (cond) ? x : -x;
where x is double.
2005-04-24 23:53:18 +00:00
christos feae6811f5 another place where 17 -> 20 needs to be changed. 2005-04-20 02:00:45 +00:00
christos 974e996222 new version 2005-04-20 01:55:47 +00:00
christos 8897ef5e14 resolve conflicts. 2005-04-20 01:52:11 +00:00
christos 7d77e6d05c Import 1.11.20 from ccvs.cvshome.org 2005-04-20 01:41:28 +00:00
christos 5f983b5879 Add two new config keywords:
AdminGroup
    AdminOptions
that control who has the right to run cvs admin and cvs init.
For fine control over cvs commands, AdminOptions can be used.
I suggest AdminOptions=kmIqc
2005-04-02 03:03:23 +00:00
christos fa7decee11 - Add a new CVS_ADMIN_LIMITED compile option, that only allows ``safe''
cvs admin commands.
- Add a new history record 'X', to record cvs admin commands.

All this is experimental, but tested.
2005-04-01 22:40:31 +00:00
christos a14ad02b8e Enable wide character support for the rest of the archs (i386 is already done).
From J. T. Conklin.
2005-03-31 03:17:02 +00:00
christos 7174de81d3 PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
This wonderful patch together with yesterdays wcsftime addition, makes
us able to use wide strings in c++
2005-03-30 19:17:45 +00:00
jmc 7df4ddc380 Bump default to 3.0 2005-03-17 00:22:22 +00:00
jmc ffcdefd9f6 typo fix for 2.0.2 2005-03-16 23:55:10 +00:00
jmc ba94a91a04 Note 2.0.2 in list 2005-03-16 23:52:16 +00:00
tron 9a46440fea Add NetBSD 2.0.1 and 2.0.2. 2005-03-16 12:33:16 +00:00
tron 20c2561df4 Backout last change to avoid import problems. 2005-03-16 12:32:20 +00:00
tron 28d449bf24 Add NetBSD 2.0.1 and 2.0.2. 2005-03-16 12:27:57 +00:00
atatat bf9c8c87f6 resolve conflicts, pull 8.13.3 to head, make it build 2005-03-15 02:14:15 +00:00
atatat 8ab462048e sendmail 8.13.3 2005-03-15 02:05:26 +00:00
wiz bf09620d88 Add symbol for POSIX 1003.1-2004. Will be in next groff release. 2005-03-14 10:18:58 +00:00
christos ceb0805a9b Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:21 +00:00
briggs 851c74e4ad Override SWITCH_TAKES_ARG() definition from sysv4.h to include
NetBSD options.  Allows powerpc-*-netbsd* to accept "-R <arg>"
when <arg> doesn't exist in the host environment (as all other
NetBSD/ELF platforms do).  As with MIPS and as before, accept
-G NUM, too.
The more portable way to pass arguments to the linker is, of course,
still -Wl,-R,/some/path (note that there are two commas).
2005-03-08 15:36:10 +00:00
jmc 9e33957052 Make sure to pass HOST_CC to configure 2005-02-11 14:58:41 +00:00
wiz 0db1f74f14 Teach groff about NetBSD 2.0.1 too. 2005-02-05 00:36:26 +00:00
wiz 9be5d1e533 Teach groff about NetBSD 1.6.3 (used by njs(4), noted by tron). 2005-02-05 00:32:38 +00:00
wiz ea028fde5d From groff CVS:
2005-01-25  Werner LEMBERG
        * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
        NetBSD PR bin/29114.
2005-01-26 10:25:09 +00:00
skrll 3c62992580 Re-run mknative for hppa binutils update. 2005-01-19 12:57:36 +00:00
skrll a57de08708 hppaelf_create_output_section_statements is valid for the NetBSD hppa
vector.

ld(1) no longer core dumps on valid shared libraries.
2005-01-19 12:49:30 +00:00
skrll 0dd9e4fc5b Re-run mknative for mips binutils updates. 2005-01-14 08:54:59 +00:00
skrll 7fd7604d59 Set EMULATION_NAME in the depends rule so that this works on mips. 2005-01-14 07:44:21 +00:00
skrll 63d29cccef Use the tradmips 64bit vectors/emulations. 2005-01-14 07:41:42 +00:00
skrll 0eb4567962 Don't set EMULATION_NAME here. 2005-01-14 07:40:34 +00:00
drochner a35023d9c5 add a comment telling that i386bsd_sigcontext_addr() returns
the address of a ucontext_t on NetBSD
(this is a hack of course)
2005-01-13 12:51:04 +00:00
drochner c578ca7bb1 wire in the right offsets of eip/esp within a ucontext_t
(which we use now instead of "struct sigcontext")
2005-01-13 12:31:09 +00:00
drochner da4342c647 Signal handlers don't get passed a "struct sigcontext"
anymore. Look in the ucontext_t for the next frame
instead. Backtrace through a signal handler invocation
works now.
(Since this change is NetBSD specific, this code shouldn't
be in a file which is shared among BSDs.)
2005-01-13 12:29:41 +00:00
skrll 7b41d8016a Backport a change from binutils-current
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
	non-shared object, do not reserve space in .plt and .rela.plt for
	regular symbols neither defined nor referenced in shared objects.

This fixes firefox for Havard
2005-01-13 07:55:31 +00:00
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
simonb 7ce49b5cc3 Run mknative for mipsel and mipseb for binutils 2.15 after MIPS
architectures have switched to the "trad" MIPS vectors.
2005-01-09 13:00:14 +00:00
simonb 6ca886562d Switch MIPS from using the "littlemips" and "bigmips" vectors to the
"tradlittlemips" and "tradbigmips" vectors.

The old vectors are meant for IRIX with it prelink shared library
support, and changes to better support this in binutils 2.15 broke
shared library support under NetBSD.  The "trad" vectors are what 32bit
Linux and OpenBSD also use.

These vectors are also compatible with older NetBSD-built shared
libraries and programs so no flag day is necessary (Yay!).

These changes from Nick Hudson.  Help also from Charles Hannum.
2005-01-09 12:58:00 +00:00
christos 31154055b9 PR/28781: OBATA Akio: gdb -write would core-dump if the executable did not
have a string table. Check if the string table has been passed to us before
we attempt writing it.
2004-12-26 16:55:00 +00:00
jmc 225a67ff79 Preface all the calls to move-if-change with $SHELL so it's not depending
on execute permissions on files from CVS
2004-12-18 17:49:22 +00:00
tron bdfdbe0a88 Remove "tmpdir" in "cleandir" target. 2004-12-16 17:10:24 +00:00
wiz f4322a16e4 One entry for libpcap is enough. 2004-12-15 15:16:51 +00:00
mrg e3f11c0d8c regenerate for fixed tools/binutils/Makefile 2004-12-12 12:43:05 +00:00
christos 5ec5c920e5 Add description for libpam 2004-12-12 08:41:09 +00:00
christos 924b906d65 Only compile 64 bit relocations if we can build a 64 bit target (BFD64)
not if the 64 bit type is defined (BFD_HOST_64_BIT) because the second
is always defined, even if it falls back to a 32 bit type. In our case,
this was not the problem; the problem was that we bfd_vma is a 32 bit
type when BFD64 is not defined, so the shift was out of range.
2004-12-11 08:42:55 +00:00
jmc 16650d50f4 Regen w. latest mknative to fix ./object.o problems 2004-12-11 07:42:57 +00:00
mrg 72b7756857 run mknative for binutils 2.15 for amd64. 2004-12-11 01:41:25 +00:00
mrg ce3315ff2f redo the previous such that it works. amd64 seems to work again now. 2004-12-11 01:39:42 +00:00
mrg c63d030651 something in the previous run of mknative-binutils broke this file
by making it think that all header files were missing.  fix this.
should fix PR#28602 and PR#28604.
2004-12-11 01:32:41 +00:00
mrg 5e475368f8 regenerate ns32k files for binutils 2.15. 2004-12-11 01:29:34 +00:00
skrll 7610607ebc Fix merge botch so that we get the right TARGET_FORMAT. 2004-12-10 15:15:41 +00:00
wiz 63ef54fac6 Set doc-default-operating-system to fix footers. Noticed broken by luke. 2004-12-10 14:14:57 +00:00
mrg bd8b5580a3 re-run with fixed mknative 2004-12-10 14:07:52 +00:00
mrg 20cca2cff0 re-run with fixed mknative 2004-12-10 14:03:43 +00:00
skrll 83f6b834e6 Fix merge botch and make sure we pick up the right vectors for
hppa*-*-netbsd*
2004-12-10 08:04:28 +00:00
matt 67a256629f Make trampolines work on PowerPC. 2004-12-09 23:23:23 +00:00
wiz 548afc964d Replace @MKTEMP_SH_FUNCTION@ and @MKTEMP@ in rcs2log.
Addresses PR 28567.
2004-12-09 17:35:38 +00:00
mrg f5f18dd285 run mknative for binutils 2.15 for alpha, arm, armeb, m68k, mipsel,
mipseb, powerpc and vax.  note the that only arm and powerpc of these
are actually run-time tested, but everything builds.
2004-12-09 07:02:53 +00:00
mrg a009ee7734 run mknative-binutils for 2.15 for m68000, sh3eb, sh3el and sh5el.
XXX: these are not run-time tested but do build fine.
2004-12-09 06:48:34 +00:00
mrg ca2ba2d989 mknative for i386, sparc & sparc64 for binutils 2.15.
bump shlib.
2004-12-08 15:13:33 +00:00
mrg c47c675845 bfd/elflink.c 2004-12-08 14:57:53 +00:00
mrg e7fdb20d02 avoid 32 bit shift on 32 bit type 2004-12-08 14:57:52 +00:00
mrg 6cd5325a7e bfd/elflink.c 2004-12-08 14:57:52 +00:00
mrg e4b0a4a67a fix a compile-time warning. 2004-12-08 14:27:05 +00:00
mrg 67891deae5 merge binutils 2.15 cornflakes.
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:11 +00:00
mrg adc74f2444 these files are created at build time 2004-12-08 13:38:10 +00:00
mrg 70ee3f68e3 merge binutils 2.15 cornflakes.
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:07 +00:00
mrg e88da0ac40 initial import of binutils 2.15 branch (20041204) 2004-12-08 09:52:50 +00:00
mrg 0b0695816f these files are created at build time 2004-12-08 09:47:04 +00:00
mrg ddc1ca5b37 these files are created at build time 2004-12-08 09:08:53 +00:00
mrg 3fa5a086b0 these files are created at build time 2004-12-08 08:49:27 +00:00
peter f3d63aa1de Remove duplicated 'libedit'.
ok wiz@
2004-12-01 00:07:37 +00:00
jwise 48f45412af As discussed on tech-toolchain@netbsd.org, make cpp refuse to attempt to
parse a #include'd file which does not pass S_ISREG() if the environment variable
CPP_RESTRICTED is set.

This is primarily intended for use by programs such as calendar(1) which
use cpp to parse untrusted user files -- without this change (and the corresponding
change to calendar(1)), any user can cause a denial-of-service for the daily
calendar -a run by #include'ing a named pipe.

Many thanks to christos@netbsd for his help in polishing this.
2004-11-30 01:51:13 +00:00
heas e41d437604 GC a few empty directories that have shown-up in 2.1.5. 2004-11-13 05:47:54 +00:00
heas d846e265c3 Resolve conflicts 2004-11-13 05:45:10 +00:00
heas ad512a907d Postfix 2.1.5 2004-11-13 05:05:16 +00:00
wiz f1134ebb91 Add missing .TP before -P, and sort options. 2004-11-11 01:39:25 +00:00
dsl 0e378e4772 Add (unsigned char) cast to ctype functions 2004-11-05 19:56:34 +00:00
peter 4037d03620 Apply revision 1.56 from binutils CVS:
Catch NULL bfd pointers passed to bfd_archive_filename.

Fixes a core dump in ld(8) when loading certain LKMs.

Approved by mrg.
2004-10-25 09:45:43 +00:00
cube b5856520ff Back out previous commit. PIDGET() must be used with a ptid_t, and the
functions that were modified by the previous commit were already passed
the result of PIDGET.  Whatever was intended, it must be re-done
correctly.
2004-10-16 21:17:51 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
mycroft 2c0f3d7d9b Two changes for better handling of blocked threads with LWPs:
1) When looking up the active thread, do not convert it to a thread ID; use the
   LWP ID instead.  This causes us to go through the ptrace(2) interface to
   modify registers -- using the kernel state -- rather than through the
   thread library.
2) Do not add blocked threads to the thread list.  These are represented by
   LWPs and will be seen that way instead.
2004-10-12 22:16:34 +00:00
reinoud 3f13770b97 Finally x86-64
WARNING: i can't be 100% sure that this patch will work due to the x86-64
code being different from all other archs... maybe it ought to be
streamlined to the other archs?
2004-10-12 02:38:56 +00:00
reinoud d1b2149022 Forgot NetBSD/alpha in my ptrace() fix. 2004-10-12 02:31:35 +00:00
reinoud c90013b67b Pass the LWP id to the ptrace() calls. Passing a zero as it did meant that
gdb could end up with the wrong registers... all other NetBSD archs
allready did this....
2004-10-12 01:38:47 +00:00
mycroft 03c7b67710 If we can't read the switchframe from the core dump, fake it, rather than
just failing.
2004-10-08 17:17:45 +00:00