Commit Graph

5569 Commits

Author SHA1 Message Date
christos 872dac48eb /var/lib -> /var/db by popular demand. 2008-06-25 01:32:37 +00:00
christos db19bd9062 resolve conflicts. 2008-06-22 14:38:40 +00:00
christos 31670fd55d fix build. 2008-06-22 14:38:13 +00:00
christos a903102c9a import 2.5.2, requested by perry, approved by releng. 2008-06-22 14:02:40 +00:00
adrianp 8aae81d82f Fix for PR #33551 (a.k.a CVE-2006-2362)
Back port from the binutils CVS tree

Buffer overflow in getsym in tekhex.c in libbfd in Free Software Foundation
GNU Binutils before 20060423, as used by GNU strings, allows context-dependent
attackers to cause a denial of service (application crash) and possibly
execute arbitrary code via a file with a crafted Tektronix Hex Format (TekHex)
record in which the length character is not a valid hexadecimal character.
2008-06-22 14:02:39 +00:00
christos 0eea94d78f import 2.5.2, requested by perry, approved by releng. 2008-06-22 14:00:13 +00:00
christos b4e47fa186 import 2.5.2, requested by perry, approved by releng. 2008-06-22 13:59:17 +00:00
christos e5a95dcfd5 usage message 2008-06-22 13:55:05 +00:00
lukem f70851c953 Install ldap_table(5). 2008-06-11 23:54:43 +00:00
christos 8fd0026c5b add one more dependency. 2008-05-31 16:05:20 +00:00
christos a81b2a4e6c Restore functionality lost during the libcpp conversion: cpp -CC should convert
// comments to /* comments */ not only during macro definition, but also
macro argument collection. Otherwise the following:

    #define b(a) a
    main {
	b(
	// 1);
	0);
    }

gets expanded to:

    main()
    {
	    return //          1); 0;
    }

instead of:

    main()
    {
	    return /*          1);*/ 0;
    }
2008-05-30 15:12:24 +00:00
wiz d493f8ddf4 Add FreeBSD 7.0 for libgssapi man pages. Noted by joerg. 2008-05-28 07:14:12 +00:00
christos 9f25c42945 Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing:

    i386--netbsdelf-gcc: .: linker input file unused because linking not done
2008-05-25 21:37:02 +00:00
wiz c21d6784dc Do not use tabs here -- they will be used literally. Use spaces instead. 2008-05-25 20:04:52 +00:00
lukem 6258c039ac Compile in LDAP if ${USE_LDAP} != "no".
XXX: untested.
2008-05-22 14:45:42 +00:00
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
tsutsui 407e634a58 Pull the follwoing fix from upstream:
http://gcc.gnu.org/viewcvs/trunk/gcc/config/m68k/m68k.md#rev117181
>       * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
>       -2147483647 - 1 instead of 0x80000000.

Fixes "internal compiler error: in do_SUBST" on compiling
floating point ops with -msoft-float or -m68010 on LP64 hosts,
and may also close PR toolchain/38359.  Tested on alpha.
2008-05-01 23:50:32 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos 29c39f7ad5 Add -lc when -shared so that all shared libraries built by the compiler
have a dependency to -lc. To avoid adding that dependency in -lc and -lgcc*
we add -nostdlib to the compile rules.
2008-04-27 23:49:27 +00:00
uwe 95c5c2aebe Defer wide int L/LL suffix choice in insn-*.c until we compile for
host using correct set of HOST_WIDE_INT* defines.  Fixes compilation
of native sh3 gcc on 64-bit build machines.

Background and details in NetBSD PR 34549 and GCC bug 32497.
Tested by Joerg and myself.

Approved by "looks ok, but let some other guy decide" from ~all of our
gcc folks.
2008-04-22 22:06:01 +00:00
mrg 9770ba3578 bump libbfd major since its ABI changed 2 weeks ago. 2008-04-20 07:11:21 +00:00
tsutsui 3ac5edae14 Add more required libraries in proper order.
Fix build error in NOPIC case.
2008-04-10 13:49:53 +00:00
skrll 9a2b7df6e3 Apply fix from binutils-current so that sparc gdb can be cross built
on a 64bit host.

Problem reported by mrg.
2008-04-09 10:26:20 +00:00
matt 2c2b152b21 Add support for --ignore-unresolved-symbol 2008-04-03 15:40:17 +00:00
mrg a2ab41e161 s/exit 0/true/ in the main target so that this works if interrupted
between "mkdir" and libiberty.a being built.
2008-03-25 03:59:17 +00:00
skrll 482dcc2f35 #include "nbsd-nat.h" 2008-03-17 20:01:12 +00:00
skrll 1c84a0c3c5 Add nbsd_pid_to_exec_file to target ops. 2008-03-17 17:39:15 +00:00
skrll 7fa564a753 strcmp doesn't taken a length argument. 2008-03-15 12:19:41 +00:00
skrll b86cd2b1b2 Re-run mknative. 2008-03-14 20:22:16 +00:00
skrll a21274d611 Pull in some updates for NetBSD/sh gdb from wrstuden-fixsa.
- support siginfo trampoline detection/unwind
- modernise wrt core file regsets
- use inf-ptrace
2008-03-14 15:48:59 +00:00
skrll 06c967f126 Modernise NetBSD/alpha gdb - taken from gdb-current.
Add support for siginfo trampolines as well as sigcontext.
2008-03-13 18:18:15 +00:00
tls 804778b0a3 Fix build issue on modern OS/X (particularly 10.5 on powerpc) 2008-03-07 14:57:09 +00:00
drochner b0666c0ebd install pmmintrin.h for SSE3 2008-02-26 10:55:49 +00:00
lukem ab42b1842c Various groff manual pages need tbl(1) to format correctly. 2008-02-26 03:20:07 +00:00
skrll ba36d19a6b Catch up with kernel frames on amd64. 2008-02-09 11:43:58 +00:00
mrg ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
mrg e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00
mrg 0190531f12 regen for GCC 4.1-20080202. 2008-02-05 02:23:22 +00:00
mrg 62eb13e7b7 add a NetBSD_DISABLED_foo rule for arm-tune.md. 2008-02-05 02:21:59 +00:00
mrg 399266cb7b use C comments, not C++ comments. 2008-02-04 04:20:51 +00:00
mrg df589eb5b4 add a couple of #ifdef USE_TLS blocks to help MKCRYPTO=no link. 2008-02-04 02:21:30 +00:00
mrg c2b313f307 bump NetBSD date. 2008-02-03 22:15:38 +00:00
mrg 9805c65117 merge gcc-4-1-20080202-132073. 2008-02-03 02:48:44 +00:00
mrg a67241065b upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-03 00:08:23 +00:00
mrg b8deac4d69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 23:40:02 +00:00
mrg 987268dd69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 22:46:12 +00:00
christos 99a86a6512 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition
2008-02-02 17:12:44 +00:00
christos 9aa2376bc7 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
avoid getcwd redefinition
2008-02-02 17:11:01 +00:00
skrll 572591cbe8 Update some comments. 2008-01-25 12:35:48 +00:00