Commit Graph

5011 Commits

Author SHA1 Message Date
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
ian ca1f4aea74 Bring in current sim/ppc sources which fix configury to work with
NetBSD-current, in which statfs() exists but struct statfs does not.
2004-09-29 06:31:36 +00:00
wiz 47d145fddb From otto@OpenBSD:
Do not evaluate this->next after calling the handler; the handler may
have clobbered it. Resolves core dumps of cvs server on user ^C.

Ok'd by christos.
2004-09-09 22:23:29 +00:00
lukem 9624ff4ee6 add postconf.5.html OVERVIEW.html 2004-09-07 23:56:08 +00:00
lukem dce1aace09 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:53:22 +00:00
lukem 11e341bed2 add postconf(5) 2004-09-07 23:51:50 +00:00
lukem a1e01ef943 Revert previous, per Perry's request (maintainer of postfix in NetBSD) 2004-09-07 23:50:32 +00:00
lukem 40c2c137db prevent groff warnings 2004-09-04 23:33:07 +00:00
lukem e58e6ec148 add postconf.5.html OVERVIEW.html. style cleanup 2004-09-04 22:53:35 +00:00
lukem 336311d0ad style cleanup (alpha sort list, reformat comments) 2004-09-04 22:28:26 +00:00
lukem 6be90f72e3 add postconf(5). style cleanup (alpha sort list, reformat comments) 2004-09-04 22:22:26 +00:00
lukem ee7fcfe0f4 style cleanup (alpha sort list, reformat comments) 2004-09-04 22:16:48 +00:00
sekiya 191a6b609d Regen. 2004-09-03 10:31:47 +00:00
sekiya 98c96dbb1e Add big-endian elf64 to ld for MIPS targets.
Reviewed by simonb@
2004-09-03 10:30:09 +00:00
martin 5ea85d45ac Do not search the info path when opening our own output file. We may find
an old (shorter) version somewhere and SIGSEGV due to different filesize.
Fixes PR toolchain/26791. Already forwarded to texinfo maintainers.
2004-08-29 08:16:18 +00:00
thorpej 8d13a4aafe Switch to using GCC's supplied crtbegin / crtend files. 2004-08-28 00:18:38 +00:00
thorpej a80d65bdf1 sparc64 configuration for GCC "crtstuff". 2004-08-26 20:33:47 +00:00
thorpej 3b3467be81 Only do the crtstuff dance if OBJECT_FMT is ELF. 2004-08-26 19:08:10 +00:00
thorpej 62ca5968b5 sparc configuration for GCC "crtstuff". 2004-08-26 19:05:04 +00:00
thorpej 35bdb62895 Don't protect the inclusion of ${MACHINE_ARCH}.mk; it is required. 2004-08-26 19:01:20 +00:00
thorpej c64c94ac78 m68000 configuration for GCC "crtstuff". 2004-08-26 18:59:53 +00:00
thorpej fb21d92089 x86_64 configuration for GCC "crtstuff". 2004-08-26 07:09:22 +00:00
thorpej 84b60dd908 sh5el configuration for GCC "crtstuff". 2004-08-26 06:59:38 +00:00
thorpej ed5931a192 sh3eb configuration for GCC "crtstuff". 2004-08-26 06:57:35 +00:00
thorpej c2b11b356c sh3el configuration for GCC "crtstuff". 2004-08-26 06:57:07 +00:00
thorpej 432118c9ee powerpc configuration for GCC "crtstuff". 2004-08-26 06:54:37 +00:00
thorpej bb158d9e58 mipseb configuration for GCC "crtstuff". 2004-08-26 06:32:53 +00:00
thorpej d6398ba73b mipsel configuration for GCC "crtstuff". 2004-08-26 06:32:19 +00:00
thorpej d6d6853f9b m68k configuration for GCC "crtstuff". 2004-08-26 06:23:00 +00:00
thorpej ddc0eb63c5 hppa configuration for GCC "crtstuff". 2004-08-26 06:12:07 +00:00
thorpej c9bd4f9af6 armeb configuration for GCC "crtstuff". 2004-08-26 06:09:56 +00:00
thorpej c913ba605e arm configuration for GCC "crtstuff". 2004-08-26 06:08:43 +00:00
thorpej 67e1a05e86 alpha configuration for GCC "crtstuff". 2004-08-26 06:00:32 +00:00
wiz c36259e13c Better fix for previous, from martin@. Accepted back into groff main tree. 2004-08-25 16:52:44 +00:00
thorpej 226d0b6b3e i386 configuration for GCC "crtstuff". 2004-08-24 20:54:02 +00:00
thorpej 1f4e63b33e Build infrastructure for GCC's "crtstuff". 2004-08-24 20:52:17 +00:00
rearnsha 8cd9c1ad76 Add Thumb breakpoints 2004-08-23 13:54:29 +00:00
rearnsha d2d54a40b5 Backport changes from the FSF development tree that ensure that code
build for ARM architecture 5 or later is always interworking clean.
2004-08-21 10:48:54 +00:00
nathanw fd8dc4c93f Remove some unused variables. 2004-08-09 22:39:32 +00:00
nathanw 0ef0b5bfc2 nbsd_thread_unsuspend() doesn't need to get or look at the thread
info.
2004-08-09 20:14:22 +00:00
nathanw 82c8abbad2 Fix up a few error messages to correctly report what function they're
in.
2004-08-09 20:13:53 +00:00
jdolecek d533adf95b just use system dup2(2) 2004-08-07 08:58:19 +00:00
chs e87ba8fbf8 add back a dependency that DPSRCS doesn't handle. 2004-08-05 14:52:22 +00:00
skrll e176d50dd4 Look for libgcc.map in ${.OBJDIR}. Suggested by Luke.
Fixes PR 26515.
2004-08-05 13:10:18 +00:00
dbj 3a92b5a162 fix merge botch. cpp.1 now describes gcc-3.3.3 instead of gcc-3.3.2 2004-08-02 17:43:23 +00:00
dbj d8a2c2edb9 fix merge botch. gcov.1 now describes gcc-3.3.3 instead of gcc-3.3.2 2004-08-02 17:39:51 +00:00
dbj 690507819c fix merge conflict botch that left gcc man page out of date.
now gcc.1 describes gcc-3.3.3 instead of gcc-3.3.2
2004-08-02 17:32:55 +00:00
wiz 48d5d4bd20 Revert previous and apply patch from groff maintainer, Werner Lemberg,
instead. Verified by cross-building sparc64.
2004-08-02 13:03:17 +00:00
wiz c7b16ff76d Fix for the error
bdf.ms:270: fatal error: input stack limit exceeded (probable
	infinite loop)
