Commit Graph

2077 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
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
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
skrll
7dd5787d48 Pulls over the changes from gdb mainline to fix the cast lvalues. 2006-05-10 06:18:01 +00:00
christos
cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
rpaulo
0dd97d141b Adapt to new html/readme files sync. 2006-04-22 16:05:16 +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
mrg
bd52d17906 initial import of GCC 4.1 branch, from 2006-04-20. list of changes way
too large to list, but see:
	http://gcc.gnu.org/gcc-3.4/changes.html
	http://gcc.gnu.org/gcc-4.0/changes.html
	http://gcc.gnu.org/gcc-4.1/changes.html
for the details.
2006-04-20 10:19:17 +00:00
skrll
c0d9bc63a5 Check that a .rodata section description has been provided before putting
orphan sections in it.

Closes PR/33129.
2006-04-17 07:05:17 +00:00
rpaulo
e75b544db0 resolve conflicts 2006-04-06 23:07:16 +00:00
rpaulo
53d18fe356 Postfix 2.2.10. 2006-04-06 22:55:43 +00:00
christos
6bd51d8bb0 PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.
Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
2006-04-03 17:09:58 +00:00
jmc
36787e1273 Import of gnu make 3.80 for use with gcc4 cross builds.
Downloaded from ftp://ftp.gnu.org/pub/gnu/make/make-3.80.tar.gz
2006-03-29 21:09:18 +00:00
phil
e3482ab49e Test the name array sizes before using them. 2006-03-28 19:38:44 +00:00
itojun
294eae05ea enable all address families (= IPv4 and v6), since NetBSD is IPv6-ready
with the default install.
2006-03-26 01:43:19 +00:00
christos
3f97f7ca72 Apply patch 8.13.5.p0 from sendmail.org; Although we are running 8.13.4,
this applied with mimimal fixes.
2006-03-24 16:09:01 +00:00
christos
6ba3c05c69 Fix krb4 compilation before ejection. 2006-03-20 00:28:44 +00:00
christos
ae8f65bfac make krb4 compile before I nuke it. 2006-03-19 22:58:14 +00:00
uwe
ff265b0443 In binutils 2.16 new SuperH flags were introduced. Since we still use
old gdb, teach it new flags, so that it can recognize binaries compiled
with new binutils.  For new flags set arch to an approximate superset
that this version of bfd knows about.  This is good enough for gdb.

PR port-sh3/32972
2006-03-07 02:16:23 +00:00
martin
d0f2507f92 Sync with r1.5 of configure.in - somehow I seem to have managed to not
commit the equivalent change to this file last time:
"with_cpu" is a property of the target. - reset it for each config.gcc run.
2006-02-27 20:52:21 +00:00
rpaulo
7afb97ea59 resolve conflicts 2006-02-25 22:17:12 +00:00