Commit Graph

5080 Commits

Author SHA1 Message Date
mrg
bd52d17906 initial import of GCC 4.1 branch, from 2006-04-20. list of changes way
too large to list, but see:
	http://gcc.gnu.org/gcc-3.4/changes.html
	http://gcc.gnu.org/gcc-4.0/changes.html
	http://gcc.gnu.org/gcc-4.1/changes.html
for the details.
2006-04-20 10:19:17 +00:00
christos
2aa11212e6 Remove qmqpd again. perry will fix postfix set-permissions 2006-04-17 19:18:59 +00:00
christos
f24c5c7519 Add qmqpd 2006-04-17 16:15:40 +00:00
christos
2ab3510195 Add qmqpd. 2006-04-17 16:11:20 +00:00
skrll
c0d9bc63a5 Check that a .rodata section description has been provided before putting
orphan sections in it.

Closes PR/33129.
2006-04-17 07:05:17 +00:00
christos
2731b15f5e fix debug build 2006-04-09 02:52:20 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
rpaulo
e75b544db0 resolve conflicts 2006-04-06 23:07:16 +00:00
rpaulo
53d18fe356 Postfix 2.2.10. 2006-04-06 22:55:43 +00:00
christos
6bd51d8bb0 PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.
Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
2006-04-03 17:09:58 +00:00
tls
bc4c5be2bf Now we use tip-as-cu, not Taylor UUCP cu.
These programs are no longer setuid, and now lock devices with flock,
not file locks in /var/spool/.  They will no longer lock against UUCP
itself unless we modify UUCP to lock with flock, but this seems highly
unlikely to be an issue in the present day.
2006-04-03 02:21:13 +00:00
christos
5a33190720 fix coverity free model. 2006-04-02 00:01:13 +00:00
he
9be7b2d54a After the latest update to <sys/time.h>, struct timezone is no longer
defined if _NETBSD_SOURCE is not defined, so comment out the definition
of HAVE_STRUCT_TIMEZONE.  Fixes build problem for vax.

Even though this file says "auto-generated, do not edit", matt said
"OK" to manually tweaking it.
2006-04-01 20:02:56 +00:00
jmc
36787e1273 Import of gnu make 3.80 for use with gcc4 cross builds.
Downloaded from ftp://ftp.gnu.org/pub/gnu/make/make-3.80.tar.gz
2006-03-29 21:09:18 +00:00
christos
353e39bc1f Add coverity annotations. 2006-03-29 16:06:25 +00:00
christos
d94e5901c8 Coverity CID 2429: Don't check for NULL after deref. 2006-03-29 16:02:45 +00:00
christos
e4933cdc0d Coverity CID 2496: Uninitialized var. 2006-03-29 16:01:03 +00:00
christos
cb5d0e69e7 Coverity CID 1199: Unchecked open. 2006-03-29 15:55:57 +00:00
christos
391f06d4af Coverity CID 2785: Fix memory leak. 2006-03-29 15:53:20 +00:00
phil
e3482ab49e Test the name array sizes before using them. 2006-03-28 19:38:44 +00:00
christos
072667be1c Coverity CID 114: If we did not find any symbol table entries, return an
error.
2006-03-26 23:00:35 +00:00
christos
9a25d0519d Coverity CID 115: Don't leak memory 2006-03-26 22:58:44 +00:00
christos
d4aabd7a1f Coverity CID 1202: Always return on EOF, otherwise we would try to use
ctab[-1].
2006-03-26 22:50:48 +00:00
christos
2edd64ae3e Coverity CID 927: Check for NULL before de-referencing. 2006-03-26 22:35:07 +00:00
christos
ea28a203cf Coverity CID 2361: Avoid possible NULL deref. 2006-03-26 22:20:04 +00:00
christos
600a182b2f Coverity CID 2607: Although use after free is impossible here, clarify code. 2006-03-26 22:15:21 +00:00
itojun
294eae05ea enable all address families (= IPv4 and v6), since NetBSD is IPv6-ready
with the default install.
2006-03-26 01:43:19 +00:00
christos
3f97f7ca72 Apply patch 8.13.5.p0 from sendmail.org; Although we are running 8.13.4,
this applied with mimimal fixes.
2006-03-24 16:09:01 +00:00
christos
85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
christos
6ba3c05c69 Fix krb4 compilation before ejection. 2006-03-20 00:28:44 +00:00
christos
ae8f65bfac make krb4 compile before I nuke it. 2006-03-19 22:58:14 +00:00
uwe
ff265b0443 In binutils 2.16 new SuperH flags were introduced. Since we still use
old gdb, teach it new flags, so that it can recognize binaries compiled
with new binutils.  For new flags set arch to an approximate superset
that this version of bfd knows about.  This is good enough for gdb.

