Commit Graph

5628 Commits

Author SHA1 Message Date
hannken 98f8b098aa Process FILES section only at "install" time. TOOL_AWK is not yet available
for earlier make targets.

Ok: Alan Barrett <apb@netbsd.org>
2008-10-22 17:54:23 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
mrg 6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00
mrg 86340158d0 - install ldscripts on sparc64
- move ldscripts to /usr/libdata/ldscripts
2008-10-12 23:00:53 +00:00
mrg 52f0cd9c9e switch to per-arch multilib.h since we now use them.
now, given a correctly populated /usr/lib/{i386,sparc} directory, you
can "cc -m32" on amd64/sparc64 and have it be useful.

note that a trivial copy of 32 bit /usr/lib will not work, since you
end up with symlinks to the 64 bit /lib.  work on that part is in
progress...
2008-10-12 10:08:13 +00:00
mrg 9917d709a8 - add a i386/t-netbsd64 makefile fragment to build 32/64 bit
libgcc/multilib on amd64
- enable the 32/64 bit libgcc/multilib support on sparc64
- adapt mknative-gcc to grab multilib.h
- use --enable-multilib on amd64 and sparc64

none of this affects the installed tools yet, just the src/tools one.
2008-10-11 05:03:43 +00:00
tron 8bc4e96cb9 Disable "-Wstack-protector" in a slightly nicer way. 2008-10-06 14:20:12 +00:00
mrg 5e3d72fe31 move the code that sets ld_vers and other variables so that it is
always executed, regardless of cached values.  this lets the comdat
version test for gas work properly.
2008-10-06 00:07:08 +00:00
mrg 983106fbb3 fix a 2 year old fix that broke genmultilib. ${CONFIG_SHELL}
wasn't expanded inside cat >tmpmultilib<<\EOF due to the \.
use two cat's to generate these files now, one with EOF and
one with \EOF.
2008-10-05 23:04:00 +00:00
tron c923257caa As "libgcov.c" uses alloca(3) (*yuuuk*) disable "-Wstack-protector" to
fix the build with "USE_SSP" set to "yes".
2008-09-25 17:40:05 +00:00
hubertf b64bc91804 Simplify argument passing, recommended by christos@ 2008-09-24 21:26:59 +00:00
dogcow 0671e7638a If you're going to add c99's entries to the setlists, you probably want to
descend into the directory. (HI HUBERT!)
2008-09-24 02:19:45 +00:00
hubertf bce82202b3 Fix standard name, add c99 features, misc other cleanup. 2008-09-24 00:19:46 +00:00
hubertf 3315dfcbf7 Implement /usr/bin/c99 script as wrapper for cc to run in C99 compatible
mode. Patch submitted by Andy Shevchenko <andy.shevchenko@gmail.com>
on tech-userlevel.
2008-09-23 23:59:03 +00:00
skrll 826062446a Build and install a libgcov. 2008-09-23 06:59:42 +00:00
skrll 085bc41d78 Centralise arch/${MACHINE_ARCH}.mk inclusion.
Thanks to Tyler (rtr).
2008-09-18 12:20:19 +00:00
lukem 915ac4056f Revert rev 1.9:
* we now disable gettext by not defining ENABLE_NLS,
 * we now link in the xmalloc/xstrdup/xexit replacements explicitly.
Reduces differences to upstream.
2008-09-09 06:32:59 +00:00
lukem d455051090 Don't define ENABLE_NLS if HOSTTOOL is defined
Link in xexit.c xmalloc.c xstrdup.c
2008-09-09 06:31:32 +00:00
hubertf 16cf150807 Reduce size from 1407 bytes to 46 bytes by removing the copyright
notice.  OK'd by the copyright holder (board@).
Inspired by true(1) and false(1).
2008-09-08 12:49:50 +00:00
tsutsui 5194ba87d6 Add landisk. 2008-09-06 04:49:31 +00:00
lukem 541f0f8572 MAKEVERBOSE support 2008-09-03 11:58:30 +00:00
dogcow aedef3bb4f eliminate the need for gettext() when building the host-only tool. 2008-09-03 09:55:23 +00:00
christos 79f2702201 de-couple the makedoc build from libcommon. 2008-09-02 14:46:53 +00:00
christos 3836efcb15 re-enable now that we have a newer texinfo 2008-09-02 09:28:53 +00:00
christos 4ef43ee396 resolve conflicts 2008-09-02 08:41:51 +00:00
christos 29a97b91d6 addjust for texinfo 4.8 2008-09-02 08:38:35 +00:00
christos 834f5c54aa resolve conflicts. 2008-09-02 08:00:24 +00:00
christos 14e22615fd import last gplv2 version 2008-09-02 07:45:41 +00:00
mrg 33fb41cc00 re-run mknative-gcc for gcc-4.1-20080831.
XXX: powerpc and sh3eb files got WORDS_BIGENDIAN define wrong.
XXX: hand patched the correct for now, and will be investigating
XXX: why this is happening now.
2008-09-01 23:52:24 +00:00
mrg 674db90903 merge cornflakes from gcc-4-1-20080831-139820 2008-08-31 09:51:31 +00:00
mrg d85c56d01b import GCC 4.1-branch from 20080831 / svn 139820.
this fixes at least these GCC PR's:

	middle-end/35163
	target/34393
	middle_end/34150
	middle-end/34627
	middle-end/33631
	c++/34950
	c++/34774
	c++/35007
	libstdc++/20448
	libstdc++/20451
