theraven
b1b87d698b
Clean up some symbol versions for libsupc++ / libcxxrt.
...
MFC after: 1 week
Reviewed by: kan
2012-06-11 15:40:57 +00:00
des
a5121758e9
Add mangled symbols for operator new / delete on 64-bit platforms.
...
Reported by: decke@
MFC after: 1 week
2012-06-05 12:34:08 +00:00
theraven
13fb9be43f
Correctly export operator new / delete for things linking against libsupc++ but
...
not libstdc++.
Unfortunately, it appears that libsupc++ / libstdc++ have a different idea of
the type of size_t to the rest of the world, which may cause problems later
on...
Reported by: des
MFC after: 1 week
2012-05-28 12:11:00 +00:00
marcel
2eebdc0629
Don't recurse into libssp when MK_SSP is set to no.
2012-05-21 16:03:44 +00:00
davidxu
e7da48dd43
Print key value, an index, otherwise we don't know which key is allocated.
2012-05-21 03:06:31 +00:00
marcel
3ba6deabb6
Build the "S" objects with the same name they get installed under.
...
That is, build crtbeginS.o and crtendS.o instead of crtbegin.So and
crtend.So. Remove the name substitution during install.
Obtained from: Juniper Networks, Inc.
2012-05-17 20:38:01 +00:00
marius
12b5e40a29
Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround
...
in place allowing it to be used there and since r235388 (see also r235486)
we also have usable div/mod optimizations like libgcc has.
2012-05-15 22:47:34 +00:00
gabor
52bc32b6b5
- Hook up BSD sort to the build. By default, it will be installed as
...
"bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT
is set, BSD sort will be the default "sort" and GNU sort will be installed
as "gnusort".
2012-05-11 12:47:21 +00:00
gjb
c12b44c606
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
kib
ddc9116307
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
...
toolchain binaries as dynamically linked. Option is disabled by
default.
Reviewed by: ru (previous version)
MFC after: 2 weeks
2012-04-29 09:32:44 +00:00
marcel
b9326e9060
Allow building a powerpc cross-kgdb.
2012-04-27 20:16:20 +00:00
dim
bb98136ca2
Revert r234356 for now, as it leads to run-time problems on 32-bit
...
PowerPC. Note this will break world.
Reported by: andreast
Pointy hat to: dim
2012-04-23 06:33:27 +00:00
imp
fa376dd086
Replace a bare use of nm with ${NM} for easier cross compilation in
...
environments where nm is spelled differently.
2012-04-21 16:02:00 +00:00
dim
0b9f8d0983
Work around an issue on 32-bit PowerPC, where clang executable can get
...
too big, causing 'relocation truncated to fit' errors at link time.
Reviewed by: nwhitehorn
2012-04-16 21:36:55 +00:00
theraven
edca5630e2
Make libsupc++ build as a shared library and make libstdc++ a filter library
...
for it.
This allows people to swap out libsupc++ for libcxxrt easily, so we can begin
the libstdc++ -> libc++ migration.
Approved by: dim (mentor)
2012-03-31 14:25:12 +00:00
jmallett
4544b2987d
Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
...
This makes our naming scheme more closely match other systems and the
expectations of much third-party software. MIPS builds which are little-endian
should require and exhibit no changes. Big-endian TARGET_ARCHes must be
changed:
From: To:
mipseb mips
mipsn32eb mipsn32
mips64eb mips64
An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.
2012-03-29 02:54:35 +00:00
gonzo
f150c5bbfc
Make default ABI for as(1) to be the same as target platform.
...
This change makes object files compiled with default flags by
gcc and as compatible.
2012-03-23 19:37:45 +00:00
jmallett
aea1dfe9df
Note two shortcomings of GDB on MIPS that should be addressed.
2012-03-13 04:50:41 +00:00
dim
2a09710001
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
...
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.
Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If
you want to disable gcc completely, you must use WITHOUT_GCC.
MFC after: 2 weeks
2012-02-29 22:58:51 +00:00
gonzo
322eb429d2
Enable TLS support for ARM toolchain
...
Reviewed by: cognet
2012-02-14 00:18:18 +00:00
kib
3572bdc783
Adopt to new layout of struct pcb.
...
MFC after: 1 month
2012-01-21 17:50:14 +00:00
ed
343f2eb0fe
Don't include <sys/timeb.h>.
...
Including this header file causes a compilation warning. The code builds
perfectly fine without this header file.
2012-01-08 12:38:41 +00:00
rwatson
34d1f6f04c
Add missing -w to kgdb(1)'s usage().
...
Sponsored by: Adara Networks, Inc.
MFC after: 3 days
2012-01-04 21:26:47 +00:00
dim
161a99dd74
Define YY_NO_INPUT when building libbinutils, to prevent warnings about
...
unused input() functions emitted by lex.
MFC after: 1 week
2011-12-16 22:19:13 +00:00
ru
94813cd407
Pull up vendor changes to mdoc(7).
2011-12-08 13:54:06 +00:00
bapt
1d0a25d803
upgrade gperf to the last GPLv2 version (3.0.3)
...
Reviewed by: cognet
Approved by: cognet
2011-11-28 12:29:16 +00:00
fjoe
8b2f6e43b6
libodialog: Remove no longer used library.
2011-11-24 20:34:50 +00:00
fjoe
6b1253786d
libodialog: disconnect from the build and obsolete.
2011-11-24 20:31:06 +00:00
fjoe
ea44d4d104
Use ${VAR} instead of $(VAR) consistently.
2011-11-24 14:17:04 +00:00
andreast
cb931ce693
Rename the linker emulation name for powerpc and powerc64. This is needed that
...
we can also use the upstream binutils linker where we have to have a unique
name for the FreeBSD emulation.
2011-11-19 19:25:57 +00:00
dim
897775d6ee
When one attempts to compile the tree with -march=i386, which also used
...
to be gcc's default before r198344, calls to atomic builtins will not be
expanded inline. Instead, they will be generated as calls to external
functions (e.g. __sync_fetch_and_add_N), leading to linking errors later
on.
Put in a seatbelt that disables use of atomic builtins in libstdc++ and
llvm, when tuning specifically for the real i386 CPU. This does not
protect against all possible issues, but it is better than nothing.
2011-11-06 14:07:23 +00:00
obrien
de7cfd8b49
* Don't give the impression that this compiler is GPLv3.
...
(It is "well known" that GCC 4.2.2 is GPLv3.)
* Don't give the impression that this compiler isn't "trustable".
* Fix dependency nit.
2011-10-24 20:52:41 +00:00
dim
f0aea6a474
Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.
2011-10-18 17:38:25 +00:00
eadler
9d7884364e
- change "is is" to "is" or "it is"
...
- change "the the" to "the"
Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days
2011-10-16 14:30:28 +00:00
kensmith
b7aac9c4e0
Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
...
it from the 9.0-RELEASE release cycle code freeze.
Approved by: re (implicit)
2011-09-26 02:27:04 +00:00
cognet
a6e9ddddea
Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn't
...
used anyway, and it breaks the build, since sys/ptrace.h now includes
<machine/reg.h>
Approved by: re
2011-08-26 15:24:54 +00:00
jhb
b4f786b37c
Walk the zombproc list as well as the allproc list when enumerating threads
...
and processes in a kernel image. This allows examination of threads that
have exited or are in the late stages of exiting.
Tested by: avg
Approved by: re (kib)
MFC after: 1 week
2011-08-19 21:28:40 +00:00
marius
4f6bed279c
Compile fbsd-threads.c. Amongst others this is necessary for a working
...
kgdb(1).
Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week
2011-08-06 17:53:45 +00:00
nwhitehorn
7c690c1aa8
Update dialog to 1.1-20110707.
2011-07-14 14:01:36 +00:00
pluknet
254766d869
Provide a simple manual page for libprocstat(3).
...
Reviewed by: jilles, gjb
2011-07-12 13:46:13 +00:00
obrien
16e8233bf4
Simply post r222273.
2011-06-08 21:29:33 +00:00
ru
c828da79d9
Added FreeBSD 8.3.
2011-06-08 08:16:32 +00:00
ru
9c3130fd8b
Pull up all vendor changes to mdoc(7).
...
This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.
PR: gnu/154822
2011-06-08 08:08:42 +00:00
attilio
27825059cd
Revert r222363, as bde@ pointed out the initial solution was far more
...
correct.
2011-05-31 20:59:53 +00:00
attilio
cc1bd831c1
Style fix: cast to size_t rather than u_long when comparing to sizeof()
...
rets.
Requested by: kib
2011-05-27 16:01:51 +00:00
attilio
867c6223e7
MFC
2011-05-26 17:38:00 +00:00
obrien
0b7fec6762
Build and install a BSD licensed grep.
...
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.
Discussed with: brooks
2011-05-25 01:04:12 +00:00
attilio
0372174d48
MFC
2011-05-19 22:55:37 +00:00
imp
4633a79407
Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
...
over building gcc and binutils. They default to true, unless
MK_TOOLCHAIN is no.
Reviewed by: ru@
2011-05-19 05:13:25 +00:00
attilio
548a471624
MFC
2011-05-14 02:28:26 +00:00