Commit Graph

5176 Commits

Author SHA1 Message Date
wiz 3dbb52e8c6 Update for groff-1.19.2. With a little help from FreeBSD. 2006-02-06 18:29:47 +00:00
wiz 6a74fb5c3a Merge groff-1.19.2. 2006-02-06 18:25:47 +00:00
wiz 71531c59e1 Import groff 1.19.2 2006-02-06 18:10:27 +00:00
christos 56e5fb3faa add cvs2netbsd script 2006-02-04 20:16:28 +00:00
skrll d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00
christos bb26d73fba Bye bye cvs 2006-02-04 16:31:25 +00:00
christos 3f2ec09c9f bye bye old cvs. 2006-02-04 16:30:30 +00:00
christos 0a1a311825 descend to xcvs 2006-02-04 16:30:04 +00:00
christos 2cd25f5744 Add all our changes:
- our kerberos support
- nolock
- setuid support / setxid in child
- avoid dangerous commands and only allow admin group to execute them
- selectable CVS directory name
- symlinked repository fixes
- log admin commands in history
- default to ssh instead of rsh
- localid keyword
- null revision on re-added files
- umask fixes
- t flag in log
- don't recursively re-enter signal error handler
- xasprintf in selected places
- ipv6 support
2006-02-04 16:29:55 +00:00
christos 56ece2a214 Add build glue and new config file. 2006-02-04 16:22:53 +00:00
christos c43c5d6f66 Import CVS-1.11.21: See the NEWS files for changes from 1.11.20 2006-02-04 15:52:40 +00:00
martin 77e0dba33e We want "traditional" abi on mips.
From Nick Hudson.
2006-02-04 12:08:22 +00:00
christos c71e1a889d bump version. 2006-02-03 16:30:13 +00:00
christos 663f146299 bump version! 2006-02-03 16:29:34 +00:00
skrll f73b0f41ba ns32k binutils mknative output. Hi Simon! 2006-02-03 16:09:16 +00:00
skrll 5bb4d25b69 Fix merge botch. 2006-02-03 09:24:20 +00:00
skrll 21db48e0fd Pull across fix from binutils-current to allow netbsd sh5 to compile. 2006-02-02 22:43:14 +00:00
skrll ad3568f537 Another conflict I didn't properly resolve. 2006-02-02 22:42:50 +00:00
skrll 7d0a5c3025 Where did that space come from? 2006-02-02 22:39:34 +00:00
skrll 97bb67a75f Oops. Resolve conflict properly.
The standard binutils behaviour wrt to plt entries and relocs is handled
by our dynamic linker so let's do that. Solaris does it this way too.
2006-02-02 22:34:37 +00:00
skrll ef26780071 Make the libiberty stuff MI again. 2006-02-02 22:26:50 +00:00
skrll f8aa39bd9d Run mknative on the new binutils. 2006-02-02 22:22:14 +00:00
skrll 42d4edf85a Pull across the fix for gas/991.
All instructions are assembled correctly with this fix.
2006-02-02 22:19:18 +00:00
skrll 8d40ee0d82 Pull across the fix for ld/1021 and ld/1031.
This has been applied to the binutils_2_16 branch.
2006-02-02 22:14:43 +00:00
skrll 1a673ba65b Resolve conflicts. 2006-02-02 22:03:55 +00:00
skrll ce836c59d8 Resolve conflicts. 2006-02-02 22:03:53 +00:00
skrll 8d2c6a4e34 Import binutils 2.16.1. 2006-02-02 20:58:06 +00:00
skrll 27523fbf84 Import binutils 2.16.1. 2006-02-02 20:47:53 +00:00
skrll a4d3423d48 Import binutils 2.16.1. 2006-02-02 20:37:52 +00:00
wiz 7ddd0cc392 error() already adds a newline at the end, so do not provide one
in its format string.
2006-01-19 17:50:33 +00:00
apb cea5941d78 Two special files that both refer to the same device should be treated
as identical.

PR 30779
Approved by christos
2006-01-14 09:18:17 +00:00
tsutsui ff0f4feb77 Add platforms not yet in groff distribution. 2006-01-11 13:37:53 +00:00
rpaulo f52f811357 Merge postfix-2.2.8. 2006-01-05 02:25:20 +00:00
rpaulo a4f3d9cc74 postfix-2.2.8 2006-01-05 02:14:08 +00:00
rpaulo b55161a942 postfix-2.2.8 2006-01-05 02:10:01 +00:00
rpaulo fa62ffe038 postfix-2.2.8 2006-01-05 02:03:43 +00:00
rpaulo c3cf58ed3d postfix-2.2.8 2006-01-05 02:01:51 +00:00
rpaulo 1a9289c1de Delete the 'auxiliary' directory. 2006-01-05 01:51:54 +00:00
uwe 4224340c16 Handle the case when control transfer instruction jumps to its own
delay slot (e.g. PLT entries use such code).  We can not set the
breakpoint there, as trapa is illegal in the delay slot.  Set the
breakpoint to the next instruction instead.  We are guaranteed to
arrive there, as control transfers are illegal in the delay slot.
2006-01-02 17:35:55 +00:00
uwe 384a271baa 2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org>
Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
	for R_SH_REL32 in shared objects if the symbol is locally called.

