Commit Graph

3700 Commits

Author SHA1 Message Date
tjr
01956b0d09 Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
(RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch.

Obtained from:	Fedora (Jakub Jelinek, Tim Waugh)
2005-05-14 04:17:07 +00:00
tjr
b191ef00d8 Fix dfa multibyte character class matching when -i is used (RH bug #123363).
Obtained from:	Fedora (Tim Waugh)
2005-05-14 03:18:20 +00:00
tjr
e4b49c8498 Remove mb-caching hack.
Obtained from:	Fedora (Tim Waugh)
2005-05-14 03:02:22 +00:00
tjr
67950e3bcf This commit was generated by cvs2svn to compensate for changes in r146052,
which included commits to RCS files with non-trunk default branches.
2005-05-10 13:01:37 +00:00
tjr
a093ce42b9 Update instructions to match recent import. 2005-05-10 12:04:01 +00:00
tjr
c9931f2fee Update build infrastructure for new GNU regex bits. 2005-05-10 11:37:37 +00:00
tjr
49c97fda38 Merge. Discard local bracket expression collating order patch, since
modern versions of GNU regex already do things the way we want when
multibyte character support is enabled.
2005-05-10 10:52:30 +00:00
tjr
fdedb1a0cc This commit was generated by cvs2svn to compensate for changes in r146040,
which included commits to RCS files with non-trunk default branches.
2005-05-10 10:39:53 +00:00
tjr
113e755bc8 Import of regex bits from fedora-glibc-2_3_4-21 tag in glibc CVS. 2005-05-10 10:39:53 +00:00
davidxu
f305634ad3 Don't try to enable event reporting for core file, it is not writable. 2005-05-06 11:01:15 +00:00
peter
bc1c95b7c5 Turn on libobjc.so for all platforms on -current. It didn't work back
in 1996.
2005-05-01 01:59:48 +00:00
trhodes
a9041ad05e Enforce style.Makefile(5).
Glanced at by:	ru (some time ago).
2005-04-22 18:57:32 +00:00
jkoshy
aa72c1de5f Capitalize words in library description.
Submitted by:	ru
2005-04-19 13:26:58 +00:00
jkoshy
dc3444cd91 Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by:	alc, jhb (kernel changes)
2005-04-19 04:01:25 +00:00
davidxu
a072bd5e74 Report events from thread library. 2005-04-12 03:04:04 +00:00
davidxu
f49d76552d Print thread address.
PR: threads/76821
2005-04-05 11:40:58 +00:00
das
660dab49e8 Teach libstdc++ about frexpl() and ldexpl(). 2005-03-26 08:27:53 +00:00
kientzle
91e20dfee4 Stop building gtar. Bump __FreeBSD_version to reflect this change. 2005-03-21 05:30:58 +00:00
kientzle
0069c3a218 Ooops. Correctly disable "tar"->"gtar" link.
Thanks to: Simon L. Nielsen, who was the first of
    several people to point this out. <sigh>
2005-03-21 04:02:42 +00:00
kientzle
c74d7d94bd Deorbit gtar, step 1: Remove WITH_GTAR knob.
"tar" is now always a synonym for "bsdtar".
  People who need gtar can access it as "gtar."

Approved by:	No objections on arch@
2005-03-20 20:38:46 +00:00
marcel
d810912cf5 Implement and document the -q and -f options with their corresponding
long form (-quiet and -fullname resp.) Bump documentation date.

PR: bin/78031
MFC after: 5 days
2005-03-02 18:40:04 +00:00
obrien
33b81ea30f .It the -v option. 2005-03-01 20:41:38 +00:00
ru
bc73e0ad82 Fixed compilation warnings. 2005-02-21 21:02:25 +00:00
kan
a73cb310d2 Restore r1.2 change to use TARGET_ARCH.
Submitted by:	kris
2005-02-20 23:06:03 +00:00
kan
858ff332fa Attempt to make kgdb little more useful and easy to use. Properly initialize
it to recognise what ABI  to use on amd64 (and possibly others) platform.
Display PID and process name as a part of the 'info threads' output, TIDs
alone are too confusing. Introduce new commmands 'tid <tid>' and 'proc <pid>'
to accompany gdb's default 'thread <thread num>' to make the task of switching
between different contexts easier.
2005-02-20 22:55:07 +00:00
ru
136924cea4 Expand contractions. 2005-02-15 09:27:00 +00:00
marcel
9a64d9e899 Remove mention of the -k and -wcore options because they don't
exist anymore.

PR: doc/70943
Submitted by: Jun <junsu at delphij dot net>
Reviewed by: delphij
2005-02-15 07:13:51 +00:00
obrien
b8e733bd9d Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them.

Reviewed by:	marcel,imp
Desired by:	ache
2005-02-14 12:10:14 +00:00
obrien
55d920055d Fix regression in output with -R compared to previous version.
PR:		77466
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2005-02-13 23:07:30 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
kan
3ff9202b44 More math functions.
Prodded by:	stefanf
2005-01-26 14:23:31 +00:00
kan
3f0d8e467c We have floorl() now. Reflect this in the library config file. 2005-01-26 13:57:22 +00:00
kan
8a903b4c36 Of all templates only lists need a special implmementation file compiled
to support __GLIBCXX_DEBUG. Add debug_list.cc to the list of files to
compile.
2005-01-26 13:56:27 +00:00
ru
6817d19650 libpam is now standard. 2005-01-25 09:37:37 +00:00
ru
79f9a7d4c5 Sort sections. 2005-01-18 09:04:26 +00:00
ru
46e339951e Fold two ENVIRONMENT sections into one. 2005-01-18 09:03:19 +00:00
cperciva
26981f098d Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS for building this
library. As the value suggests, this allows the library to be built repeatably;
without this flag, gcc uses a random value in its parsing.

Since the random seed is only used when handling files which do not have any
externally-visible symbols, this change is not needed for any other libraries
in the FreeBSD base system.

Discussed on:	freebsd-arch (in early November)
Approved by:	kan
MFC after:	1 week
2005-01-17 08:38:31 +00:00
ru
6cc4b6c220 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ru
f31866b7e7 Markup nits. 2005-01-13 10:07:51 +00:00
peadar
778dfbe1e7 When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days
2005-01-11 14:53:16 +00:00
ru
1cd8ce95ba Scheduled mdoc(7) sweep. 2005-01-09 19:54:23 +00:00
ceri
88c28955aa Add a usb category for USB PRs.
Requested by:	Craig Rodrigues on behalf of usb@
MFC After:	1 day
2005-01-05 12:13:10 +00:00
phantom
bd3946435d Fix 'redraw' of checklist box. It is occurs in situation when size of
checklist box is strictly set via command line, but amount of checklist
items less than height of checklist box.  In this case bottom part
of box was not redrawn (occurs when passing focus behind of 'Cancel' button
while configuring any FreeBSD port OPTIONS)

MFC after:	3 days
2005-01-04 11:30:24 +00:00
keramida
b75667b3fa A lot of people may want to submit PRs from systems that are not
connected to the Internet or systems that do not have a correctly
configured email subsystem.  Now that the send-pr web interface has
antispam protection, mention that it is ok to use it for submitting
problem reports.

Ok by:		linimon
Submitted by:	Rob <spamrefuse@yahoo.com> on freebsd-doc
2004-12-29 19:32:21 +00:00
ru
8f62cc9941 NOHTML -> NO_HTML 2004-12-21 12:05:11 +00:00
ru
f4c44b761b NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ru
c1a820195c NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
ru
74176cc161 NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
2004-12-21 09:33:47 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
875f547555 Uncomment an upcoming 5.4-RELEASE. 2004-12-18 07:20:33 +00:00
jkoshy
1b6e938d41 Uncomment entries for FreeBSD 6.0 and 4.11.
Requested by:	ru
2004-12-18 01:07:18 +00:00
kensmith
a492859456 Add removal of MKTEMP_SH_FUNCTION to processing for cvsbug script.
Approved by:	peter (a while ago)
MFC After:	1 week
2004-12-10 18:16:52 +00:00
marcel
89c49e5178 Source changes to allow building a cross-debugger. Move solib.c and
solib-svr4.c to the MD makefiles because they are native files for
alpha and sparc64, but target files for amd64, i386 and ia64.

Note that kgdb(1) does not yet build as a cross-debugger due to
libkvm.
2004-12-05 06:59:01 +00:00
marcel
97caf4c3a0 Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for all
subdirectories.
2004-12-05 04:08:22 +00:00
marcel
4f1dd53060 Makefile (only) changes to allow building a cross debugger. 2004-11-30 05:12:37 +00:00
marcel
b9ca717294 s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files
for libgdb and should do so here as well.
2004-11-30 02:56:53 +00:00
joerg
48004ebd9c [Sorry, forgot to commit my source changes in my previous commit.]
Document all options and general usage.

Implement the -a option to bump the annotation_level.  This improves
the Emacs gud behaviour.  You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.
2004-11-22 16:08:19 +00:00
joerg
6bcf32277d Document all options and general usage.
Implement the -a option to bump the annotation_level.  This improves
the Emacs gud behaviour.  You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.
2004-11-22 16:07:28 +00:00
joerg
d1447f497b Fix the abuse of Ar macros for designating flag options, use Fl instead. 2004-11-22 15:43:46 +00:00
davidxu
509cea0ce8 Always set current thread when activating thread debugger,
the current thread may already be added by fbsd_find_new_threads,
this can result that current thread is not set correctly.
2004-11-15 13:06:01 +00:00
keramida
457d89dc2b The correct name of the long option is --line-buffered,
not --line-bufferring.

PR:		docs/72985
Submitted by:	John Engelhart <johne@zang.com>
MFC after:	1 week
2004-11-09 17:00:06 +00:00
marcel
0082ec816d Whitespace fix. 2004-11-09 06:32:37 +00:00
marcel
4f8263497b Prepare for a subsequent import: If the first letter of the filename
changes, start on a new line. Insertion of a filename will keep the
diff limited to the block of filenames that have the same first letter
instead of creating a huge diff. While here, move remote.c after the
remote-*.c files and move tui.c after the tui-*.c files. This matches
the order of ls(1) and makes it easier to compare object files created
by a stock gdb(1) build with the list of files we have here.

This is a non-functional change only.
2004-11-09 06:02:48 +00:00
kan
e8fd5617c5 Remove trailing whitespace.
Pointed out by:	ru
2004-11-07 22:49:20 +00:00
kan
4bdb4a9e2f Reconnect c++filt to the build. 2004-11-07 13:46:56 +00:00
kan
d28d463543 Unbreak c++filt. It was disconnected from the build and never fixed during
GCC 3.4.2 work unintentioanlly.

Reminded by:	bms
2004-11-07 13:46:16 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
ru
6a50a160db Utilize SCRIPTS. 2004-10-18 21:44:17 +00:00
ru
840a432fc9 Replaced afterinstall: with FILES. 2004-10-18 16:39:53 +00:00
ache
e389b7e70d Update to readline 5.0 2004-10-18 10:13:24 +00:00
ache
d60468c588 Back out termcap -> ncurses change in LDADD/DPADD
It expand functions scope too wide
2004-10-18 08:36:40 +00:00
ache
b6d844d2ed Upgrade to 5.0 2004-10-18 08:29:47 +00:00
ache
86a40eb88d Upgrade to 5.0 2004-10-18 08:08:03 +00:00
ache
320d8f045c Update for 5.0 2004-10-18 07:49:59 +00:00
kensmith
911789fdaa Bump the library version numbers for the following libraries:
/lib/{libm,libreadline}
	/usr/lib/{libhistory,libopie,libpcap}

in preparation for doing the same thing to RELENG_5.  HUGE amounts of
help for determining what to bump provided by kris.

Discussed on:	freebsd-current
Approved by:	re (not required for commit but something like this should be)
2004-10-01 15:38:07 +00:00
peter
7995dfde81 We *need* the pic libobjc library for amd64. It is needed for ia64 as
well, but I'll let Marcel decide whether he wants to build a .so or not.

Without this, building certain ports that use objc have fatal errors.
2004-09-29 23:42:44 +00:00
peter
8f51a71fe2 Make cvsbug(1) actually work instead of aborting due to missing configure
script substitution markers.
2004-09-28 21:19:31 +00:00
peter
dbad3ede06 Fix the embedded version string in cvs and cvsbug. This breaks scripts
that parse it.

PR: 72139
Submitted by:  Eugene M. Kim <gene@nttmcl.com>
2004-09-28 21:02:43 +00:00
ru
3233cdbf50 Style. 2004-09-19 12:15:25 +00:00
peter
b402daf66a Be explicit about which regex.h file we are including. This reduces the
need for hack workarounds in tools/lib32/build32.sh.
2004-09-16 01:39:13 +00:00
ceri
0b8eaf1ae7 Use a safe temporary file for saving out the PR if send-pr is
interrupted.

MT5:	7 days
MT4:	7 days
2004-09-14 20:30:35 +00:00
ru
1cc0960868 Fix a problem mentioned in the previous revision in a different,
non-intrusive way.  This should also fix the PowerPC build that
broke due to this change.
2004-09-10 06:48:04 +00:00
obrien
3d2cd03af2 Add the .h files to the .o dependency lists so the .h's are created before
trying to build the .o's.
2004-09-09 20:47:58 +00:00
brooks
230e08557d If the argument to the -r flag starts with a ':' or a '|', don't try to
make sure it is a device.  GDB special cases these prefixes and treats
:#### as a tcp port on localhost and executes what ever follows '|'.

This allows kgdb to debug via dconschat.

Discussed with:	marcel
2004-09-03 07:11:42 +00:00
ru
1ee063801f Add atomicity.cc to CLEANFILES. 2004-09-01 08:17:20 +00:00
davidxu
ef41142de6 Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
2004-08-22 10:59:33 +00:00
davidxu
7afd3579e8 Fix comments, most are style fix. 2004-08-22 09:05:57 +00:00
davidxu
c47e28f44c Fix some text messages. 2004-08-22 08:48:56 +00:00
davidxu
9ffe386e73 Add code to support statically linked binary and .core file of threaded
program.
2004-08-22 05:53:38 +00:00
ru
64aba3276d Meet the 6.0-CURRENT era. While here, teach mdoc(7) about the upcoming
FreeBSD 4.11-RELEASE.
2004-08-19 10:41:54 +00:00
ru
115cded103 A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lost
in rev. 1.57.  Fix this regression by making cc_tools a new-style
build-tool in Makefile.inc1.  For details of what has been fixed,
please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log.

Caught this by accidentally touching param.h while in the process
of cross-buildworld for amd64.
2004-08-18 13:21:40 +00:00
marcel
0058f637d6 Improve the usage. Without any arguments, kgdb(1) works on /dev/mem
with the currently running kernel image. Otherwise, one of -c, -n or
-r is expected for working on a particular core file (-c), working
on a saved dump (-n) or working remotely (-r). When working on a
saved dump, a kernel may be omitted.
For a remote debugging session (-r), kgdb(1) will use the specified
device.
2004-08-15 02:39:20 +00:00
kan
5a01d98239 Add libgcov, a runtime support library for binaries compiled for basic
block profiling.
2004-08-14 03:23:24 +00:00
tjr
616ce4ded8 Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt
input files:

1999-06-25  Paul Eggert  <eggert@twinsun.com>

        * inflate.c (huft_build):
        Set n to length of v, to detect improper tables.
        Don't accidentally grow j past z.

MFC after:	3 days
2004-08-13 05:38:44 +00:00
kan
44be17529b Consolidate libiberty files in one place and avoid listing some
of them in several places.

Noticed by:	bsdimp
2004-08-12 16:36:52 +00:00
tjr
885cdf40be Change version string to distinguish our modified version of GNU grep
from the original.
2004-08-12 06:45:31 +00:00
tjr
dc09deef3a Update version strings to better reflect reality. 2004-08-12 06:40:31 +00:00
tjr
d46f8b68cb Hook xalloc-die.c up to the build. 2004-08-12 06:02:28 +00:00
davidxu
c327574af2 Initialize thread_db module. 2004-08-10 12:20:00 +00:00
davidxu
8a33af7a5a Initialize thread_db module. 2004-08-08 22:46:22 +00:00
davidxu
be987aa523 1. Add some code check if thread suspending or resuming is failed.
2. Add code to retrieve thread tls address.
2004-08-08 22:45:36 +00:00
cperciva
e629b37603 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
kan
2e85a1715e Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a
gets most of it content back now, when symbols from LIB2FUNCS are actually
compiled.

Noticed by: Steve Kargl <gk at troutmask dot apl dot washington dot edu>
Pointy hat to: kan
2004-08-04 03:13:51 +00:00
ru
f953a8bf19 Whitespace nit.
OK'ed by:	kan
2004-08-03 06:40:04 +00:00
kan
ea736f2d3f Fix a copy and paste error. Do not include errors.c in libgcc_int.a,
it is only used by build tools.

Submitted by:	grehan
2004-07-30 14:50:52 +00:00
kan
939ed27f8c Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. 2004-07-28 05:39:04 +00:00
kan
482ec87e2d Bmake glue for GCC 3.4.2-prerelease. 2004-07-28 05:27:21 +00:00
kan
30330da27a We generate this file from config.h automatically. 2004-07-28 05:23:28 +00:00
marcel
824264d2f4 Hook kgdb into the build. 2004-07-25 05:32:50 +00:00
marcel
79ca58867f Add the beginnings of kernel debugging support. the kgdb(1) tool
is basicly a shell on top of libgdb that knows about kernel threads,
kernel modules and kvm(3). As the word "beginnings" implies, not
all of the features have been implemented yet. The tool is useful
and I'd like feedback on the taken route.

The simplest way to debug a kernel core file is:
	kgdb -n 0

This opens /var/crash/vmcore.0 with the corresponding kernel in
the object directory (kernel.debug is used if it exists).

Typical things that need to be added are:
o  Auto loading of kernel modules,
o  Handling of trapframes so that backtraces can be taken across
   them,
o  Some fancy commands to extract useful information out of a core
   file,
o  Various (probably many) other things.
2004-07-25 05:29:15 +00:00
marcel
8fa131ee77 o ps_pd{read|write} and ps_pt{read|write} are obsolete interface
functions. Only ps_p{read|write} remains.
o  Remove ps_getpid. We don't need it now.
2004-07-17 17:08:13 +00:00
kientzle
c25602666f Make bsdtar the default system tar. This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default.  To make it point to /usr/bin/gtar,
you can define WITH_GTAR.
2004-07-17 06:03:47 +00:00
davidxu
9ff80f3e79 ptrace's first parameter is command not pid. pointy hat to me. 2004-07-16 06:11:48 +00:00
marcel
4990faa208 Update config.h to account for the prgregset_t and psaddr_t types
that have been added to <sys/procfs.h>. This change has no effect
because the source file that would be affected is not compiled on
FreeBSD. Hence, this is for completeness only.
2004-07-16 05:03:42 +00:00
davidxu
f478e0fbc2 Add libthread_db assisted debugging support module. 2004-07-15 04:51:04 +00:00
obrien
459a3b439e MAJOR cleanup of the Bmake framework.
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD.  Move as much duplicated code from platform
Makefiles into the shared Makefiles.  Add a simple mechanism for
specifying ELF 'ldscripts'.  Also share as many .h files as possible
(now a single bfd.h vs. one per platform).
2004-07-08 17:05:34 +00:00
ru
cdcc5ec1f9 Build things in dictionary order. 2004-07-07 17:24:30 +00:00
obrien
aedb4c2148 Prepare for upcoming Binutils house cleaning. 2004-07-06 21:55:11 +00:00
ache
4b6b50b147 Update to match recent import 2004-07-06 00:10:40 +00:00
tjr
71d184a8d2 Fix bug causing `[' to be wrongly included in character class expressions
in some multibyte locales (Red Hat bug #108484).

Obtained from:	Fedora (Tim Waugh)
2004-07-04 16:25:41 +00:00
tjr
ee5f93f56a Make grep run much (~10x) faster in multibyte locales by caching the wide
character representation of input data across calls to dfaexec(), and by
caching the lengths of character across calls to check_multibyte_string().

Obtained from:	Fedora (Tim Waugh)
2004-07-04 16:16:59 +00:00
tjr
6380609efc Avoid accessing accessing memory past the end of mb_properties in the
degenerate case of fgrep with an empty pattern in a multibyte locale.
Found by phkmalloc.
2004-07-04 14:00:25 +00:00
tjr
3aceb5c9da Improve case-insensitive matching in multibyte locales.
Obtained from:	Isamu Hasegawa (IBM) via Fedora
2004-07-04 11:58:10 +00:00
tjr
0c6755d771 Fix failure of fgrep to report some matches (Red Hat bug #116909).
Obtained from:	Fedora (Tim Waugh)
2004-07-04 11:33:49 +00:00
tjr
68fa9f1351 Use hard_locale() to check whether collating order is "hard" regardless
of whether NLS is enabled.
2004-07-04 10:24:48 +00:00
tjr
577b88a806 Ignore ENABLE_NLS when deciding whether we can use setlocale().
Use the same shortcut as glibc to test for the "C" or "POSIX" locale.
2004-07-04 10:22:50 +00:00
tjr
25b0d01442 Update for grep 2.5.1. 2004-07-04 10:05:37 +00:00
tjr
82d1ca3069 Merge local changes. 2004-07-04 10:02:03 +00:00
tjr
d4c6119194 Import GNU grep 2.5.1 (trimmed) 2004-07-04 09:52:08 +00:00
tjr
7bb57b0d67 This commit was generated by cvs2svn to compensate for changes in r131554,
which included commits to RCS files with non-trunk default branches.
2004-07-04 09:52:08 +00:00
tjr
7b2baa142b Fix regression in new version of GNU regex code: bracket expressions
like [X-Y] should match all characters between X-Y according to the
locale's collating order, not by binary value. For now, this only fixes
the !MBS_SUPPORT case (which is the default).
2004-07-04 02:46:55 +00:00
tjr
719c503daf Merge local changes (addition of $FreeBSD$). 2004-07-04 01:07:38 +00:00
tjr
5f9e4022f9 Import of GNU regex from GNU grep 2.5.1 (trimmed). 2004-07-04 01:03:02 +00:00
tjr
64feed72e5 This commit was generated by cvs2svn to compensate for changes in r131543,
which included commits to RCS files with non-trunk default branches.
2004-07-04 01:03:02 +00:00
ru
2334c79a75 Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00
ru
4b39413aeb Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
tjr
1ddf2fdcc0 Hook strnlen.c up to the build - the i18n patch uses it. 2004-07-02 11:09:55 +00:00
tjr
64efc9f020 Update build infrastructure for sort from GNU coreutils 5.2.1. 2004-07-02 09:34:37 +00:00
marcel
addf7a2779 Removed. It was used for building gdb docs, which we don't do here
anymore.
2004-06-27 03:34:54 +00:00
marcel
1689691aa6 We don't have to reach into binutils/doc anymore for inc-hist.diff
The file was repo copied into our doc directory.
2004-06-27 03:33:17 +00:00
bde
b9b4822364 Fixed world breakage in the NOSHARED=yes case (missing library).
Fixed some style bugs.
2004-06-26 08:48:50 +00:00
obrien
a546c5ab37 GDB has moved up one level. 2004-06-25 07:34:56 +00:00
marcel
6f47ee0f39 Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.
2004-06-25 07:15:13 +00:00
marcel
d03895df94 Remove building gdb info files. The gdb info files are built as part
of building gdb itself, which has been decoupled from binutils for
as much as is reasonable.
2004-06-25 06:55:49 +00:00
marcel
dcb884d098 Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.
2004-06-25 06:48:54 +00:00
obrien
02f435b86f Turn back on the building of GDB info files. 2004-06-23 04:36:04 +00:00
obrien
3b6f40e8a6 This should be the right set of docs sources. 2004-06-21 18:23:51 +00:00
obrien
3f13a9e27f Disable building of GDB info files until the gdb6 upgrade is finished. 2004-06-21 18:09:20 +00:00
obrien
58b7bfbc62 With tmm's latest change to the sparc64 dynamic loader, we can remove this
hack to binutils and use the stock sparc64 sources.
2004-06-20 09:46:13 +00:00
obrien
f777e901f9 Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.
2004-06-20 01:44:58 +00:00
marcel
d310f73349 Update to binutils 2.15. 2004-06-19 23:18:14 +00:00
marcel
6a02104a71 Seperately add regex.c and splay-tree.c to SRCS. They are both needed
by gdb(1). While here, sort SRCS.
2004-06-19 22:22:42 +00:00
marcel
60ea83d4e5 Add the necessary branding of ELF files. This is relatively easy to
achieve on ia64, because we need to generate the ELF64/ia64 code and
simply tag elf-fbsd-brand.c at the end of it.

This hasn't actually been tested beyond trivial compilation testing.
A buildworld has been started and it's time I wait for my changes to
loop back to my local repo anyway. I'll get back to this in a couple
of hours...
2004-06-19 21:14:10 +00:00
marcel
fea17fd6f8 Add bfdwin.c to SRCS. The file contains support for mmap(2) windows
into a BFD. It's included in stock BFD on the platforms I checked
(i386 and ia64).
2004-06-19 20:50:57 +00:00
marcel
0d4738230c Move the elf32-target.h and elf64-target.h targets from the MD
makefiles to the centralized makefile. This not only reduces
duplication, it also makes the MD quirks stand out better and
thus improves maintenance.
2004-06-19 20:37:38 +00:00
marcel
5e86c60ca5 Update to binutils 2.15:
o  BFD_VERSION_DATE now reflects the release date of 2.15,
o  BFD_VERSION now has the correct version number.

Previous values reflected 2.14.92 from a week prior to release.

While here, fix a whitespace (tab) nit.
2004-06-19 19:44:19 +00:00
marcel
d4a9461bf1 Update to binutils 2.15:
o  HAVE_SEEKO and HAVE_TELLO are defined now. These are used in bfdio.c.
o  HAVE_STRTOULL is defined now. This is used in bfd.c.
2004-06-19 19:25:33 +00:00
marcel
e8560b6f3c Update to binutils 2.15. 2004-06-19 18:52:31 +00:00
obrien
536504fc3c Commit a crude hack so we get sparc64 snapshots working again with a
stable ld.so.  We need to revisit the rtld-elf/sparc64/rtld_start.S
rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was
suppose to allow stock Binutils 2.13 (and later) to be used.
2004-06-17 16:08:20 +00:00
obrien
c15b182a8c Updated Bmake framework for Binutils 2.15. 2004-06-16 07:09:44 +00:00
obrien
4902310dd7 Disable gdb from the build due to the impending binutils 2.15 import.
GDB 5.12 cannot consume the 2.15 bfd and libiberty.
2004-06-16 05:19:00 +00:00
obrien
c687f04e34 Sperate out the MD parts of kvm-fbsd to get rid of the #ifdef maze.
Also quiet some warnings by tweaking the included headers.
2004-06-11 16:09:38 +00:00
peter
01cc4d4558 Revise previous commit - I managed to mess up a 1-line change and broke
amd64 world.  The csu code evalues this Makefile with a different origin.
2004-06-11 00:35:29 +00:00
peter
db97a6ffb2 The gcc/config/i386/freebsd64.h file neglects to override the default
(bogus, application name space) mcount function name on amd64.  Override
it here instead.

I've done it this way to avoid touching gcc source while 3.4 is in
progress, and this is the smallest, lowest impact I could come up with.
Adding a patch touches about 10-14 lines of Makefile, this touches only 1.
This will likely go away with the 3.4 import.

I spoke with Alexander about this a few days ago, but waited until after
sorting out some of the other bugs in the userland profiling.
2004-06-10 22:18:33 +00:00
peter
ac799efe53 Turn cvs back on after import; that was less painful than I expected. 2004-06-10 19:17:20 +00:00
peter
023c667a2b Turn off cvs while import/merging. 2004-06-10 19:02:42 +00:00
kientzle
0d350a0b36 Have /usr/bin/tar be a symlink to /usr/bin/gtar rather
than a hardlink.  This will make it easier for people
to tell which system tar they're currently using.
2004-06-04 00:39:46 +00:00
kan
f6ac321c20 Remove componenst which are not part of GCC 3.3 and which are not likely
to get used again in the future.
2004-05-29 04:05:37 +00:00
obrien
f6bfc912a1 Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp. 2004-05-10 17:45:51 +00:00
obrien
fb124fc06a Restore vendor Id. 2004-05-03 10:33:27 +00:00
obrien
dcedc29dc5 Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch 2004-05-03 10:29:23 +00:00
obrien
9936ba40b6 Gzip assumes 'unsigned long' is 32-bits wide and depends on this.
One thing Gzip does is implicitly by store the size of a file into an
'unsigned long' rather than  explicitly compute the remainder modulo 2^32
(see RFC 1952 section 2.3.1 "ISIZE").  Thus an extracted file size is
does not equal the original size (mod 2^32) for files larger than 4GB.

This manifests itself in errors such as:
	zcat: bigfile.gz: invalid compressed data--length error

PR:		66008, 66009
Submitted by:	Peter Losher <Peter_Losher@isc.org>
Patch by:	tjr
2004-05-02 23:07:49 +00:00
tjr
8caabe19ec Apply patch from gzip web page to correctly decompress files larger than
4GB on architectures with 64-bit long integers.
2004-05-02 02:54:37 +00:00
obrien
f26994772c What is CVS doing to me?? 2004-04-21 15:43:26 +00:00
obrien
e5831e71af Add missing unique bits from libI77 v3.3.3's config.h.in.
The GCC developers separated out the configure header between libU77 and
libI77 and FreeBSD didn't keep up with the change.  So now this header needs
to be a superset of both sublib's configuration specification.

Notably this commit causes ftruncate(), fseeko(), and ftello() to be used.

PR:		22635
2004-04-20 15:33:00 +00:00
obrien
0918fcd5c2 Updated config.h for f77 3.3.3. 2004-04-20 15:09:59 +00:00
obrien
532e8f4ac5 Add "subscribe out of range" support. 2004-04-20 14:01:29 +00:00
obrien
eb22856582 Revert rev 1.21 which configured with --enable-64-bit-bfd.
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.
2004-04-18 16:09:33 +00:00
ru
04b20ed153 Removed local bits that are now part of the standard mdoc(7) package. 2004-04-16 07:19:13 +00:00
ru
6bcd1e85ae Whitespace nit in previous revision. 2004-04-15 19:13:27 +00:00
peter
8669a5b762 Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day.  The *.patch files are still fine for MFC'ing.
2004-04-15 01:54:28 +00:00
peter
dfd3c578a8 Turn off cvs build for a few hours while importing. 2004-04-15 01:01:07 +00:00
nectar
07ad9ba93d Patch vulnerabilities in the CVS client and server:
A malicious CVS server could cause your CVS client to overwrite
  arbitrary files (CAN-2004-0180).

  When a CVS client uses the `-p' checkout option, the server could be
  fooled into checking out files from outside the given $CVSROOT.

(This patch is applied in an unorthodox manner so as not to complicate
 a later vendor import of CVS.)
2004-04-14 16:40:50 +00:00
ru
28932acb1c Added FreeBSD 5.2.1, just in case. 2004-04-13 07:12:17 +00:00
ru
9999084f7a Added upcoming 4.10 and 5.3 releases.
Reminded by:	marcel
2004-04-13 07:07:46 +00:00
ceri
297e86d8d6 Add a new threads category.
PR:		gnu/65209
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with:	julian,deischen
MFC after:	1 day
2004-04-05 23:06:16 +00:00
dannyboy
12c2822777 Get rid of a spurious "the".
PR:		64081
Submitted by:	Chris Pepper <pepper@reppep.com>
MFC after:	1 day
2004-03-18 20:36:14 +00:00
obrien
f4bef7958a Configure as --enable-64-bit-bfd. 2004-03-18 04:45:29 +00:00
obrien
27cc316a97 I accidently spammed rev. 1.18, back out rev 1.19. 2004-03-17 18:38:07 +00:00
obrien
87ea083bbc Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including
<gnu/regex.h> vs. just <regex.h>.
2004-03-17 07:40:42 +00:00
ru
391bd5265b gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
either.

Reviewed by:	obrien
2004-03-15 07:19:41 +00:00
ru
b37c7cc0e8 Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override
the entire command.
2004-03-06 07:34:51 +00:00
ache
f1c3e2bb16 Back out attempt to bypass contrib's getopt.h on the way,
it makes cross-build fail.
Prefer invisible incorrect -current build to visible failure.
2004-03-05 16:12:31 +00:00
ache
2ce19cdb84 Move -I${DESTDIR}/usr/include/gnu up, before
-I${DESTDIR}/usr/include to pick correct regex.h
2004-03-05 01:47:03 +00:00
ache
c73151565e Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
getopt.h (as workaround until it will be removed from contrib)
2004-03-04 20:36:18 +00:00
ru
de3fcf6777 Fixed "make clean". 2004-03-03 17:04:49 +00:00
ache
15469f77d2 Merge conflicts, upgrade 2004-03-01 08:37:20 +00:00
ache
a28ccb3d69 Trimmed grep 2.4.2 2004-03-01 08:24:49 +00:00
ache
3bd1cc91fa This commit was generated by cvs2svn to compensate for changes in r126432,
which included commits to RCS files with non-trunk default branches.
2004-03-01 08:24:49 +00:00
ache
a37e6dc1e9 Use system getopt_long* 2004-02-28 05:38:45 +00:00
bde
709b7c8073 Rremoved bogus -static from CFLAGS. Makeworld will add -static in the
correct place if needed and possible.  Self-hosted builds can just use
the system default.
2004-02-26 07:50:56 +00:00
bde
ff55724eab Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.

Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).
2004-02-26 07:08:33 +00:00
eric
a6a3144367 Test data before using it.
Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR:	28221
2004-02-26 01:52:39 +00:00
johan
29a90b3011 Fix style bug in last commit,
add a tab after WARNS?=.

While I'm here fix other style bugs.

Submitted by:	bde (libbdf/Makefile)
2004-02-25 13:12:51 +00:00
ache
7478520236 Change warning hint to be more useful 2004-02-25 10:56:54 +00:00
ache
3f52e336ed Add upgrade instructions 2004-02-25 02:59:26 +00:00
ache
492ba90c20 Upgrade to regex from grep 2.4.2 2004-02-25 02:41:15 +00:00
ache
0da2f6f92b Merge conflicts 2004-02-25 02:39:10 +00:00
ache
15d9c0f839 Virgin import (trimmed) of GNU regex, from GNU grep 2.4.2 2004-02-25 02:27:50 +00:00
ache
8c78c39338 This commit was generated by cvs2svn to compensate for changes in r126209,
which included commits to RCS files with non-trunk default branches.
2004-02-25 02:27:50 +00:00
johan
d5866454e3 style.Makefile(5):
Use WARNS?= instead of WARNS=

For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.

Approved by:	obrien (binutils maintainer)
Tested by:	make universe
2004-02-24 19:23:33 +00:00
obrien
6dde82a036 Allow to compile with non-GCC compiler. 2004-02-19 20:02:38 +00:00
ache
b4639fcd3e Install gnuregex.h as wrapper for gnu/regex.h (with warning) 2004-02-18 22:09:34 +00:00
ache
2bf5bfe61f Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu 2004-02-17 05:38:45 +00:00
ache
28fb00b873 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 03:40:32 +00:00
ache
eeea596d50 Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)
2004-02-17 03:18:24 +00:00
ache
99e9c33385 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 02:08:03 +00:00
ache
da6ce8bbfa Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:59:37 +00:00
ache
006d901b64 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:49:20 +00:00
ache
5d3921b341 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:40:25 +00:00
ache
3242540820 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:34:53 +00:00
ache
25de2674ca Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:08:34 +00:00
ache
5c61a40f90 Remove getopt*.c, we already have getopt_long() in libc 2004-02-17 00:56:16 +00:00
ache
6fd2831bd0 Remove old explicit -I${DESTDIR}/usr/include/readline
it is no longer needed
2004-02-17 00:06:33 +00:00
ache
34c0340ed8 Switch back to regex.h 2004-02-16 23:46:39 +00:00
ache
2e70610668 Formally switch back to regex.h (not sure it ever needed here - libgnuregex
is not used)
2004-02-16 23:38:37 +00:00
ache
7c2c6064f7 Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex
2004-02-16 23:25:49 +00:00
ache
d034a2d7ec Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
ache
24f49b8cb4 1) Remove files no longer needed.
2) Switch back to regex.h
2004-02-16 22:43:05 +00:00
ache
cfdb373e76 Install regex.h under include/gnu 2004-02-16 22:32:13 +00:00
kientzle
4a7e80c5fe Register libarchive in bsd.libnames.mk and mdoc.local
Submitted by:	ru
2004-02-13 01:14:38 +00:00
kientzle
6a101e6915 Style fixes: Use curly braces in Makefiles,
use cat (not cp) to copy files.