that appears when building the xorg-docs package.
Problem reported to current-users by Kouichirou Hiratsuka.
Fix provided by groff maintainer, Werner Lemberg.
2004-08-02 09:30:43 +00:00
martin d8b993b9d6 Fix stupid 32bit assumption: uint32 is not a good type to store pointers.
Use intptr_t instead.
2004-08-01 10:19:26 +00:00
wiz 02671778ef Update for 1.19.1. 2004-07-30 15:29:45 +00:00
wiz dbe38746a1 Another update for groff-1.19.1 (fixes nroff and neqn). 2004-07-30 15:28:58 +00:00
wiz 01246ceabb Update for groff-1.19.1. 2004-07-30 15:04:19 +00:00
wiz 1ce2b86654 regen (from 1.19.1) 2004-07-30 14:59:56 +00:00
wiz ed1831ffa4 Bring in BSD make fix from groff CVS. 2004-07-30 14:58:37 +00:00
wiz 018d2ff9c6 Merge groff-1.19.1. 2004-07-30 14:56:51 +00:00
wiz 48af41221f Import groff-1.19.1. Changes since 1.19:
Groff
-----

o The argument of the command line option `-I' is now also passed to troff
  and grops, specifying a directory to search for files on the command line,
  files named in `so' and `psbb' requests, and files named in \X'ps: file'
  and \X'ps: import' escapes.

o If option `-V' is used more than once, the commands will be both printed
  on standard error and run.

Troff
-----

o Two new read-only, string-valued registers `.m' and `.M' return the
  name of the current drawing and background color, respectively.