PR port-sh3/32972
2006-03-07 02:16:23 +00:00
martin
d0f2507f92 Sync with r1.5 of configure.in - somehow I seem to have managed to not
commit the equivalent change to this file last time:
"with_cpu" is a property of the target. - reset it for each config.gcc run.
2006-02-27 20:52:21 +00:00
rpaulo
7afb97ea59 resolve conflicts 2006-02-25 22:17:12 +00:00
rpaulo
b540f1d62f postfix 2.2.9 2006-02-25 22:04:07 +00:00
simonb
5cfbf7bf76 Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. 2006-02-25 12:04:23 +00:00
jschauma
929e2c5c2d add missing port-ibmnws category 2006-02-20 18:27:19 +00:00
jschauma
d252fffd54 add missing port-ia64 category 2006-02-20 18:15:16 +00:00
apb
1045a48c15 Merge the check_child_status function from diffutils-2.8.7.
The rest of the gnu/dist/diffutils tree remains at version 2.8.1.

Fixes PR 23162 from George Michaelson (etcupdate/sdiff report
error on applying merge edits)

Approved by wiz, christos
2006-02-18 22:42:12 +00:00
skrll
a105f8f3c9 Pull in my readelf fix from binutils-current for the new EF_SH* flags.
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
2006-02-17 13:14:25 +00:00
skrll
6003e126de Fix PR 32076 by using procfs to get details of the file when attaching
to a process.

Discussed (briefly) on tech-toolchain and OK'ed by thorpej.
2006-02-17 07:58:58 +00:00
he
91afe2706a Now that the libiberty config.h was made MD again, we need to instruct
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
dyoung
efce638a8b Do not build .ps files if MKMAN=no, because nbgroff is not available. 2006-02-14 23:37:39 +00:00
wiz
8252aaa6cd Correct option name. From Takuro KUBOTA in PR 32819. 2006-02-13 21:18:35 +00:00
tron
699ad05e6e Remove created file groff_mom(7) in "cleandir" target. 2006-02-12 18:11:54 +00:00
wiz
c11d7dc6e6 re-add elvis_syntax, lost in 1.2; spaces -> tab while here. 2006-02-12 01:18:05 +00:00
chs
f5e8cd1d2f add a dependency for parallel make. 2006-02-12 01:04:39 +00:00
christos
d881eb70dd Find penguin.ps with -I 2006-02-12 00:18:30 +00:00
christos
81cb1ea305 Simplify this:
- don't use suffix rules because they will confuse the ${.ALLSRC} target
  in the install later.
- no need to copy the .ps file locally.
2006-02-11 19:39:01 +00:00
wiz
4cee25b965 Quote .IP argument (IP only takes one). 2006-02-07 20:23:41 +00:00
skrll
fcf3319fe8 Pull in a change form binutils-current that removes the gap between text
and data on mips platforms which was dragged over from the Irix defaults.

OK'd by simonb@
2006-02-07 09:10:43 +00:00
wiz
fad10e9256 Disable rule to rebuild info file -- texinfo 4.7 is not up to it. 2006-02-06 23:47:36 +00:00
wiz
c0c89e9a5b Remove contrib/groffer:
it breaks the tools build during installation, and I have not understood
yet, why. Since it is not needed, we shall just disable it for now.
2006-02-06 18:37:24 +00:00
wiz
e873ee3cdc Correct comment. 2006-02-06 18:34:58 +00:00
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