Submitted by:	ru
2004-02-13 00:58:48 +00:00
emax
3c2a02affb Register libbluetooth and libsdp
Reviewed by:	imp (mentor), ru
2004-02-12 23:50:56 +00:00
kientzle
39cf5870aa GNU tar in the base system is now called "gtar"
"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar.  (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by:	gordon
2004-02-11 05:44:20 +00:00
ru
e9babba8fb Removed all the complexities when installing the strip(1) binary.
Submitted by:	bde
2004-02-06 09:25:59 +00:00
ru
743cc6d002 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ru
1f34d0eb9a strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk. 2004-02-05 19:54:56 +00:00
des
a5b08daacd Remove Perl lines; it's better to let use.perl handle them. 2004-02-04 22:37:14 +00:00
ceri
b5ad8f097f Add a section documenting the return values from diff.
PR:		docs/59991
Submitted by:	keramida,Erik Greenwald <erik@smluc.org>
MFC After:	1 week
2004-02-01 13:52:19 +00:00
ru
65604f86ee Catch up with the 20040130 src/UPDATING entry, and spell libpthread
as -lpthread.  (Alpha and SPARC64 still spell it -lkse, but we hope
this to change by 5.3-RELEASE.)

Reviewed by:	deischen
2004-01-31 09:41:05 +00:00
obrien
306ddad1be Discontinuation of an action that now fits on one. 2004-01-27 05:01:08 +00:00
kan
b830d2117b Do not treat make variables as Perl variables. 2004-01-26 16:12:29 +00:00
obrien
0cf462d04b Fix problem where kgdb misses trap frames.
Reported by:	iedowse
2004-01-26 09:18:47 +00:00
obrien
5ce55a17ee Use proper name. 2004-01-26 09:17:26 +00:00
obrien
8de8111ac5 style.Makefile(5) 2004-01-26 06:10:26 +00:00
obrien
a995bcea9d Follow existing GDB style for frame_info vars. 2004-01-26 06:07:33 +00:00
obrien
88bf7650cf Remove trailing white space. 2004-01-26 06:05:04 +00:00
ru
fd31bea05b Put libufs into the correct slot in the list. 2004-01-15 15:19:31 +00:00
ru
50d3eaced7 Added description for libthr.
Reviewed by:	deischen
2004-01-15 15:18:21 +00:00
ru
eb1be5f02d Fixed "make clean". 2004-01-15 10:07:59 +00:00
ru
03135f1e85 Last revision also added duplicate SRCS. Fixed this so that
the resulting .a library has only unique .o files.

