Commit Graph

5080 Commits

Author SHA1 Message Date
mrg
f2a1fc4b01 actually, define STANDARD_LIBEXEC_PREFIX as STANDARD_EXEC_PREFIX in
the NETBSD_NATIVE case, since that's what it really is.
2006-05-13 01:48:14 +00:00
mrg
6e5288e9d6 STANDARD_LIBEXEC_PREFIX needs to end with a /. 2006-05-13 01:43:17 +00:00
mrg
a281677257 properly build the version string with spaces. 2006-05-13 01:18:37 +00:00
christos
fc079150a4 prepend cvs_ to all the x* functions to avoid coverity conflicts with other
programs.
2006-05-12 15:41:53 +00:00
christos
7c8717d509 Revert previous coverity fixes because they were caused by the wrong model
(xstrdup() from xlint was used instead of the locally defined one). Replace
with assertions instead (from Mark D. Baushke)
2006-05-12 15:33:17 +00:00
mrg
3c3bcb101f pull across from GCC3 tree:
- __enable_execute_stack() support
- NetBSD/powerpc specific GCC configury bits.
2006-05-12 01:01:18 +00:00
mrg
014ea08324 - fix #include so that "ppc-asm.h" is found
- make sure tramp.asm is compiled properly
2006-05-12 00:59:32 +00:00
mrg
2d88bcdbb8 - export @enable_shared@ into ENABLE_SHARED (for mknative)
- disable rules for gengtype-yacc.c, gengtype-yacc.h and gengtype-lex.c
- pull across a fix for cygwin building fixincludes from GCC3 tree
- disable %.info rules.
2006-05-12 00:58:25 +00:00
mrg
5cfb97cb39 pull across a patch from GCC3 tree. the comment says it all:
# Use sh specific libgcc-std.ver to avoid exporting some
# lib1func routines which shoud not be called via PLT.
2006-05-12 00:56:35 +00:00
mrg
b41d56701a move #include to the start of the line. 2006-05-12 00:55:59 +00:00
mrg
8a15ddadaa add these generated files that really want bison. 2006-05-12 00:54:29 +00:00
mrg
85a901ce95 pull across from GCC3 tree:
>date: 2004/11/30 01:51:13;  author: jwise;  state: Exp;  lines: +21 -3
>As discussed on tech-toolchain@netbsd.org, make cpp refuse to attempt to
>parse a #include'd file which does not pass S_ISREG() if the environment variable
>CPP_RESTRICTED is set.
>
>This is primarily intended for use by programs such as calendar(1) which
>use cpp to parse untrusted user files -- without this change (and the corresponding
>change to calendar(1)), any user can cause a denial-of-service for the daily
>calendar -a run by #include'ing a named pipe.
>
>Many thanks to christos@netbsd for his help in polishing this.
2006-05-12 00:51:13 +00:00
mrg
871b78e87d switch the default model to medlow, from GCC3 tree. 2006-05-12 00:49:49 +00:00
mrg
8ff761d708 use "bv" branching on NetBSD, like on linux. from the GCC3 tree. 2006-05-12 00:47:50 +00:00
mrg
8ff76fa508 force shift target to "long" with "L" prefix, from GCC3 tree. 2006-05-12 00:47:17 +00:00
mrg
43eb93d243 pull across from the GCC3 tree:
>revision 1.2
>date: 2003/10/29 21:25:03;  author: mycroft;  state: Exp;  lines: +40 -11
>As seen on tech-toolchain:
>
>So the problem is thus:
>
>* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
>halves of the target register.
>
>* life_analysis() does not track subregister modifications -- if you don't
>modify the whole register with a single set, it considers the register
>unused.
>
>The simple, if klugy, solution to this is to stick an explicit clobber in.  It
>seems to work.
>
>While doing this, I noticed that constant folding was not happening for
>32x32->64 multiplies.  This is because the parallel set generated by
>{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
>normal multiply, and then use a define_insn_and_split to convert it to the
>parallel set after CSE and constant folding.
>
>This patch has also been submitted to GCC bugzilla, but who knows if I'll get
>a reply to that.
2006-05-12 00:46:33 +00:00
mrg
7e1fdc3c74 default to stabs, from the GCC3 tree 2006-05-12 00:44:17 +00:00
mrg
cc2bf2dacf - define __PIC__ and __pic__ when flag_pic is set.
- add GPLUSPLUS_BACKWARD_INCLUDE_DIR to the INCLUDE_DEFAULTS includes
- define GPLUSPLUS_BACKWARD_INCLUDE_DIR, TOOLDIR_BASE_PREFIX,
  STANDARD_BINDIR_PREFIX and STANDARD_LIBEXEC_PREFIX
- delete NETBSD_LIBGCC_SPEC
- define LIBGCC_PICSUFFIX as "_pic".
2006-05-12 00:43:55 +00:00
mrg
7c427e47b1 pass -Bsymbolic to ld when given -symbolic. 2006-05-12 00:42:13 +00:00
mrg
dfa8a9c641 - call this NetBSD GCC.
- use our send-pr URL.
2006-05-12 00:40:57 +00:00
mrg
d70944f410 put a couple of "noreturn" warnings under -Wno-missing-noreturn
XXX not really correct, but there is no other way to disable these
XXX warnings currently.
2006-05-12 00:40:21 +00:00
mrg
1fb90918ec pull across support for:
hppa-netbsd
	armeb-netbsd
	ia64-netbsd
	m68010-netbsd
	sparc64-netbsd
from the GCC3 tree.
2006-05-12 00:39:28 +00:00
mrg
8b372f5bf6 pull across the old -isystem-cxx support, but, because "-isystem/bar/foo"
is valid now, -isystem-cxx looks in directory "-cxx", so call it
-cxx-isystem now.
2006-05-12 00:33:26 +00:00
mrg
b94442d7df pull over from GCC3 tree:
>PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
>This wonderful patch together with yesterdays wcsftime addition, makes
>us able to use wide strings in c++
2006-05-12 00:25:57 +00:00
mrg
c5f4b7b025 undefine "rtx" before re-defining it. 2006-05-12 00:25:04 +00:00
mrg
df80da1eff only need to #include "localedir.h" if USE_NLS is defined. 2006-05-12 00:24:43 +00:00
mrg
fafcb5dc4d don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined. 2006-05-12 00:24:09 +00:00
mrg
5a7bbee727 #if 0 a warning that has no -Wno-foo flag that (often wrongly) says that
the va_start() is called incorrectly.
2006-05-12 00:20:21 +00:00
mrg
2fded4a2d3 we want a target-libiberty so we can pull mknative info out from it. 2006-05-12 00:19:09 +00:00
mrg
a6946cf17d match "sh5". 2006-05-12 00:18:30 +00:00
mrg
33ffc74201 - bump libobjc to version 2.1
- now that OBJCOPTS.file.c works, use it for the objects that need it
- always pass -fno-strict-aliasing -fexceptions like the GCC build does
2006-05-11 23:52:41 +00:00
christos
90463da1f9 Address the remaining Coverity problems from Mark D. Baushke 2006-05-11 17:47:49 +00:00
mrg
9b8d2ce51a s/register//. apply some more "const" to avoid GCC4 warnings. 2006-05-11 10:29:04 +00:00
mrg
c7dc676533 cast the functions assignments for gnu_v3_abi_ops.is_destructor_name
and gnu_v3_abi_ops.is_constructor_name as appropriate.
2006-05-11 00:32:21 +00:00
mrg
89318da5dd add the build framework for in-tree GCC4 libraries, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:53:49 +00:00
mrg
ef37f7a679 add the build framework for in-tree GCC4 programs, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:48:11 +00:00
mrg
084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
skrll
7dd5787d48 Pulls over the changes from gdb mainline to fix the cast lvalues. 2006-05-10 06:18:01 +00:00
mrg
0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
mrg
2427b03e9b GCC4 subdir is actually called "libstdc++-v3_4" 2006-05-09 19:29:13 +00:00
tsutsui
b367369f5f Remove HACK for m68k ra-colorize.c bug in gcc-3.3.2 since current
self build (with gcc-3.3.3) on hp300 has worked fine without this.

Maybe we could remove this HACK for m68000 too, but I can't confirm it
because it's too slow even on the emulator and it's unlikely to build
whole toolchains on sun2 with its maximum 4MB RAM...
2006-05-08 14:42:22 +00:00
christos
cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
wiz
09ca6f5fba Ah well, fix 3.0.1 entry too. 2006-05-03 21:43:31 +00:00
wiz
431c596f83 Fix 3.1 entry. 2006-05-03 21:43:10 +00:00
tron
73502fa292 Add NetBSD 3.0.1 and 3.1 to the list of recognized operating systems. 2006-05-03 20:56:54 +00:00
rpaulo
0dd97d141b Adapt to new html/readme files sync. 2006-04-22 16:05:16 +00:00
rpaulo
0f3bfedda4 Add AAAREADME and DB_README. Keep html files in sync. 2006-04-22 16:04:25 +00:00
rpaulo
94cc274ebe Adapt to our file location and to the files we install.
Discussed with Perry and Wietse Venema.
2006-04-22 12:56:36 +00:00
mrg
294cfe6c44 don't rebuild configure, Makefile.in or config.h.in without explicitly
asking for it.
2006-04-21 03:41:51 +00:00
skrll
61458fa35f Do a mknative run to pick up (for real) the added support for various
features.

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00