2008-08-31 09:39:12 +00:00
mrg 603b7728c3 import GCC 4.1-branch from 20080831 / svn 139820.
this fixes at least these GCC PR's:

	middle-end/35163
	target/34393
	middle_end/34150
	middle-end/34627
	middle-end/33631
	c++/34950
	c++/34774
	c++/35007
	libstdc++/20448
	libstdc++/20451
2008-08-31 09:28:43 +00:00
mrg e03df4d47b regen for this commit:
revision 1.9
date: 2008/08/31 08:16:45;  author: mrg;  state: Exp;  lines: +11 -17
move the AC_CACHE_CHECK(__stack_chk_fail, [ ... ]) code out
of the linux-specific section, so that it will be used by
everyone.

use AC_CHECK_FUNS() to check for __stack_chk_guard on netbsd.

now this test is properly cross-compile friendly.
2008-08-31 08:17:21 +00:00
mrg 556a5211d2 move the AC_CACHE_CHECK(__stack_chk_fail, [ ... ]) code out
of the linux-specific section, so that it will be used by
everyone.

use AC_CHECK_FUNS() to check for __stack_chk_guard on netbsd.

now this test is properly cross-compile friendly.
2008-08-31 08:16:45 +00:00
erh 8b7bd7be50 LICENSE and TLS_LICENSE have moved in the postfix distribution. Install them
from the correct location.
2008-08-30 23:14:38 +00:00
erh 2ea4e696c1 The RELEASE_NOTES file is no longer in the current directory, but one level up. 2008-08-30 21:55:17 +00:00
christos a17638d840 resolve conflicts 2008-08-30 10:54:24 +00:00
christos d7398d0e67 import 2.5.4 2008-08-30 10:25:50 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
lukem 71a1b40916 Crank version to "2.5.1 nb1" for the change that adds a
warning when -r is used without a directory.
2008-08-28 04:01:05 +00:00
lukem 68640ea669 Issue a warning if -r is used without a directory:
grep: warning: recursive search of stdin

Patch from:
	http://savannah.gnu.org/patch/?6474
originally from:
	http://www.opensource.apple.com/darwinsource/Current/grep-24/patches/PR-4053512.diff
2008-08-28 03:59:06 +00:00
drochner 15efbe0f34 Back out an old local modification (originating from PR lib/29832)
which effectively disables *wprintf and *wscanf functions in
the std namespace. We have wchar support now.
(It might be necessary to do a "make clean" in
src/gnu/lib/libstdc++-v3_4/include for this to have effect.)
2008-08-27 14:38:58 +00:00
uwe dd998af85f shnbsd_software_single_step: There's no need to write back next_pc and
it actually messes things up if single step was interrupted with a
signal - we end up skipping the instruction we wanted to step.

There are still some corner cases, but at least it works enough to do
useful debugging in presence of signals.  Discovered while debugging
ntpdate where this problem was triggered by SIGALRM.
2008-08-27 01:05:42 +00:00
martin 603c49b548 re-mknative after recent gcc configure change for m68k 2008-08-24 08:51:11 +00:00
martin 92ee6fcbd5 Do not completely overwrite tm_defines in m68k specific target selection,
it may have been set globaly before for NETBSD_ENABLE_PTHREADS.
This caused wrong (old, pre NetBSD 2.0) builtin specs for m68k.
Fixes PR toolchain/38931.
2008-08-24 08:38:14 +00:00
lukem d9803a148e Create BUILDSYMLINKS for all files in G_LIB2ADD that are in ${GNUHOSTDIST},
not just .asm files.
Fixes hp700 for PR 39367, and a related problem on powerpc64 platforms.
2008-08-17 07:47:48 +00:00
lukem 18a7b6ae04 Tweak rules to disable generation of .c files from .l / .y.
(Goal is to minimize differences with the vendor file)
Fix PR 38152.
2008-08-12 10:09:31 +00:00
lukem 4ccf8439eb Use BUILDSYMLINKS & CPPFLAGS.foo rather than cat & cp for m68000 overrides.
Lightly tested on m68000 cross-compile; the resulting .o files are the
same as before this change.
2008-08-04 06:59:47 +00:00
lukem 044c3465a8 Use BUILDSYMLINKS instead of custom rules for ${G_LIB2ADD} and unwind.h
Add some MAKEVERBOSE love.
2008-08-04 04:55:55 +00:00
lukem d929f5af49 Add an explicit rule for ${OBJS}: ${DPSRCS}, since <bsd.prog.mk>
doesn't provide that any more, and this Makefile uses the latter
in a non-standard fashion.
Fixes "make" in a clean directory when "make depend" has not been run.

Use DPSRCS rather than hand-crafted rules to achieve the same effect.
2008-08-04 04:53:22 +00:00