Makes hidden and protected symbols in shared objects work.
This will be committed to the binutils mainline.
2005-12-31 16:23:59 +00:00
christos 1dbc939feb setuserenv -> setuserenviron 2005-12-20 22:54:44 +00:00
rpaulo c03852f5b9 Merge postfix-2.2.6. 2005-12-01 21:56:55 +00:00
rpaulo dcd561871d Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:46:55 +00:00
rpaulo bb277950a4 Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:36:22 +00:00
skrll 77d152992d Really resolve a conflict. 2005-11-29 15:31:41 +00:00
dbj 8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
martin eaaec6f3bf As Richard Earnshaw put it: "with_cpu is a property of the target."
Reset it to the default (command line dependend) before each turn
of "config.gcc", so each invocation gets a clean state and only the
changes from the last round persist.

This fixes the build of a sparc toolchain on a sparc64 host.
2005-11-18 08:57:04 +00:00
dsl b9a6294f9c When compiling with -Os put all strings into .rodata.str1.1 (ie byte aligned)
rather than putting those longer than 30 chars into .rodata.str1.32.
Apparantly gcc 3.4.4 has this change...
In spite of everything being compressed, this saves over 13k in the boot
floppies.
2005-11-05 18:29:53 +00:00
martin 35f890192b Oops, forgot this when switching v9 -> ultrasparc as default -mcpu 2005-10-29 20:40:45 +00:00
martin b09509e102 Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc. 2005-10-29 16:40:24 +00:00
jmc 16d1b947b8 Build ncdcs on everything. Allows better set sharing (and we don't exclude
other 'system specific' binaries from other builds ala sunlabel, etc)
2005-10-27 17:39:35 +00:00
rpaulo 53a26667ef Install /usr/share/doc/html/postfix/postfix-logo.jpg too since
HTML documentation needs it.