o New read-only register `.U' which is set to 1 if in safer mode and set
  to 0 if in unsafe mode.

o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added.
  Example use:

    groff -Tdvi -mlatin5 my_file > my_file.dvi

  Note that some output devices don't support all glyphs of this encoding.

o If the `return' request is called with an argument, it exits twice,
  namely the current macro and the macro one level higher.  This is
  used to define a wrapper macro for `return' in trace.tmac.

o For completeness, two new requests have been added: `dei1' and `ami1'.
  They are equivalent to `dei' and `ami', respectively, but the macros
  are executed with compatibility mode off (similar to `de1' and `am1').

o New command line option `-I' to specify a directory for files (both
  those on the command line and those named in `psbb' requests).  This is
  also handled by the groff wrapper program.

o Since version 1.19 you can say `.vs 0'.  Older versions emit a warning
  and convert this to `.vs \n[.V]'.

  This hasn't been documented properly.  Note that `.vs 0' isn't saved in a
  diversion since it doesn't result in vertical motion.

Pic
___

o Dashed and dotted ellipses have been implemented.

Tbl
---

o New key character `x' to make tbl call a user-defined macro on a table
  cell.  Patch by Heinz-Jürgen Oertel <hj.oertel@surfeu.de>.

Grohtml
-------

o New option `-j' to emit output splitted into multiple files.

Grops
-----

o New command line option `-I' to specify a directory to search for files
  on the command line and files named in \X'ps: import' and \X'ps: file'
  escapes.  This is also handled by the groff wrapper program.

o The default value for the `broken' keyword in the DESC file is now 0.

Grolj4
------

o A new man page `lj4_font(5)' documents how fonts are accessed with
  grolj4.

o The built-in fonts for LJ4 and newer PCL 5 devices have been completely
  revised, mainly to access as much glyphs as possible.  The provided
  metric files should be compatible with recent PCL 5 printers also.
  Additionally, font description files have been added for the Arial and
  Times New Roman family, the MS symbol, and Wingdings fonts.

Hpftodit
--------

o Completely revised to handle HP TrueType metric files also.  See the
  hpftodit manual page for more details.

Macro Packages
--------------

o www.tmac: New macro `JOBNAME' to split output into multiple files.

o In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY
  section.
2004-07-30 14:44:08 +00:00
nathanw 417df974b7 Add rwlock support to "thread sync" command, and clean up some
whitespace printing.
2004-07-29 17:57:40 +00:00
chs d62ab9b894 fix parallel builds:
use DPSRCS instead of an incomplete set of ad-hoc dependencies.
2004-07-29 14:36:38 +00:00
heas c5f2fcaa9d Resolve conflicts 2004-07-28 23:19:42 +00:00
heas 6bb314b03e Postfix 2.1.4 2004-07-28 22:48:49 +00:00
heas 24f0e42a18 Add tags in more places, remove useless files, & resolve symlinks.
Largely from grep2netbsd.
2004-07-28 17:18:20 +00:00
nathanw bb1c6b93e5 Enable scheduler_lock mode. 2004-07-20 21:39:04 +00:00
nathanw 066d05318f Jumbo update to address several issues.
Go back to activating thread debugging in new_objfile(), as well as
several other places, so that thread operations such as wait() can be
handled inside of the child_ops.create_inferior(). This addresses
spurious SIGTRAPs at the start of debugging threaded programs.

Make use of the libpthread_dbg suspend/resume interface to implement
single-thread stepping.

Be a little more sensible about the way IS_LWP and IS_THREAD work.

Don't try to look up mutex data for a spinlock sync object (ugh,
unions).
2004-07-20 21:33:44 +00:00
thorpej 52efc390bf Rerun mknative-binutils to get new bfd_elf32_hppa_nbsd_vec. 2004-07-20 20:51:36 +00:00
thorpej eb9f224468 Integrate / parameterize changes from Chuq Silvers / Nick Hudson to
simplify GP handling on HPPA for NetBSD, and get dynamically-linked
executables working.  Changes to be submitted to FSF:

