Commit Graph

4453 Commits

Author SHA1 Message Date
mrg 6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
mrg 5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
dsl f2eecf77ab Define and use xasprintf() so that memory allocate errors are reported. 2003-07-26 16:06:44 +00:00
mrg 9654542bdb working gcc3 support 2003-07-26 15:23:19 +00:00
mrg 18fe568bf8 set CXX_SUPCXX if we're using gcc3 2003-07-26 15:03:27 +00:00
mrg 2aad222f64 need a host rule for dummy-conditions.c 2003-07-26 15:02:52 +00:00
mrg 5a9a1bb768 - build/install a libsupc++.a
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
2003-07-26 14:55:12 +00:00
mrg 9a2ca8e117 working arm & sparc64 support 2003-07-26 14:48:06 +00:00
dsl d1fbc02d92 This should fix the recent cvs breakage - PR bin/22276
Use asprintf() instead of malloc(), sprintf() pairs.
Now that CVSADM_xxx is getCVSdir("xxx"), sizeof CVSADM_xxx isn't quite right!
(Who knows why gcc doesn't error 'sizeof function()' though?)
Note this compiles, but isn't tested (yet).
2003-07-26 14:36:18 +00:00
lukem d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
christos 0f6cc2d0c8 Document -D 2003-07-25 20:39:25 +00:00
christos e6a5f61128 Add -D dir option to be able to specify where cvs stores its bookkeeping files
(default to CVS as usual).
2003-07-25 20:37:31 +00:00
mrg 82dc526688 make sure tconfig.h exists before .depend 2003-07-25 19:20:07 +00:00
mrg 2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +00:00
mrg e70774a5af oops, we need the generated-manpages target still. 2003-07-25 18:38:18 +00:00
mrg 5e7d44a059 comment some more rules that update read-only source trees 2003-07-25 18:33:19 +00:00
mrg 80b751809f - comment the rules to rebuild .info files into $srcdir.
- don't try to link the (not yet built!) target libiberty.a for host programs(!)
2003-07-25 18:06:03 +00:00
mrg 20c6cdf6dc make `cpp -gcc' the default on NetBSD. 2003-07-25 17:57:41 +00:00
mrg bad540d079 clean up and fix a couple of build-from-cleandir problems 2003-07-25 17:19:22 +00:00
mrg ae9855d2fe maybe build gcc3 instead of gcc2 2003-07-25 16:57:06 +00:00
mrg a9fc136dbd new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
works.  sparc & i386 support is included here.  libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
2003-07-25 16:32:23 +00:00
mrg 731484776c merge import conflicts. 2003-07-25 09:04:06 +00:00
simonb f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +00:00
lha 2004b22e25 -DENCRYPTION is for both krb4 and gssapi support, so move it to shared section 2003-07-24 00:25:24 +00:00
itojun 1747522bb0 split MKKERBEROS4 and MKKERBEROS (forgot to commit) 2003-07-23 23:20:35 +00:00
mrg 1da79fd671 initial import of GCC 3.3 sources. (this is the latest GCC 3.3.1
prerelease snapshot, 3.3.1-20030720, we will update to 3.3.1 when
it becomes available.)
2003-07-23 02:40:42 +00:00
lukem 70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
wiz fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
drochner 994673f63c As already done in binutils-2.14:
Use the "LL" suffix for 64-bit constants.

Now gcc-3.3 doesn't warn about "constants too large
for "long"" or so anymore.
2003-07-09 14:43:24 +00:00
drochner 82df414328 Fix another case where the %{R*} in LINK_SPEC got lost.
Should resolve PR toolchain/22098 by Richard Earnshaw.
2003-07-09 14:34:47 +00:00
itojun 861516eeb7 install more postfix README files. based on PR 22086 2003-07-08 05:17:12 +00:00
martin 096118cb48 Move the local "dependall" target to Makefile.dev, since not all subdir
Makefiles include Makefile.tty. Hint from seb.
2003-07-06 18:43:36 +00:00
wiz 11ec0bca58 Commit fix from ru@freebsd (already in groff CVS) to fix a problem
discovered by jmc@openbsd:
.Pp
.Bd -literal
had more whitespace than plain
.Bd -literal
without a .Pp directly before.
2003-07-06 02:23:45 +00:00
martin 6b51cb5150 Explicit dependencies for y.tab.h handling. Without this, parallel builds
break.
If someone finds a better way to do this (especially without modifying
this imported makefiles) please feel free to redo this differently.
2003-07-05 22:09:03 +00:00
martin 19f1f93fa0 There is no ${RPOG} or ${SCRIPT} in here, so bsd.prog.mk doesn't realy
build anything for the "dependall" target. Explicitily let it do the
same as the "all" target.
2003-07-05 22:02:59 +00:00
martin ef6eddfd4c Fix obvious, very stupid bugs, that made compilation fail on 64 bit systems.
(unfriendly remarks removed before leaving editor)
2003-07-05 15:08:59 +00:00
christos 671e251af7 PR/21819: Jeremy Reed: znew and gzexe create/use unsafe tmp files. Replaced
with the FreeBSD current version.
2003-07-05 02:34:28 +00:00
wiz 04fb23b84a Add libevent. 2003-07-04 12:20:11 +00:00
atatat 14aac0ed62 Make "make includes" descend into the sendmail tree. 2003-07-04 04:53:50 +00:00
atatat 3fe5d819ac Enable MILTER support in the in-tree sendmail. This entails
installing two new libraries (and two lint thingys, but no shared or
pic stuff) and two headers files (into /usr/include/milter).

Shared libraries (etc) could be built, but as I'm currently unsure of
the ABI/API stability, I'm going to examine it more closely before
enabling it, as opposed to finding out later that it's volatile and
disabling it.

NOTE!  We really ought to have a generic rc.d script to start the
milters (before sendmail or any other MTA that you have that uses
them), but I haven't finished it yet.  The milter support here is
being enabled to satisfy current popular demand.  I'll come up with a
script soon.  Unless someone feels like beating me to it.  So until
then, you're on your own.
2003-07-04 04:52:59 +00:00
wiz 22b7dfef23 Add a note about updating config.h. 2003-07-03 15:41:37 +00:00
wiz 7245847e34 Update for 4.6. 2003-07-03 15:39:59 +00:00
wiz 336f920cb0 Reduce diff to texinfo-4.6. 2003-07-03 15:35:34 +00:00
wiz f6bd3ce762 ``autoreconf -f'' generates better output -- use that instead. 2003-07-03 15:24:01 +00:00
wiz 60e3307ec0 Install Romanian locale too. 2003-07-03 15:17:47 +00:00
wiz 5852c21fa6 Merge 4.6 (includes aclocal/autoheader/autoconf/automake run
for local AM_MAINTAINER_MODE change).
2003-07-03 15:09:13 +00:00
wiz 501ee3dffd Import of texinfo-4.6. 2003-07-03 14:58:40 +00:00
wiz cdcc2dcba2 Remove another local patch: all fields of the NODE structure are
initialized manually, so no zeroing is necessary.
2003-07-03 12:59:54 +00:00
wiz 3fbb8762e8 Match 4.5 better (no functional change). 2003-07-03 12:53:07 +00:00
wiz 18f0270abb Remove local patch that was (supposedly) a work-around for
libedit-emulating-readline problems, which appear fixed; at least
texinfo compiles just as well without the patch.
2003-07-03 12:50:09 +00:00
wiz b12e18c6e7 No point in allocating x*2 if only x+2 is used (reverts local patch
pulled up from 3.12).
2003-07-03 12:47:32 +00:00
tron 1d37b173ee Uncomment "CLEANFILES" assignment accidently disabled by the last commit. 2003-07-03 11:46:46 +00:00
lukem d35c969759 Use FILESDIR_foo=${TMACDIR} instead of FILESNAME_foo=../foo .
Fixes problem with UNPRIVED builds.
2003-07-03 07:10:45 +00:00
wiz dd008107d1 Add 'signed' in some places so this compiles on platforms where
char by default is unsigned.
2003-07-03 06:27:50 +00:00
wiz 3377068dd2 Add missing .endif. Noted by Juan RP. 2003-07-01 13:58:37 +00:00
wiz 689ab69cfe Remove traces of psroff (obsoleted during groff-1.16 import) 2003-07-01 13:49:29 +00:00
wiz 22f5bf9166 Remove some unused code. 2003-07-01 13:48:24 +00:00
agc 36175775de Make this work for unprivileged installation, too. With thanks to wiz, mrg
and simonb.
2003-07-01 13:45:45 +00:00
wiz 7f9ffda65e Remove 1.5K (pfil(9) changed). 2003-07-01 13:04:32 +00:00
mrg 7651047e58 give lex.cpp expclit dependancies for generated files so that "make all" as
well as "make dependall" works.
2003-07-01 12:38:09 +00:00
mrg 314a2bbe7a add .WAIT after libs... 2003-07-01 12:29:08 +00:00
wiz 761f6b4f67 Add 1.5K for pfil(9) -- we should probably reword that instead. 2003-07-01 10:30:22 +00:00
wiz d8cc6c605d The default section names are fine; remove overrides. 2003-07-01 09:59:50 +00:00
wiz 67d5c6a49b Remove generated files. 2003-07-01 08:26:33 +00:00
wiz 1d6bda4770 Generate eqn_tab.h and eqn.cpp. 2003-07-01 08:26:30 +00:00
mrg f7e28a013d fix a cutnpaste error in previous comment. 2003-07-01 08:20:37 +00:00
mrg ab3bb21eb4 note why YHEADER is not appropriate here. 2003-07-01 08:19:29 +00:00
mrg bc2e3e8318 pic/refer:
- set YFLAGS=-d
pic:
- remove pic_tab.h from SRCS.
2003-07-01 08:16:54 +00:00
mrg 68a081c5e1 delete these generated files 2003-07-01 08:15:28 +00:00
wiz 45404addfe Add @SHELL@ before mkinstalldirs call, in case mkinstalldirs does
not have the right permissions.
2003-06-30 19:18:21 +00:00
wiz 31624bb944 Re-add (for now). 2003-06-30 19:05:32 +00:00
wiz cfb68b0dce Add NetBSD RCS Id. 2003-06-30 18:47:40 +00:00
wiz 25ef1dbed7 Add man.local. 2003-06-30 18:41:24 +00:00
wiz bf7bd150bb Make groff-1.19 build on NetBSD. 2003-06-30 18:40:50 +00:00
wiz 97a4aa1713 Replace old build structure with FreBSD one (local changes in next commit). 2003-06-30 18:34:08 +00:00
wiz 606591d35c Import groff-1.19 build structure from FreeBSD. 2003-06-30 18:19:53 +00:00
wiz fa3255d80d Disable SGR output; patch from Werner Lemberg (wl at gnu org). 2003-06-30 18:10:23 +00:00
wiz 95ed1d3161 Add patch from groff's CVS repository removing two superfluous lines
before the NAME header.
2003-06-30 18:08:51 +00:00
wiz 68ac378cc2 Comment out locale call, since sh(1) doesn't redirect "program not found"
errors to stdout, even if asked nicely.
2003-06-30 18:07:38 +00:00
wiz 3064bb2cdf Remove versioned subdir from datasubdir to make tools/ building easier. 2003-06-30 18:05:20 +00:00
wiz afcefcd756 Updated import script. 2003-06-30 18:02:48 +00:00
wiz 10663b019b Update to 1.19. 2003-06-30 17:59:43 +00:00
wiz 5220bc5f6e Import groff-1.19. Changes since 1.16.1: too many to list here (> 1000 lines
in the abridged version). Please read the included NEWS file for details.
2003-06-30 17:51:41 +00:00
wiz 1a6d2307a3 These man pages are not from the Berkeley distribution -- remove ".UC". 2003-06-30 14:09:51 +00:00
wiz 34e25a94c7 Fix one option in option list. 2003-06-27 08:25:04 +00:00
drochner 12d153b126 fix LINK_SPEC to pass "-R" to the linker
(approved by tv)
2003-06-26 19:16:21 +00:00
drochner c712f01409 link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration
2003-06-26 17:50:32 +00:00
uwe b659db9760 When MKPIC is "no" and we force MKLINKLIB to "yes" to provide
something for BFD-using programs to link against, also provide an
empty libinstall target so that libbfd.a does not get installed.
2003-06-26 02:49:31 +00:00
itojun 9053ad0b31 make the defafult value of CVS_RSH to "ssh". 2003-06-20 03:28:56 +00:00
thorpej 1d99a54efe Bring in the following patch from FSF binutils mainline:
2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
	FPU_ARCH_FPA for AOUT.
	(md_begin): Don't try to guess the floating point architecture from
	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

...per Richard's suggestion.
2003-06-14 16:02:57 +00:00
atatat f554d2662a Pull sendmail 8.12.9 to the head, resolve the import conflict, and
make it build.  Now we have $NetBSD$ tags.
2003-06-01 14:06:40 +00:00
atatat 7af571cc1a sendmail 8.12.9 2003-06-01 14:01:14 +00:00
atatat d507fc11c2 Rewrite sendmail source conversion script to remove tags in a cleaner
way, and also to add $NetBSD$ tags where possible/practical/sensible.
2003-06-01 13:59:56 +00:00
thorpej 4563b128e1 * If MKGCC == no, don't build this library, which is bundled with the
compiler.
* Set GNUHOSTDIST (transitional, for use with new mknative).
* Add -I${.CURDIR} to CPPFLAGS (to support a future change).
2003-06-01 02:09:31 +00:00
thorpej a20987422e If MKGCC == no, don't build these libraries (which are bundled with
the compiler).
2003-06-01 02:08:07 +00:00
thorpej 21d9a5cb94 Change --redefine-syms-file to --redefine-syms for consistency with
e.g. --keep-symbols, and to match the patch which was submitted to FSF.
2003-06-01 02:01:09 +00:00
perry cd2741bcae Re-remove admin, port-arm32.
They were removed intentionally the first time.
2003-05-30 13:42:18 +00:00
fair 1f49a3d273 Add many missing categories. 2003-05-29 01:22:19 +00:00
thorpej 9ece9fecbc Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 02:18:01 +00:00
thorpej 0a1127cb30 Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 01:03:05 +00:00
kristerw 66cf1d6099 Handle comments in macros when the -C flag is specified to the
pre-processor.

This makes code of the form

   #define FOO(X) (BAR(X))
   #define BAR(X) (X)
   #define BAZ    23 /* comment, comment. */
   int foo(void) { return FOO(BAZ); }

be output as expected. (The old behaviour got confused by the ','
within the comment.)
2003-05-26 00:03:50 +00:00
thorpej a4d47e67c8 Back-port a patch from GCC mainline:
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
	return values from recog_memoized().
2003-05-23 00:20:21 +00:00
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun 0ba5684be4 possible scanf overrun 2003-05-17 15:05:19 +00:00
wiz a85b205894 Remove port-arm32. 2003-05-10 09:11:10 +00:00
salo b8f5bcd816 Sync ports with reality. 2003-05-10 00:06:09 +00:00
petrov 55e9455400 elf_fake_sections: fix cast sh_name. 2003-05-09 22:15:17 +00:00
thorpej b24126f5e6 Include <string.h>. From Ian Lance Taylor. 2003-05-06 02:31:06 +00:00
wiz c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
matt 0aa3fc4996 Make sure to supply the PS_REGNUM (as a fixed value) so that
read_register_bytes doesn't complain.
2003-04-25 20:13:47 +00:00
david 02a77f951b Missing ':', noted by Thomas T. Thai 2003-04-22 16:17:39 +00:00
christos 18262fc53f PR/2970: D'Arcy J.M. Cain: Eliminate trailing slashes in mkdir(2) 2003-04-19 21:46:17 +00:00
wiz a491d673dd Fix some xrefs. 2003-04-16 10:11:55 +00:00
wiz 4fad16dc12 services(5), not (4). 2003-04-16 09:29:38 +00:00
jdolecek 32fe26329b fix a minor formatting bug - use "@var{fmt}, @var{expr-list}",
not "@var{fmt, expr-list}"

probably only matters when the output is something else than info
file
2003-04-15 19:41:16 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
skrll 707c1872d8 Add netbsdaout.c to BFD32_BACKENDS_CFILES and netbsdaout.lo to
BFD32_BACKENDS so that the correct dependencies are registered.

Parallel builds now work as a result. Fixes PR 20602 and PR 21081.

I'll leave the bigger question of if this stuff is still needed and why it
hasn't been fed back to the binutils people to someone more qualified than
myself.
2003-04-11 09:02:25 +00:00
thorpej 9c04149fde If ${MKPIC} is not "no", then depend on the _pic versions of libbfd
and libopcodes.  Otherwise, depend on the regular library.
2003-04-09 22:38:24 +00:00
thorpej a63a02e3b9 If MKPIC is "no", then we need to provide *something* for BFD-using
programs to link against, so reset MKLINKLIB to "yes" in that case.
2003-04-09 22:33:26 +00:00
wiz 07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
wiz b511884ea9 Correct some SPARC tradenames. From Igor Sobrado in PR 19820. 2003-04-06 20:48:24 +00:00
thorpej 95a4fbc55c Only do the nbcompat dance is USETOOLS == yes.
Should fix PR bin/20997.
2003-04-04 00:25:07 +00:00
christos 36b76d04a0 there is no need for the afterinstall stuff. 2003-04-03 19:13:31 +00:00
christos ffb515e2dc Don't use suffix rules while building, because the installed sources get
added to ${.ALLSRCS} confusing things.
2003-04-03 19:13:17 +00:00
perry 946b7ec114 add a missing backslash.
patch supplied in PR toolchain/20062 from Jed Davis
2003-04-02 02:50:07 +00:00
atatat 1e7fee3c2f Include ../m4/cf.m4 here as well, since all the other mc files do so. 2003-04-01 03:19:19 +00:00
atatat 7bc42aaab1 Put the DIST and .PATH settings back where they were and separate out
the actual mc -> cf build machinery into a small Makefile that we can
(a) include and (b) install instead of the main Makefile (that really
shouldn't be installed in as it is).

Reviewed by lukem.
2003-04-01 03:16:53 +00:00
atatat 7da213dc5f Only set DIST and .PATH if we are actually in the source tree. This
solves the problem of trying to do a "make submit.cf" in the
/usr/share/sendmail/cf directory where make gets confused by the out
of date target in the .PATH, removes it (bad!) and then fails to make
a new submit.cf file.
2003-03-31 20:57:30 +00:00
perry 570bad51bb bessel->Bessel (Igor Sobrado, PR misc/19700) 2003-03-31 02:43:38 +00:00
wiz d124f274cf VAX, not Vax. 2003-03-30 20:56:46 +00:00
wiz d965c0314d VAX, not Vax. Igor Sobrado in PR 19678. 2003-03-30 20:55:47 +00:00
atatat d17d46630e Apply new patch from sendmail.org to address the new buffer overflow
in address parsing.  This takes us to 8.12.8p1.
2003-03-29 21:55:28 +00:00
cjep 64b9a0f283 penalty, not penality. 2003-03-29 14:33:49 +00:00
lukem f6668849f5 regenerate for AM_MAINTAINER_MODE, using "autoreconf -f" ... 2003-03-27 06:24:55 +00:00
lukem 0a0d66e6cd add AM_MAINTAINER_MODE 2003-03-27 06:16:02 +00:00
tron b95a7206b1 Use "DOMAIN(NetBSD.org)" before "MAILER()" statements to activate features
before defining mailers.
2003-03-25 12:01:32 +00:00
tron 0676b7cc12 "confAUTO_REBUILD" is no longer valid, so don't try to define it. 2003-03-25 11:57:26 +00:00
tron a6df592f3f Install "submit.mc". 2003-03-25 11:51:29 +00:00
atatat 2b9ca9cfbe Fix the $NetBSD$ tag. 2003-03-25 03:55:38 +00:00
atatat 28da15dac4 Mail submission program config file template. 2003-03-24 15:15:13 +00:00
atatat 5cb7f51bd6 Missed conflict from 8.12.8 import. 2003-03-24 15:14:43 +00:00
atatat da8968cc48 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:59 +00:00
atatat f580f7ff12 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:37 +00:00
atatat 29b190bd81 sendmail 8.12.8 2003-03-24 14:47:07 +00:00
mycroft 2add147359 Actually rerun mknative on these... 2003-03-20 14:47:36 +00:00
mycroft f63d692921 Build COFF targets. Some embedded tools really, really want this. 2003-03-17 15:53:50 +00:00
martin c43762a960 Don't access memory before the start of a file. 2003-03-16 17:44:15 +00:00
wiz da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00
wiz 628f423c52 IPv4, not IPV4. From Igor Sobrado in PR 20718. 2003-03-15 19:27:17 +00:00
wiz 839680dfba Correct spelling of "overridden". From PR 20718 by Igor Sobrado. 2003-03-15 19:22:16 +00:00
thorpej c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00
hannken 1ef5d39c1a Add -mstrict-align to the CC1 default options.
At least the 403 ports cannot handle unaligned access.

Discussed with Jason Thorpe and Matt Thomas.
2003-03-15 16:09:34 +00:00
christos 8b16d6d256 PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation 2003-03-15 04:51:13 +00:00
thorpej d9cf1a068e Second half of fix for PR toolchain/19265.
2003-03-14  Jason Thorpe  <thorpej@wasabisystems.com>

	* c-decl.c (flag_hosted): Move from here...
	* toplev.c: ...to here.
	* c-tree.h (flag_hosted): Move extern declaration from here...
	* flags.h: ...to here.
	* config/alpha/alpha.c (alpha_initialize_trampoline): Only
	emit a call to __enable_execute_stack if flag_hosted is true.
	* config/i386/i386.c (x86_initialize_trampoline): Likewise.
	* config/sparc/sparc.c (sparc_initialize_trampoline)
	(sparc64_initialize_trampoline): Likewise.

An updated version of this will be submitted to gcc.gnu.org.
2003-03-14 23:48:00 +00:00
thorpej feff2fbbe6 Add support for the %j format length modifier (intmax_t). We have to
add intmax_type_node and uintmax_type_node globals to support this.
2003-03-14 21:24:44 +00:00
hannken 4a0f3bd75c Pass -m403 to gas.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2003-03-14 20:41:38 +00:00
thorpej 563e78c49c Support a Mac OS X host. 2003-03-14 19:34:26 +00:00
thorpej 61f1ee2222 Link back-end helper host tools against libnbcompat. 2003-03-14 03:44:11 +00:00
thorpej c24b9b414e Support Mac OS X host. 2003-03-13 02:17:58 +00:00
thorpej 104c77b807 The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00
thorpej ea5ffc0fa7 Don't do _INTL_REDIRECT_ASM if __APPLE__. 2003-03-12 22:46:25 +00:00
thorpej 834dd24299 Fix a couple of merge errors. 2003-03-12 03:46:11 +00:00
thorpej 9e72adcc79 Grok "z" (size_t) and "t" (ptrdiff_t) format length modifiers. 2003-03-11 21:39:34 +00:00
perry 83fbadc93f resolve conflicts 2003-03-08 19:43:56 +00:00
perry b5fe7b6a73 update for postfix 2.0.6 2003-03-08 19:12:16 +00:00
perry 59d07125ee import postfix 2.0.6 2003-03-08 19:05:29 +00:00
thorpej 53c077e6a5 Pull in a patch from GCC 3.3 that's been in my local tree for a long time:
(*mulsi3_compare0, *mulsi_compare0_scratch, *mulsi3addsi_compare0,
*mulsi3addsi_compare0_scratch): Predicate on !arm_is_xscale.

(mulhisi3, *mulhisi3addsi, *mulhidi3adddi): New patterns, predicated
on arm_is_xscale.
2003-03-06 20:58:20 +00:00
christos bcb98aa28e handle repositories that contain symlinks in their path. 2003-03-06 16:14:34 +00:00
matt bd8300b07a Update ELF_MAXPAGESIZE to 64K to match elf32vax.sc. This to facilitate
page table page sharing.
2003-03-06 07:36:30 +00:00
thorpej 40543d7e0e Go back to using bfd_{get,put}_32() for now. 2003-03-06 00:31:41 +00:00
thorpej fab643fb6f Update dbsym(8) to work with the new BFD. From Tom Spindler, tweaked
slightly by me.
2003-03-06 00:26:10 +00:00
wiz d201ab9752 Moved back to usr.sbin. 2003-03-05 22:09:46 +00:00
wiz 54ad96333d Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead
of gnu/usr.sbin, now that the license has been cleared.
2003-03-05 22:09:07 +00:00
thorpej d61bfb46b5 Make sure we output %progbits instead of @progbits. @ is a comment
character in ARM assembly.
2003-03-05 22:03:22 +00:00
thorpej 7c31b2a553 Fix a merge error which could result in the linker crashing
for static links.  Should fix toolchain/20589.
2003-03-05 21:34:27 +00:00
thorpej 925de95670 Remove the adjust-section-size-for-orphan code. That patch was rejected
by the FSF binutils maintainers, who instead suggested a different way
of addressing the problem.

(Besides, the size adjustment code was broken by the binutils update,
since about 1/2 of the changes got lost.)
2003-03-05 21:02:56 +00:00
thorpej 8844d7e3c0 In place_orphan, simplify the way we allow non-code read-only sections
to be merged with .text if no .rodata section is present.
2003-03-05 20:27:33 +00:00
thorpej a69c74895f Fix a merge error. 2003-03-05 16:55:48 +00:00
skrll 3d4925b3cd Update binutils version and correct gnusrc/ 2003-03-05 08:42:49 +00:00
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
matt df4902d922 NetBSD doesn't support PS_REGNUM or anything >= MQ_REGNUM. 2003-03-04 21:12:32 +00:00
dogcow dd911e8f5d Reworked the bfd accesses to use the documented interfaces.
Also, use the file offsets for direct reading/writing, rather
than going through poorly-documented bfd internal magic.
2003-03-04 12:16:41 +00:00
dogcow 12931a397c change bfd_close -> bfd_close_all_done, as to discard any changes libbfd
thinks may have been made to the object file during symbol groveling.
2003-03-04 08:32:58 +00:00
atatat 382b4984f3 Apply patch from sendmail.org to handle a new header overflow bug. 2003-03-03 21:20:50 +00:00
tsutsui f2ff066472 print_insn_shl() in gnu/dist/toolchain/opcodes/sh-dis.c has been merged
into print_insn_sh(), and print_insn_sh() now checks info->endian
so set it accordingly.

Based on diff from the Sourceware gdb cvsweb:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sh-tdep.c.diff?r1=1.59&r2=1.60&cvsroot=src
2003-03-03 16:58:17 +00:00
tsutsui bc724094e3 Put back some lines removed on 2.13.2.1 merge.
(NetBSD/sh3 actually needs ENTRY=_start)
2003-03-03 16:46:16 +00:00
mrg c8e7bd6d18 back out previous:
- didn't need to/mean to update libstdc++ yet

	- mknative generated bogus files that ended having libstc++ not install
	various required headers.

should fix the "can't find iostream.h" lossage in src/regress.
2003-03-03 13:58:24 +00:00
jdolecek d3e0e12a79 move gawk to separate line, so that it's easier to comment the entry out 2003-03-02 18:22:01 +00:00
lukem c2d985356e Consistently comment out rules which attempt to rebuild .info from .texinfo,
(and associated targets for .dvi et al), as well as man pages from .pod,
using a prefix of `#  '.

This prevents a variety of build issues caused by situations such as
cvs checkouts which result in the .texinfo file being slightly newer
than the .info file, and the build process trying to unnecessarily
regenerate them, which will fail in a variety of circumstances
(build tools not available, read-only source, etc ...)

Once a better solution is found, we can switch to it.
For now, this improves things greatly and should reduce a lot of
support requests that would undoubtably appear otherwise...
2003-03-02 13:11:04 +00:00
mrg 2920dd6064 oops; re-enable the asconfig.texi rule. 2003-03-02 08:16:09 +00:00
mrg 5de74f4030 add the prototype for lbasename here where it belongs. 2003-03-01 15:31:34 +00:00
mrg 1fdd6e4cde build libopcodes separately from libbfd as in binutils 2.13 they have
separate CFLAGS name spaces, and the old combined method no longer works.
2003-03-01 13:18:28 +00:00
mrg 1c50b08c03 disable rules that try to rebuild files in the source tree (only affects
MKMAINTAINER=yes builds.)
2003-03-01 13:14:17 +00:00
mrg 331f9d9c1a update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:11 +00:00
mrg 866f7891df update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:09 +00:00
mrg f2f9754b55 update / regenerate for binutils 2.13.2.1 2003-03-01 13:08:42 +00:00
mrg bc8fc1085d merge binutils 2.13.2.1 2003-03-01 12:25:55 +00:00
mrg f84a38cd2d binutils 2.13.2.1 import 2003-03-01 11:28:30 +00:00
mrg ee06049914 import of (most of) binutils 2.13.2.1. no top level, and cut down include/
libiberty.  (gcc update later can update libiberty properly.)
2003-03-01 10:06:40 +00:00
thorpej 5bfc4a9390 Define _REENTRANT as well as _PTHREADS if -pthread is specified on the
command line.
2003-02-28 17:30:12 +00:00
matt 0f7a451b3f Chnage data offset so that is aligned to the next 64KB boundary after text. 2003-02-27 09:38:20 +00:00
nathanw da54f07b88 Print thread name, if any. 2003-02-27 00:55:43 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jmc db7162553c Make sure a few instances of mkinstalldirs is run via $SHELL so it's not
counting on exec permissions from the checked out source
2003-02-22 10:06:52 +00:00
nathanw 99922845b9 Include both application threads and "raw" LWPs in GDB's list of
threads. This is useful for a variety of things, including examing the
internal state of the thread library when things are going wrong
there.

Currently only works on core files; both ptrace and gdb will need a
bit more work before this will be useful on live processes.

Inspired by the similar behavior of the Solaris thread module.
2003-02-17 20:32:04 +00:00
martin 28067ee7b9 Fix an unitialized variable (from binutils 2.13).
Fixes PR toolchain/20377.
2003-02-17 09:33:03 +00:00
rearnsha 66b1593cdb * arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.* arm.c (arm_reload_in_hi): Ensure that the scratch register does
not overlap our final result register.

Fixes problem that causes Metafont in teTeX to crash.
2003-02-15 10:07:16 +00:00
lukem dc45690a3d Terminate (with extreme prejudice) any rules which detect if files
such as Makefile.in are ``out of date'' and ``helpfully'' attempt to
update them with autoconf, autoheader, or automake.
Fixes some toolchain PRs, and my sanity.
2003-02-15 02:25:56 +00:00
wiz cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
wiz e759cc834f Update for 4.5. 2003-02-13 09:01:13 +00:00
wiz 38b57061a5 Merge 4.5. 2003-02-13 08:57:26 +00:00
wiz 6285cf0f68 Import of texinfo-4.5.
Major changes since 4.3:
* Language:
  . The ' (ASCII apostrophe/right quote) character is finally allowed in
    node and anchor names.  Thus, after installing this texinfo.tex,
    existing .aux files will cause errors!  Remove them and rerun TeX to
    generate good ones.
  . @value constructs are now expanded in the filename arguments to
    @include and @verbatiminclude.
* texinfo.tex:
  . @smallexample and the like now output in a smaller font (9pt) in all
    paper formats, not just @smallbook and @afourpaper.
  . new translation txi-tr.tex.
* info:
  . CTRL-H is treated like DEL in incremental search.
  . arrow keys once again work in isearch contexts under Solaris.
* infokey:
  . use .info key bindings before defaults.
  . allow prefix keys to be disabled.
Bug fixes all around.
2003-02-13 08:50:20 +00:00
wiz fd87da38ec Removed by grep2netbsd script (do we want them in regress?). 2003-02-13 08:04:16 +00:00
wiz 5ae0afcbb2 Make diff to 2.5.1 smaller. 2003-02-13 08:01:46 +00:00
wiz 657e871433 Update for grep-2.5.1. 2003-02-13 07:55:08 +00:00
wiz 7f2c625432 regen 2003-02-13 07:49:08 +00:00
wiz 8e9c96bbc4 Merge changes from 2.5.1 import. 2003-02-13 07:48:11 +00:00
wiz 930075e3a9 Import of grep-2.5.1 (bugfix release). 2003-02-13 07:43:07 +00:00
tsutsui c10cb12be7 Pull up changes from binutils master sources
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src>
to fix relocation problem on linking startup routines for sh3:

src/bfd/elf32-sh.c revision 1.36:
> * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
> partial_inplace, matching assembler output.  Set src_mask to
> all ones.
> (sh_elf_relocate_section): Delete misplaced comment.
> For relocatable linking against section symbol, call
> _bfd_relocate_contents for partial_inplace relocs and adjust
> rel->r_addend for others.
> <case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
> bfd_get_32, not at rel->r_addend.

src/gas/config/tc-sh.c revision 1.43:
> * config/tc-sh.c (md_pcrel_from_section): Transformed from
> md_pcrel_from.  Handle pc-relativeness against link-time
> symbol.  Handle relativeness to elsewhere than the fixup.

src/gas/config/tc-sh.h revision 1.14:
> * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
> (md_pcrel_from_section): Prototype.

Thanks to Kaz Kojima and Jason R Thorpe for their comments.
2003-02-08 17:09:35 +00:00
lukem cde74ef45d Remove dependencies on .y files as well.
Per request from Jason "Mr. Toolchain" Thorpe.
2003-02-08 08:43:02 +00:00
lukem 0de4f7b5d2 Remove dependency of $(srcdir)/c-gperf.h on c-parse.gperf, because we
don't have gperf in the base system, and differences in timestamps in
these files due to a cvs checkout can cause lossage.
2003-02-07 04:14:27 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
martin 855375b3f6 Don't try to look back in the instruction stream beyound it's start
if an object file starts with a branch/call/jump instruction creating
a branch delay slot at offset < 8.
2003-02-02 01:15:42 +00:00
simonb 0fd8c49338 Add a --redefine-syms-file option from Chris Demetriou's proposed patch
in http://sources.redhat.com/ml/binutils/2002-09/msg00505.html.
2003-01-29 10:26:22 +00:00
thorpej e5cd4ce42c Bump version to nb4 to reflect the -pthread option. (Thanks for the
reminder, Klaus..)
2003-01-28 18:36:04 +00:00
jdolecek ceb43cbb02 do not install libioP.h nor iostreamP.h 2003-01-28 14:40:59 +00:00
jdolecek a725c77213 do NOT force definition of _POSIX_SOURCE, at least not on NetBSD,
especially when you follow using non-POSIX vfork()

defining _POSIX_SOURCE means "POSIX clean environment", which means
(besides other things) that we won't get proper definition of e.g.
vfork() and end up with the compatibility stub
2003-01-28 14:37:21 +00:00
mrg fe5e3928eb include <stdlib.h> for alloca() prototype. 2003-01-28 01:43:34 +00:00
wiz 024a7d26ca Build and install gzip.info. 2003-01-27 09:07:13 +00:00
wiz 42ca888796 Add gzip.texi and gpl.texinfo from gzip-1.2.4a [needed for building
gzip.info].
2003-01-27 09:06:55 +00:00
wiz bbaec56433 Sync with gzip-1.2.4a (typo fixes and email address changes). 2003-01-27 00:44:14 +00:00
wiz 64afb4c530 Add grep2netbsd pre-import conversion script. 2003-01-27 00:11:18 +00:00
wiz d89d70fc8b Get patches from pkgsrc to make it build. 2003-01-26 23:55:52 +00:00
wiz 2a76369fee Build structure update for grep-2.5. 2003-01-26 23:53:44 +00:00
wiz 22e6e71f2f Add pre-generated .gmo files. 2003-01-26 23:50:50 +00:00
wiz 91d3eacedf Re-add some files lost through .cvsignore files during grep-2-5 import. 2003-01-26 23:41:38 +00:00
wiz 4939cd34f0 Remove traces of old -o. 2003-01-26 23:38:50 +00:00
wiz cb30a4458a Remove some unneeded files. 2003-01-26 23:32:21 +00:00
wiz 7b437baca2 Merge with 2-5-0. 2003-01-26 23:30:44 +00:00
wiz aa93e07d05 Reimport grep-2.5 with tag grep-2-5-0 with .cvsignore files removed
beforehand (grrrr, no need for them in a tarball...).
2003-01-26 23:27:23 +00:00
wiz 6d37ad7d79 Merge with grep-2.5, part one. 2003-01-26 23:21:46 +00:00
wiz 49af49c40e Import grep-2.5.
Warning: -o is now a valid GNU grep option (--only-matching (-o)), so we
will not be supporting the 4.4BSD -o any longer -- use -H instead.
2003-01-26 23:15:08 +00:00
elric f344b59521 Point to an existing dist dir. 2003-01-26 06:51:04 +00:00
wiz 337a8f0a56 Re-add. 2003-01-26 01:53:40 +00:00
wiz 68e059531a Remove old diffutils-2.7 build structure. 2003-01-26 00:53:28 +00:00
wiz c7edc51686 Add diffutils2netbsd pre-import script. 2003-01-26 00:50:50 +00:00
wiz 6b9deacc5d Descend into diffutils instead of diff, diff3, and sdiff (for new
diffutils-2.8.1 build structure).
2003-01-26 00:49:51 +00:00
wiz d38d5e887e Merge diffutils-2.8.1. 2003-01-26 00:47:42 +00:00
wiz b8ffffc7d9 Import of diffutils-2.8.1 (converted with to-be-committed
diffutils2netbsd script).
2003-01-26 00:43:02 +00:00
wiz 488efef5d4 Import build structure for diffutils-2.8.1. Reviewed by christos. 2003-01-26 00:40:40 +00:00
tsutsui 2d9f30d305 Since sh--netbsdelf doesn't have leading underscore,
don't define __USER_LABEL_PREFIX__ as "_" in cpp.
Ok'ed by thorpej.
2003-01-25 17:35:53 +00:00
thorpej fbea162b87 * Use gthr-posix.h if --enable-threads.
* If -pthread is specified, add -lpthread and -D_PTHREADS.

More thread support to come; this is just a start (sigh, it's
handled so much nicer in 3.3...).
2003-01-24 22:40:02 +00:00
wiz c46e8627bc Sync a bit more with default output -- these do not need to be defined (no change in build):
HAVE_LOGIN, HAVE_LOGOUT (will only add #defines if cvs's login/logout conflict)
HAVE_SELECT, HAVE_USLEEP (only used if nanosleep() is not found).
2003-01-23 21:06:50 +00:00
wiz b9537c9578 Update strings for 1.11.5, noted by rafal. 2003-01-23 20:41:01 +00:00
is cc76c3867a Use a neutral error message - the details have been printed already, and
the older message is plain wrong under some circumstances. See PR 5398,
which is fixed.
2003-01-21 22:47:20 +00:00
wiz 786c896ca5 Merge 1.11.5. 2003-01-21 09:43:36 +00:00
wiz 3cf515684c Initial import of cvs-1.11.5 (security fix was already in-tree). 2003-01-21 09:36:52 +00:00
thorpej c50dc4c8fc Add port-sh5, port-evbsh5, port-x86_64, port-hppa, and port-hp700. 2003-01-20 17:48:59 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
martin 8124b6df6c Link and initialize thread support for alpha and arm. 2003-01-19 18:50:21 +00:00
martin 01313c857c Thread support for sparc and sparc64. 2003-01-19 18:33:25 +00:00
martin d05cc42d06 Thread support for sparc and sparc64, not yet complete. 2003-01-19 18:32:39 +00:00
lukem 8c51a2ac71 When creating a "stamp" file with cp(1), explicitly provide the target
file name rather than relying upon "$@", since the latter might be the
path to an older version of the "stamp" file located in (possibly read-only)
source.
Fixes an annoying-to-debug build problem I hit in tools/texinfo...
2003-01-19 04:57:20 +00:00
christos 18d9e78838 merge nathanw_sa 2003-01-18 21:59:41 +00:00
christos 83ddcbcf97 merge nathanw_sa 2003-01-18 21:42:07 +00:00
christos fe59493187 merge nathanw_sa 2003-01-18 21:36:47 +00:00
thorpej 456af78ad8 Merge the nathanw_sa branch. 2003-01-18 21:13:03 +00:00
grant 82c28ff066 fix some Unix -> UNIX, Posix -> POSIX and some typos.
From Igor Sobrado in PR pkg/19666.
2003-01-18 18:54:10 +00:00
wiz db3fba8dd0 Remove GNU cpio and GNU tar, replaced by pax frontends. 2003-01-18 01:11:23 +00:00
wiz c73b0887c0 Add ${IDIST}/makeinfo to .PATH for texinfo.dtd and texinfo.xsl. 2003-01-17 21:52:10 +00:00
wiz a3d77729f3 Add infokey utility; install more locales and texinfo.dtd and texinfo.xsl. 2003-01-17 16:04:15 +00:00
wiz 3b8d5a75ff Add texinfo2netbsd script for import preparation. 2003-01-17 15:41:05 +00:00
wiz 15a719d303 Preliminary update for 4.3.
Define IDIST and use it instead of ${DIST}/texinfo.
2003-01-17 15:32:23 +00:00
wiz f4370a0607 Handle conflicts after 4.3 import. 2003-01-17 15:25:44 +00:00
wiz 546d89be5d Import of texinfo-4.3. 2003-01-17 14:54:14 +00:00
christos 4fc750a8e7 PR/19762: Urban Boquist: Make gssapi work again. 2003-01-16 13:42:49 +00:00
wiz 97cbe2b2be Not needed (will be automatically generated from getdate.y). 2003-01-16 12:22:33 +00:00
wiz 7db7049e69 More diff reduction vs 1.11.4 (actually a merge error...). 2003-01-16 03:15:55 +00:00
wiz 250491c9af More syncing with cvs-1.11.4. 2003-01-16 03:06:43 +00:00
wiz 730bdec1d2 Remove Dollar signs around another Id tag. 2003-01-16 03:00:37 +00:00
wiz 1da4d8f87c Minimize diffs with 1.11.4. 2003-01-16 02:57:47 +00:00
wiz 75b23fb832 Unused. 2003-01-16 02:51:20 +00:00
wiz f099694510 Replaced by cvsbug.in. 2003-01-16 02:50:12 +00:00
wiz 1ae8b014e0 Unneeded. 2003-01-16 02:49:27 +00:00
wiz a1c160fcab Replaced by cvs.spec.in for some time now. 2003-01-16 02:45:57 +00:00
wiz bc095c7c0b Renamed to *.in for some time now. 2003-01-16 02:45:06 +00:00
wiz 680c69437a Changes to build 1.11.4. 2003-01-16 02:37:00 +00:00
wiz f4d12e1051 Fix import instructions -- gnusrc is gone. 2003-01-16 02:35:17 +00:00
wiz 6aa895a2be Fix conflicts, merge to 1.11.4. 2003-01-16 02:33:08 +00:00
wiz 0cd0661e77 Import cvs-1.11.4. 2003-01-16 02:15:31 +00:00
matt 6fdfb50787 sim depends on bfd so make it is in front of bfd in the library list. 2003-01-13 07:09:53 +00:00
christos 264aa571b8 Fixes from Stefan Esser
- Avoid double free in dir_name
- Disable checkin-prog and update-prog
2003-01-13 00:09:17 +00:00
mrg b83a08e1ff allow NO_SENDMAIL to equal "no" 2003-01-09 16:57:45 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 5e442fbbdd specified, not specifed. 2003-01-06 12:38:47 +00:00
pooka 732f4c9fa5 Add ${MACROS} to ${ROFF} usage to make output readable
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
wiz 7157d2da1c ouput -> output, from Igor Sobrado in PR 19667. 2003-01-04 11:05:22 +00:00
wiz 06eb662ff9 Repetition, not repitition. 2003-01-03 12:11:49 +00:00
jschauma 82f3464942 Fix typos pointed out by Igor Sobrado in PR misc/19645 (some of these
have already been fixed by others):

groff(7)        - repition (repetition), 2-characer (2-character),
		lenght (length), ident (indent)
groff_man(7)    - supressed (suppressed)
groff_markup(7) - SYNPOSIS (SYNOPSIS) (is it the "SYNOPSIS" section?)
groff_mm(7)     - wich, defualt (default), centerered (centered),
		behavies (behaves), argmuent (argument),
		with a automatically (with an automatically),
		Varable (Variable???), captial (capital),
		argumenent (argument), specifed (specified),
		excibits (is that word ok?), digitsized (digit-sized?),
		lable (label)
troff(1)        - environents (environments)
grohtml(1)      - supress (suppress)
groff_font(5)   - intepreted (interpreted)
groff_tmac(5)   - constitue (constitute???)

(Changes also sent to gnu.org)
2003-01-03 04:02:06 +00:00
tron 55ccbca240 Fix an incorrect assert() which was triggered when the RCS buffer was
empty at the entry to rcsbuf_getkey().
2003-01-02 15:19:49 +00:00
jschauma 432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
tsutsui 3191c1ad08 Mention -b and -v flags which were added when dbsym(8) was BFD'fied. 2002-12-28 21:47:02 +00:00
wiz cf6ded352c Let the commit message contain an empty line by default.
[Not in 1.11.2; was in 1.11 and earlier.]
2002-12-25 23:29:19 +00:00
lukem ab7ffcee5e remove ${DESTDIR} from symlink target 2002-12-25 07:45:35 +00:00
perry cc42061ca2 add rcsids 2002-12-24 21:37:43 +00:00
perry d12135aa79 resort, add html, clean up 2002-12-24 21:21:03 +00:00
perry df21694424 some of these are links 2002-12-24 21:20:09 +00:00
perry e48601bf9e add RELEASE_NOTES 2002-12-24 21:07:49 +00:00
perry 4e499dab3c update. 2002-12-24 20:56:12 +00:00
perry cad21f274d resolve conflicts 2002-12-24 20:38:22 +00:00
perry 7857417570 resolve conflicts 2002-12-24 20:26:59 +00:00
perry 18338a662b update for postfix 2.0.0.1 2002-12-24 19:47:47 +00:00
perry 56fd167ac6 Add Makefile for the postfix html docs 2002-12-24 19:45:36 +00:00
perry b721296743 import postfix 2.0.0.1 2002-12-24 19:39:42 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
wiz c8afb6fe49 therefore, not therfore. From Adrian Mrva. 2002-12-21 13:12:33 +00:00
wiz e9bf1ab238 compatibility, not compatability. From Adrian Mrva. 2002-12-21 13:10:54 +00:00
wiz d4bb2d1451 specifying, not specifing. From Adrian Mrva. 2002-12-21 13:08:41 +00:00
wiz 574adf7715 environment, not environent. From Adrian Mrva. 2002-12-21 13:07:48 +00:00
wiz 1c682d9b0f administrator with two is, from Adrian Mrva. 2002-12-21 12:23:33 +00:00
kristerw 980f45b693 Place EH labels on the permanent obstack. Fixes PR 18314.
Background:
Originally, the EH labels were placed on the permanent obstack, which
could end up using a lot of memory (for heavy inlining) since inlined
labels also needed to be permanent as a result of this.

This was changed in

   Wed Dec  9 09:12:40 1998  Andrew MacLeod  <amacleod@cygnus.com>

	* except.h (struct handler_info): Add handler_number field.
	* except.c (gen_exception_label): EH labels no longer need to be
	on the permanent obstack.
	(get_new_handler): Set the label number field.
	(output_exception_table_entry): Regenerate handler label reference
	from the label number field.
	(init_eh): Remove a blank line.
	* integrate.c (get_label_from_map): Labels no longer need to be
	on the permanent obstack.

by using the label numbers instead of the label structures in most cases.
The operative word here is "most" cases. Addresses to the EH RTX was still
used in (at least) flow.c, that now used freed memory. Oops.

For this to happen, the freed address of the RTX representing a EH label
must be reused for a new label that is located in dead code. delete_block()
will then see that this RTX is mentioned in the EH table, and (incorrectly)
remove the exception handler.

This might be seen when, for example, compiling
src/gnu/dist/groff/src/roff/troff/node.cc for m68k.
2002-12-16 19:33:50 +00:00
thorpej 807b74c49c Skip sys_errlist for __APPLE__. 2002-12-16 06:35:48 +00:00
tron 6c9c8b753c Fix toolchain build problem. 2002-12-13 15:37:10 +00:00
imp d1f4286bb5 FreeBSD needs the same special hacks for sys_errlist and sys_siglist during
cross building.
2002-12-10 17:39:52 +00:00
thorpej 8ddcb88aa5 Avoid conflict with reserved identifier "log". 2002-12-06 16:01:14 +00:00
scw f88b19a600 Avoid strict-alias warnings. 2002-12-06 09:57:58 +00:00
christos a5eb73d466 Better fix for the portability cast problem via Urban Boquist. 2002-11-28 22:04:46 +00:00
christos a65d983bd0 this is not used anymore. 2002-11-28 22:03:41 +00:00
christos 71a5c52102 we have mkstemp 2002-11-28 22:03:11 +00:00
itojun 8d1263a490 deal with systems with sizeof(void *) != sizeof(int) 2002-11-28 10:00:17 +00:00
itojun 935a2e30db fix pointer-to-int cast problem 2002-11-28 09:57:16 +00:00
christos c4b90ab8cd resolve conflicts. I have not tested ipv6 or gssapi. 2002-11-28 05:59:06 +00:00
christos 6040caeaed add annotate.c and remove rtag.c for 1.11.2 2002-11-28 05:57:55 +00:00
christos 56783dd727 import cvs-1.11.2 2002-11-28 04:53:41 +00:00
itojun 9b18994fd3 sync w/ 1.1.12. 2002-11-26 03:38:12 +00:00
itojun fd0368cb1f postfix 1.1.12 2002-11-26 03:29:46 +00:00
thorpej 3ff9eb92d3 Make it possible for the a.out BFD back-end to merge read-only
sections with .text if the following 3 conditions are true:

1. Section has file contents and is read-only.
2. The VMA of the section is after the end of .text and before
   the start of .data.
3. The image is demand-pageable (otherwise, a_text in the header
   will not reflect the gap between .text and .data).

Fixes PR 19164.
2002-11-25 23:15:15 +00:00
thorpej 9022b5f984 In ASM_SPEC:
* If -mhard-float is passed to the compiler, pass -mfpa10 to the assembler.
* If -msoft-float is passed to the compiler, pass -mfpu=softvfp to the
  assembler.
* If neither -mhard-float nor -msoft-float are passed to the compiler,
  pass -mfpu=softvfp to the assembler.

These changes properly mark objects as using soft-VFP, as is the default
code generation for NetBSD ARM ELF.
2002-11-21 17:57:35 +00:00
thorpej aedbc29a82 Various changes to support soft-vfp:
* FPU_MEMMULTI -- only include the FPU_FPA10 bit.
* FPU_ARCH_VFP -- define, meaning "uses VFP-format layout".
* FPU_FPA -- define short-hand for (FPU_CORE|FPU_FPA10).
* FPU_DEFAULT -- FPU_ALL -> FPU_FPA.
* Floating point instructions -- FPU_ALL -> FPU_FPA.
* Also set F_SOFT_FLOAT if FPU_ARCH_VFP.
* Set F_VFP_FLOAT if FPU_ARCH_VFP.
* md_atof: lay out bytes properly if using VFP.
* Accept -mfpu=softvfp.
* For -mall, set the FPU part of cpu_variant to FPU_FPA, instead of
  FPU_ALL.
2002-11-21 06:32:20 +00:00
thorpej fafe44f640 From bintuils-current:
In elf32_arm_merge_private_bfd_data(), if the input-bfd and output-bfd
do not have matching VFP indication, report an error.
2002-11-21 06:27:33 +00:00
thorpej efce487d2d Define the header bit indicating VFP-format floating point. 2002-11-21 06:25:57 +00:00
thorpej bdf3ddd15f Regenerate (unfortuantely, with a much later version of bison). 2002-11-20 06:57:01 +00:00
thorpej accdd8107f Fix a problem with placing orphaned sections (like the ones with
C-referenceable names, i.e. "link sets") that happens with explicit
LMAs in the linker script:

	* As orphans are sorted after sections, the effective
	  size of the section is changed.  Record a size ajustment
	  for each orphan that is sorted after the section.

...and for sections which have an explicit load address expression:

	* The first time an orphan is sorted after a section,
	  copy the load_base expression to the orphan, adding
	  the _unadjusted_ size of the parent section.  We need
	  to use the unadjusted size because by the time the
	  expression can be folded, all of the orphan size
	  adjustments will have accumulated, resulting in misplacing
	  the orphan.

	* For each subsequent orphan sorted after a section,
	  set the load_base of the orphan to the load address
	  of the previous orphan plus the size of the previous
	  orphan (actually, the unadjusted size, but for orphans,
	  size and unadjusted size are always equal).
2002-11-20 06:51:07 +00:00
thorpej ee325b474f Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec
function to include crti.o/crtn.o in the STARTFILE and ENDFILE
specs, respectively.

Corresponding GCC ChangeLog entry:

2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>

        * gcc.c (The Specs Language): Document spec functions.
        (static_spec_functions, lookup_spec_function)
        (eval_spec_function, handle_spec_function)
        (if_exists_spec_function, alloc_args): New.
        (execute): Abort if processing_spec_function is true.
        (do_spec_1): Hand off spec to handle_spec_function if %:
        is encountered.  If processing_spec_function is true,
        end any pending argument when the end of the string is reached.
        (main): Use alloc_args to allocate the initial argument vector.
        * gcc.h (struct spec_function): New.
        (lang_specific_spec_functions): New extern.

        * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
        (ENDFILE_SPEC): Add if-exists(crtn%O%s).
        * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
2002-11-19 04:46:12 +00:00
thorpej 260b39b0f5 Put const data in .rodata (cut-and-pasted from linux-elf.h). Pass -matpcs
to the assembler.
2002-11-17 06:03:07 +00:00
thorpej 6cdb340cbc Define __ABICALLS__ if -mno-abicalls is not specified. 2002-11-10 18:01:50 +00:00
thorpej 79a6015e7e Fix PIC handling logic in ASM_SPEC: always pass -KPIC to the assembler
unless one of the following flags are passed to the compiler:

	-mno-abicalls
	-fno-pic
	-fno-PIC

Based on the following change in gcc-current:

2002-09-22  Jason Thorpe  <thorpej@wasabisystems.com>

        * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
        unless -fno-pic or -fno-PIC is specified.

The -mno-abicalls handling is new to this patch, and will be checked
into gcc-current shortly.
2002-11-09 08:09:21 +00:00