Noticed by:	bde
2004-01-12 22:02:31 +00:00
ru
7d63a49c9c Don't put objects in SRCS -- this creates all sort of havoc like
causing objects to be built during "make depend", missed sources
in .depend, etc.
2004-01-12 20:08:20 +00:00
ru
9e2ab10b75 Removed duplicate SRCS. 2004-01-12 07:46:20 +00:00
ru
30808aecc7 Ensure that generated headers are here before we build .depend
and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.
2004-01-11 20:45:46 +00:00
kan
24d1ace5d7 Correct the atomicity.h fallback path on architectures which do not
define their own.
2004-01-06 19:20:30 +00:00
kan
42877fa04b Do not install files which are not part of GCC 3.3.x anymore. 2004-01-05 20:59:05 +00:00
kan
3261f96780 Stop compiling files which are not part of GCC 3.3.x. 2004-01-05 20:23:16 +00:00
kan
7827f44533 Use __cxa_atexit, rather than atexit, to register C++ destructors for local
statics and global objects.  This is essential for fully standards-compliant
handling of destructors, and requires __cxa_atexit in libc.
2003-12-19 18:20:48 +00:00
kan
bbdf5e92c4 Add two additional headers for amd64 and x86.
Reported by: Ollivier Robert
2003-12-09 16:31:30 +00:00
ru
2940fe5bd1 MFR: Bump manpages revision to 5.2. 2003-12-07 15:46:50 +00:00
obrien
ce573b8938 /rescue/g{{,un}zip,zcat} exist, so build this dynamically now. 2003-11-17 05:18:36 +00:00
obrien
65465e41cd /rescue/tar exists, so build this dynamic now. 2003-11-17 05:16:26 +00:00
ceri
c6fd0f8803 Attempt to save the last dregs of emacs users' sanity by saving the
contents of the PR when an interrupt is received during the editor
session.  This stops the use of ^G from deleting a filled PR from
underneath the user.