Discussed with Perry E. Metzger.
2005-10-10 15:34:30 +00:00
chs 34237b749e add a missing dependency (discovered by parallel build). 2005-10-02 17:52:22 +00:00
is 8750386a4d Allow for \H -> "address ..." substitution in PIPE ports. Useful
e.g. for generic UUCP over SSH or SSL... Idea and part of the patch
by Joerg Durchain, has apparently been integrated in Debian for a
while.
2005-09-07 12:38:16 +00:00
rpaulo 237b18c7d5 Revert back to previous version and wait for the next groff import.
Discussed with Thomas Klausner.
2005-09-05 11:42:40 +00:00
he e0b1e3f66d As discussed on source-changes, fix the library specification:
o Add ${LIBSSL} to the DPADD list, it was missing
 o Use -lcrypto and not ${LIBCRYPTO} in LDADD+=
 o Reorder libraries so -lssl comes before -lcrypto
 o Let the postfix libraries and the system libraries have their own
   LDADD+= and DPADD+= lines (this one wasn't discussed)
2005-09-04 22:11:20 +00:00
rpaulo 9dd9c0444a Add FreeBSD 4.11 and 5.4. 2005-09-01 18:39:08 +00:00
tron 251c50b7b1 Fix vulnerability reported in SA16553 using the Red Hat patch. 2005-08-25 10:00:01 +00:00
he 26122ef59f Add libcrypto for the benefit of sun2. 2005-08-21 23:00:12 +00:00
he 1ad3b58c59 We need libcrypto here as well for the benefit of sun2. 2005-08-21 22:56:05 +00:00
he 802a809508 LIBCRYPTO is also needed, fixes build on sun2 (static link only, so far). 2005-08-21 20:26:39 +00:00
rpaulo ff69469b26 Adapted to the new Postfix 2.2.5.
Reviewed by Perry E. Metzger.
2005-08-18 22:30:36 +00:00
rpaulo 5004b6fbea Added an OpenSSL version number check so that we pass the second argument to
d2i_SSL_SESSION() correctly.
From postfix-2.3-20050726.
Suggested by Wietse Venema in private email.
2005-08-18 22:29:08 +00:00
rpaulo 820935b3e1 Resolve conflicts. 2005-08-18 22:06:28 +00:00
rpaulo b4754a63ed Resolve conflicts. 2005-08-18 21:58:59 +00:00
rpaulo 3aaaf2cd89 Resolve conflicts. 2005-08-18 21:46:19 +00:00
rpaulo a5c1167790 Resolve conflicts. 2005-08-18 21:33:04 +00:00
rpaulo 259d7fd128 Import Postfix-2.2.5. 2005-08-18 21:07:25 +00:00
rpaulo f55b2b19ea Import Postfix-2.2.5. 2005-08-18 21:00:20 +00:00
rpaulo 802682af7a Improved wording and removed double whitespaces. 2005-08-18 12:25:56 +00:00
skrll 784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
nathanw 55bd561796 nbsd_thread_resume(): make sure that we've been passed a thread ID in
ptid before invoking the suspend-all-but-this-thread logic. Otherwise,
when passed an LWP (as a result of 1.15 making LWPs the primary
identifier of live execution contexts), we try to suspend everything,
which goes poorly.
2005-08-16 22:07:12 +00:00
christos 0834c5e84b We have strerror_r now. 2005-07-28 18:34:02 +00:00
he 92e13de495 Only define HAVE_STDBOOL_H if we are using __GNUC__ >= 3.
Fixes build problem for vax.
2005-07-17 09:22:03 +00:00
he 886478a4b7 In the workaround for vax, we need to also specify that stdbool.h is
to be created under the beforedepend target.
2005-07-05 21:52:13 +00:00
christos 70a3bc48dd Don't use ${INSTALL_FILE} to copy to obj dir. 2005-07-05 03:10:11 +00:00
peter a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
tron e1ec153e47 Backout the last two revisions. These changes should have been applied to
"src/gnu/usr.bin/groff/tmac/mdoc.local". Pointed out by wizd(8) in
private e-mail.
2005-06-02 15:44:20 +00:00
wiz e3214269d3 Add NetBSD-4.0. 2005-06-02 15:34:33 +00:00
tron 87269b5e72 Add NetBSD 4.0. 2005-06-02 15:26:43 +00:00
lukem 5760da6393 appease gcc -Wuninitialized 2005-06-01 15:12:18 +00:00
thorpej c3fe994ea5 Disable the man subdirs. We don't need them for tree builds, and they
can break the tools builds due to timestamp issues.  Discussed with Luke
Mewburn.
2005-05-30 01:32:44 +00:00
agc b67ff462a3 Now that rl_callback_handler_install's argument has been fixed to conform
to the readline interface, no need to cast it erroneously for libedit.
2005-05-27 15:34:16 +00:00
wiz bb72979179 <tab> -> whitespace, fixes script(7) STANDARDS section, noted broken by kleink. 2005-05-24 15:36:22 +00:00
skrll 3ac7f947bc Re-run mknative now that the environment has the right ld, nm and objdump.
I'm just committing the auto-host.h changes as I'm going to add this to a
pullup ticket. Maybe mknative should be run against the branches on the
build machine?

Fixes PR/30251
2005-05-20 07:40:09 +00:00
skrll 313049f061 Allow AS and OBJDUMP to override the detected assembler and objdump. 2005-05-20 07:08:07 +00:00
skrll 46884a1759 Re-run mknative after the fix to use the correct AS - sparc64 has
HAVE_AS_OFFSETABLE_LO10 defined now.

Don't commit the

	-#define _GLIBCPP_USE_WCHAR_T 1
	+/* #undef _GLIBCPP_USE_WCHAR_T */

changes as we still want wchar support, the configure script is over
senstive, and support for long double conversions will be added soon.
2005-05-16 11:16:18 +00:00
christos 25a293877a Don't be pedantic about requiring things to be ordinary files. Handle
character special devices specially so that eg. nm /dev/ksyms works.
2005-05-16 03:24:44 +00:00
thorpej a790d15184 Resolve some more conflicts. 2005-05-16 02:11:04 +00:00
christos b04c45a828 PR/30196: Adam Ciarcinski: gettext 0.14.4 does not compile with -Os optimisation 2005-05-12 00:44:12 +00:00
chs 2393bb4272 build grep/dfa.c with reduced optimization on hppa to avoid a gcc bug. 2005-05-11 13:10:21 +00:00
jmc 6b7d5d6ef0 Gettext assumes a C99 environment with stdbool.h or configure would provide one
from a template. As we do a reach over build, for vax builds provide stdbool.h
locally from that template.
2005-05-09 17:19:06 +00:00
jmc 550aa3b3d5 Need -I to the gettext src dir as well or it doesn't get all includes. 2005-05-06 21:02:21 +00:00
hira 18e601be03 Move the definition of CLEANFILES before the inclusion of bsd.prog.mk. 2005-05-02 11:00:55 +00:00
christos b290747a50 Fix the second place where the CHAR_MIN test was used. 2005-05-02 03:54:24 +00:00
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
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