bfd:
	* config.bfd (hppa*-*-netbsd*): Set targ_defvec to
	bfd_elf32_hppa_nbsd_vec.  Add bfd_elf32_hppa_linux_vec
	to targ_selvecs.
	* configure.in (bfd_elf32_hppa_nbsd_vec): Add case.
	* configure.in: Regenerate.
	* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd"
	case that accepts OSABI=NetBSD and OSABI=SysV.
	(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to
	the base of .got or .data (if .got does not exist).
	(elf32_hppa_post_process_headers): For elf32-hppa-netbsd,
	set OSABI=NetBSD.
	(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case.
	(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case.
	* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration.
	(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec.

gas:
	* config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
	for TE_NetBSD.

ld:
	* emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-20 20:47:18 +00:00
tron 9b54aaafc2 Make sure that "texinfo.cat" is really build by the "all" target and that
it gets removed by the "cleandir" target.
2004-07-18 16:34:45 +00:00
wiz 13ff3d72db Generate texinfo.cat. 2004-07-18 15:42:25 +00:00
wiz 0d7d1c090a Remove generated file; probably fixes PR 26333 by salo. 2004-07-17 23:28:35 +00:00
atatat 89fc8be761 Change the default settings for sendmail.
(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
    should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed.  The setting in
    /etc/default/rc.conf is still "no", but rc.d/sendmail detects the
    default setting and will change it to yes if need is determined.

Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered".  If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.
2004-07-15 03:47:18 +00:00
skrll bd13c00f05 Pull in libgcc_pic in the -shared-libgcc case as well for the millicode
platforms.
2004-07-14 07:18:35 +00:00
wiz 5555edc8c1 Work around the 'bad address' problem by only looking for files that
should be written to in the current directory.

Fix suggested by enami.
2004-07-14 00:12:28 +00:00
wiz d6960b19ca Apply
http://savannah.gnu.org/cgi-bin/viewcvs/texinfo/texinfo/makeinfo/makeinfo.c.diff?r1=1.60&r2=1.61&diff_format=u
to fix a problem with groff.texinfo.

Suggested by enami, thanks!
2004-07-13 22:55:17 +00:00
he 3c43244566 Do a cast via intptr_t in order to avoid warning "cast to pointer
from integer of different size" when building e.g. for alpha.
2004-07-13 19:02:44 +00:00
he 1286213468 Do a cast via intptr_t in order to avoid warning "cast to pointer
from integer of different size" when building e.g. for alpha.
2004-07-13 18:30:49 +00:00
wiz dd4da9519f Let this build with BSD make (for tools building). 2004-07-12 23:47:52 +00:00
wiz 36a8484526 Update for 4.7. 2004-07-12 23:45:26 +00:00
wiz ced9ce2f88 Update. 2004-07-12 23:44:06 +00:00
wiz 13766d513a Merge with 4.7. 2004-07-12 23:41:53 +00:00
wiz ccaa2ac97b Import of texinfo-4.7, as prepared by texinfo2netbsd.
Changes since 4.6:

4.7 (9 April 2004)
* Language:
  . new commands @float, @caption, @shortcaption, @listoffloats for
    initial implementation of floating material (figures, tables, etc).
    Ironically, they do not yet actually float anywhere.
  . new commands @docbook, @ifdocbook, @ifnotdocbook for conditional Docbook.
  . new commands @ordf{} and @ordm{} for Spanish feminine/masculine ordinals.
  . new commands @deftypecv[x] for class variables in typed OO languages.
  . new command @registeredsymbol for the r-in-a-circle symbol.
  . new command @headitem to make a heading row in @multitable.
  . new command @LaTeX{} for the LaTeX logo.
  . new command @comma{} to avoid comma-parsing problems.
  . @url is now a synonym for @uref; new command @indicateurl has the
    old meaning of just displaying a url as text.
  . @quotation now accepts an optional argument for labelling the text
      as a `Note', `Tip', etc.
  . @defun (et al.) heading lines can now be continued with a lone @.
  . @acronym accepts an optional argument for the meaning of the acronym.
* makeinfo:
  . New environment variable TEXINFO_OUTPUT_FORMAT determines the output
    format at runtime, if no options are specified.
  . New option --plaintext, equivalent to --no-headers with Info output.
  . All outputs:
    - sections are numbered by default.
  . Info output:
    - punctuation is inserted after @pxref and @ref, if needed to make
      cross-references valid.
    - line numbers included in index menus, so Info readers can go to
      the exact line of an entry, not just a node.  Also in plaintext output.
    - ^@^H[index^@^H] cookie included in index menus, so Info readers
      can handle the ] etc. commands better.
  . HTML output:
    - new algorithm for cross-references to other manuals, for maximum
      portability and stability.
    - include node name in <title> with split output.
    - @multicolumn fractions become percentages.
    - entities used for bullets, quotes, dashes, and others.
    - index entries are links to the exact locations.
    - <h4> and <h5> used for @sub and @subsubsections again.
    - accented dotless i supported.
  . XML output: many new tags and structure to preserve more source features.
  . Docbook output:
    - upgraded DTD to Docbook XML 4.2, no longer using Docbook SGML.
    - improved translation in general, for instance:
    - line annotations and marked quotations.
* texi2dvi:
  . if available, use etex (pdfetex if --pdf) by default.
  . if the input file includes thumbpdf.sty (for LaTeX), then run thumbpdf.
  . more output if --debug.
* texinfo.tex:
  . @defun names are now printed in typewriter (instead of bold), and
    within the arguments, @var text is printed in slanted typewriter.
  . @tex code is executed inside a TeX group, so that any changes must
    be prefixed with \global (or the equivalent) to be effective.  (This
    change was actually made years ago, but never made it into the NEWS.)
* info:
  . new option --where (aka --location, -w) to report where an Info file
    would be found, instead of reading it.
  . by default, output ANSI terminal escape sequences as-is; new option
    --no-raw-escapes overrides this.
  . use the newly-generated index line numbers.
* Distribution:
  . new script gendocs.sh (not installed), for use by GNU maintainers in
    getting their manuals on the GNU web site.  Documented in
    maintain.texi (http://www.gnu.org/prep/maintain_toc.html).
  . Most code uses ANSI C prototypes, to some extent.
  . New translation: nb.
  . automake 1.8.3, autoconf 2.59, gettext 0.14.1.
2004-07-12 23:26:33 +00:00
wiz 76303507fb Add symbol for IEEE Std 1003.1-2004,
requested by Stoned Elipot (and will be in the next release of groff).
2004-07-12 14:23:49 +00:00
skrll b5d3cf6021 Complete the fix for PR 22452 by doing the same thing as stock gcc. That
is, use the symbol versioning script to remove certain symbols from the
dynamic symbol table.

Do the symbol versioning thing for all platforms.

Whilest our ld.elf_so(1) doesn't understand symbol versioning this
doesn't matter as all the exposed symbols appear unversioned until symbol
versioning support is added (if ever).
2004-07-05 12:27:41 +00:00
drochner 18bf932783 don't undefine some macros which are only redefined if _GLIBCPP_USE_C99
is defined - this causes that nothing usable is left unless we implement
enough of C99
(there is a change in gcc-3.4 which is similar in spirit)
should fix PR lib/25930 by Dan McMahill
(I've compiled the whole KDE with this modification successfully)
2004-07-01 21:25:23 +00:00
jmc f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
jmc 503953b7b6 Redo the layout here by moving man stuff into a subdir. This is only needed here
due to andoc.tmac being generated here and it'll end up in the depend tree
for installation (during dependall) if DESTDIR=/ and USETOOLS=no/never which
will lose for most people. Fixes final part of PR#23067
2004-06-24 04:38:29 +00:00
christos b7c0da429e Make the previous diff match exactly the following commit from binutils head:
2003-08-23  Alan Modra  <amodra@bigpond.net.au>

        * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.

Thanks Ian for providing the diff!
2004-06-22 18:09:12 +00:00
christos d6bf74cb9e Add a check for a non-null owner before dereferencing it. Fixes ld core-dumps
related to lkms.
2004-06-22 16:35:49 +00:00
jmc 84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
jmc af9bab3f46 Typo in return type. From PR#25933 2004-06-20 22:30:04 +00:00
jmc fa985b27a7 groff's configure happily accepts and uses CPPFLAGS for it's tests but then
doesn't substitute that into Makefile.in anywhere. This will cause it to lose
when compiling as a host tools and CPPFLAGS contains -I's into the compat
area (solaris loses here for instance). Fix by adding CPPFLAGS onto CFLAGS
and CCFLAGS definitions
2004-06-20 21:48:12 +00:00
uebayasi bb2fc6fa86 Install GNU `troff' (or `groff') info manual.
Reviewed By:	wiz
2004-06-19 15:02:59 +00:00
mrg aa44da4009 fix a problem with mips alignment. from ian@wasabisystems.com.
Fri Apr  4 17:43:52 2003  Olivier Hainque <hainque at act-europe dot fr>

	* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
	use of default attributes to agree MEM_ALIGN macro.
2004-06-18 09:30:45 +00:00
wiz 8454dc9af8 Bump version after 1.11.17 import. 2004-06-16 16:02:22 +00:00
itojun 40ee9b9ad9 sync w/ 1.11.17 2004-06-16 09:22:34 +00:00
itojun 880a96fb70 cvs 1.11.17 2004-06-16 09:18:51 +00:00
jmc b5ac9053b4 Redo this rule so it depends on libiberty.a rather than just the directory.
Otherwise an aborted build would cause this to be skipped on MKUPDATE.
Also, run configure w. $HOST_SH as highlighted in PR#25606
2004-06-12 14:59:36 +00:00
jmc 75b4824f88 Fix some missing $HOST_SH needs as highlighted in PR#25606 2004-06-12 14:57:57 +00:00
heas f88c21e7a7 trace.8 duplicated in MAN variable, overriding the MLINK instance.
Pointed out by Denis Lagno.
2004-06-08 23:30:00 +00:00
heas ee88aedd7c Correct the previous; should have been statvfs for >2.0D.
Thanks grant!
2004-05-31 03:55:20 +00:00
heas 5d235dc495 Override a few config variables so postconf(1) has them correct. 2004-05-31 03:54:20 +00:00
heas 82f64031cc Use statvfs on NetBSD > 2.0 2004-05-31 00:51:19 +00:00
heas cf26c0c11c Resolve import conflicts 2004-05-31 00:46:46 +00:00
heas 0277737a5f Postfix 2.1.1 2004-05-31 00:23:53 +00:00
uwe 1161112f12 Fix for gcc target/13250 to correctly compile rotations, e.g. in
sha256 code in pkgtools/digest.

Ok by Matthew Green <mrg>.

2004-05-28  Kaz Kojima  <kkojima@gcc.gnu.org>

	PR target/13250
	* config/sh/sh.md (rotlsi3): Use emit_move_insn.
2004-05-29 00:49:15 +00:00
uwe ae04b1322a Fix the calculation of next_pc for braf/bsrf instructions. 2004-05-28 22:04:36 +00:00
nathanw 411bc3c814 Failure to fetch FP registers from the thread debugging library isn't
necessairly a problem; the thread may in fact have no FP state.
2004-05-27 19:15:10 +00:00
mrg 86a3ebdbd0 fix merge cornflakes with GCC 3.3.3 (final) 2004-05-27 14:48:52 +00:00
drochner 1e0409af82 generate .stabs per default, should fix PR toolchain/25094 2004-05-26 17:12:20 +00:00
itojun 394bed789b CVS 1.11.16, with security fix 2004-05-26 07:59:30 +00:00
skrll 279e627659 Re-run mknative. 2004-05-25 13:39:35 +00:00
christos 1776046df9 The note fix, apparently broke objcopy. I will need to re-think this. 2004-05-23 21:12:06 +00:00
christos 82d6e6c91c Adding a note section, can result in adding two elf segments. Account for that. 2004-05-23 18:08:16 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
dan 7e85dcc65c switch pickup and qmgr to unix sockets instead of fifos.
This helps avoid postfix waking up an idle disk with mtime updates for
fifos.  Evidently only fifos worked for these two in earlier postfix
versions, but now it works fine in my testing, and it also makes the
config consistent for all postfix services.

Thanks to Charles Hannum.
2004-05-20 22:06:52 +00:00
kleink b4e54b71d4 Prefer the new -std=c89 over -ansi. 2004-05-20 18:53:08 +00:00
christos fdd71ccbd9 1.6 make(1) friendly. Did I mention before that the change to ignore
undefined variables just brings pain?
2004-05-20 15:08:30 +00:00
christos 15432cac81 Apply patch 1.11.15 -> 1.11.16 2004-05-20 03:25:13 +00:00
abs 199212f421 Apply gcc PR target/14302 to fix ARM compiler issues triggered by at
least glib, glib2, and pkgconfig.

    2004-02-26  Richard Earnshaw  <rearnsha@arm.com>
	   Daniel Jacobowitz  <drow@mvista.com>

	   PR target/14302
	   * arm.h (ARM_GO_IF_LEGITIMATE_ADDRESS): Don't check the mode
	   size for minipool references.

Many thanks to Richard Earnshaw for close to instant copy of the gcc patch.
Bump gcc version to "3.3.3 (NetBSD nb3 20040520)"
2004-05-19 23:44:18 +00:00
agc cdbc6c6463 Provide the default location for html documentation (html_directory),
otherwise postfix will fail with the error message:

May 16 21:56:56 system postfix[175]: fatal: bad string length 0 < 1: html_directory =
2004-05-17 06:00:14 +00:00
lukem ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
fair 9d0b34ca9c Add port-xen 2004-05-10 00:28:08 +00:00