PR:		bin/59201
Submitted by:	Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
MFC After:	2 weeks
2003-11-12 23:08:23 +00:00
obrien
0e0b11491b FBSDID style nit. 2003-11-12 08:33:18 +00:00
des
5a27373bba The current Perl 5.8 version is 5.8.1; 5.8.2 is right around the corner. 2003-11-10 08:28:22 +00:00
ceri
109d46c916 Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with:	core
2003-11-02 17:35:33 +00:00
simokawa
f965698ed4 Implement gdb_solib_create_inferior_hook().
This function is used for autoloading kld module symbols for remote kgdb.
We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable
this function.

(*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c
2003-10-29 14:40:59 +00:00
bde
62aa43a571 Fix previous commit. glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.

Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.
2003-10-26 06:40:37 +00:00
peter
9ff77005b4 Fix some warnings by defining has_sa_sigaction to 1. When the configure
script was run (years and years ago), we didn't have it.
2003-10-26 04:26:52 +00:00
peter
ad3ca1dde1 Since I'm having so much fun with const, beat my head against the wall
some more.  Make this compile cleanly.
2003-10-26 04:20:19 +00:00
peter
bfcf5b3a91 Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning. 2003-10-26 04:12:02 +00:00
peter
b84f0fd155 The third arg to strncmp() is size_t, not int. This causes a warning on
systems where size_t is long, not int.
2003-10-26 04:10:50 +00:00
jkoshy
9d7728f915 Detect errors during 'cat' page creation better. This fixes bin/5591.
Reviewed by:	ru
2003-10-15 00:36:44 +00:00
deischen
15741d1c45 Add an entry for libpthread (aka libkse). For now, it's link command
is defined as -lkse, but we'll come back later and change it once
libkse is renamed.

Requested by:	ru
2003-10-02 20:49:34 +00:00
fjoe
571ef024e3 - Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by:	Ryuichiro Imura <imura@ryu16.org>
2003-09-26 20:26:25 +00:00
ru
139e368abd Update the copyright year. 2003-09-20 21:32:26 +00:00
ru
eccaa72ce4 Keep up with recent mdoc(7) changes. 2003-09-20 21:23:53 +00:00
ru
4c258b9c85 Comment out and mark all non-translated library strings. 2003-09-20 21:22:19 +00:00
des
7dada02ae6 Perl 5.8.0 has been in ports for a long time. Add the correct directory
to manpath.config so use.perl won't needs to add it.
2003-09-18 10:44:42 +00:00
ru
2bba7f5359 Add /usr/X11R6/man to the optional manpath.
PR:		conf/56626
Submitted by:	Oliver Eikemeier
2003-09-10 00:07:28 +00:00
ru
dc59bcaeee Catch up with mdoc.local list of libraries. 2003-09-09 23:27:03 +00:00
ru
b9435ce2cd Catch up with mdoc.local list of libraries. 2003-09-09 23:19:03 +00:00
ru
f3ab4f7167 Unbreak Russian KOI8-R support. 2003-09-08 17:46:33 +00:00
obrien
49215d6199 Enable '--interpreter=mi' support.
Submitted by:	Rui Lopes <rui@ruilopes.com>
2003-09-07 20:38:23 +00:00
obrien
3abbb52d56 s/x86-64/amd64/ 2003-09-07 20:21:14 +00:00
obrien
6637c75828 style.Makefile(5) 2003-09-07 20:19:32 +00:00
ru
f35a57851f Eliminate the need in uname(1) during install. 2003-09-07 13:38:07 +00:00
ru
7e8f143aca Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:17:31 +00:00
ru
30213bfe85 Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.
2003-09-07 13:09:47 +00:00
peter
f238f6b990 There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
ache
8d81fb7890 Upgrade to 4.3 2003-08-31 19:15:35 +00:00
ache
ba9e4df02e Upgrade to textutils 2.1 sort 2003-08-30 14:28:14 +00:00
phk
69a89b719e Introduce more knobs to slim down FreeBSD userland
NO_TOOLCHAIN	skips Compilers and Binutils
NO_USB		skips USB stuff
NO_VINUM	skips Vinum stuff
NO_ACPI		skips ACPI stuff
2003-08-29 10:35:01 +00:00
obrien
fbca8f8acd Properly quote the lib path. 2003-08-19 17:30:46 +00:00
obrien
33c986fdf5 Stage 3 of dynamic root support, con't.
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
obrien
28d3a70cba s/x86_64/amd64/g where possible. 2003-08-17 20:53:21 +00:00
gordon
5901302929 Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
ru
0de4aa01fa The as(1) manpage was missing on i386 and amd64. 2003-08-14 14:43:29 +00:00
ceri
3777a782bb Back out revision 1.32; it attaches the files in the wrong section of the PR. 2003-08-11 19:41:14 +00:00
ceri
5611986906 Have the -a and -f options work together.
PR:		misc/40057
2003-08-11 19:32:19 +00:00
ru
b80c3c1c0b Added description for the libufs(3) library.
PR:		55238
Reviewed by:	jmallett
2003-08-05 10:29:50 +00:00
ache
26ffc627d8 LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
ache
3aa7104cdf Use LANG=C before tr to be sure that ranges are correct
Strip [] from ranges
2003-08-04 15:34:38 +00:00
ache
c7d2e2b2a7 Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:47:34 +00:00
ache
9b6751c3cc Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:36:09 +00:00
obrien
1e4b5b112b If ${GCC_CPU}-c.c exists, we need to use it. 2003-07-31 19:41:32 +00:00
jwd
03d7e648bd returned length can exceed the limits of type char
Submitted by:	blc@bsdwins.com
Approved by:	gad
MFC after:	1 week
2003-07-29 00:31:07 +00:00
kan
3d589bbdc6 Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.
2003-07-13 02:41:48 +00:00
kan
7b5949381a Include osreldate.h instead of sys/param.h to get __FreeBSD_version
definition. This fixes buildworld breakage on ia64.
2003-07-11 18:55:58 +00:00
kan
e16ef3051f Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
kan
365bf752c5 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
kan
e120cc9627 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
kan
d51504c4c5 Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
kan
a886ff4dbd Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
obrien
65d5f9df57 Only define a default editor if one isn't already defined. 2003-07-07 19:13:39 +00:00
obrien
8f11363180 bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
ar and nm aren't very smart when faced with multiple applicable vectors.
2003-07-01 17:29:48 +00:00
obrien
032b6e9b7e Add elf_i386_fbsd emulation.
Obtained from:	p4
2003-07-01 17:12:55 +00:00
ru
746493cc12 Fixed build.
Noticed by:	bde
2003-07-01 14:46:26 +00:00
ru
18ac6e463e Don't build separate annotate.info, it's already part of gdb.info. 2003-07-01 14:04:08 +00:00
ru
41e21bba17 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
peter
d850f7cbba Add missing quote after cut/paste error in last commit. :-( 2003-06-26 20:34:08 +00:00
obrien
a153395cfd Update the target. 2003-06-26 16:13:36 +00:00
peter
f5eb833dbf Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.

Reviewed by:  kan
2003-06-26 03:02:32 +00:00
peter
3ebd7677e2 Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
des
31e5705da5 Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
obrien
7ea86c6d90 Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
des
d84e6f299c Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
peter
baa705794e When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a.  Linking non-pic code into a shared library is not
a good thing.  It happens to break amd64 at compile time, and the ppc
folks want it too.  The problem is mainly with C++ code, unwind-dw2.c
in particular.  Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem.  The dwarf2 unwinder
is not safe though since it does make global variable references.

Reviewed by:	kan
2003-06-13 22:25:41 +00:00
peter
db4799b484 Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.
2003-06-13 22:07:39 +00:00
ru
7bf8495ee2 Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
charnier
0d5348f9ea The .Fn function 2003-06-08 09:53:08 +00:00
kuriyama
f0a040c72b Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
ru
259ec78e22 Make the footer display "FreeBSD 5.1". 2003-06-05 13:18:43 +00:00
ru
1497556a65 We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
obrien
c32790bfaf Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
obrien
4fb18559fe Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
obrien
c8226cb013 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
obrien
31eeb1fbcf crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
peter
6f281cac46 Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
2003-05-24 20:58:47 +00:00
peter
b5e718b143 libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
peter
61de490e30 Set the binutils arch for as/nm correctly on the amd64 platform.
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64".  Setting things from ${MACHINE_ARCH} breaks that.

Approved by:  re (scottl)
2003-05-08 06:39:31 +00:00
nectar
77b1a36816 Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
obrien
3926d43570 Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
obrien
676130c503 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
ru
680bad4c09 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
ru
768ea2d6e2 Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
ru
cb446c6191 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
ru
741fcd15b3 catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
obrien
e47f44a832 Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
ru
979c0d6568 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00