Commit Graph

146888 Commits

Author SHA1 Message Date
mrg
249a83a430 sprinkle some (char *) to pacify GCC4. 2006-05-12 01:56:39 +00:00
mrg
e13fd87f5f use -Wno-pointer-sign with GCC4. 2006-05-12 01:54:57 +00:00
mrg
132e581078 remove a couple of extra externs 2006-05-12 01:54:32 +00:00
mrg
accf138991 netbsd authunix_create() actually takes an array of int not gid_t. 2006-05-12 01:28:34 +00:00
mrg
3479c0a6a2 can't fit "256" in an 8bit value, don't have a switch case for it. 2006-05-12 01:27:27 +00:00
mrg
20265245bf use -Wno-pointer-sign with GCC4. 2006-05-12 01:26:05 +00:00
mrg
e294fdae0a avoid a GCC uninitialised variable warning. 2006-05-12 01:25:44 +00:00
mrg
0337fbac37 make [OU]READ[124]() real inline functions instead of macros. 2006-05-12 01:25:00 +00:00
mrg
3adabe6283 - -mcpu=i386 is gone in GCC4
- we need -Wno-attributes (to avoid __packed__ warnings)
- use -Wno-pointer-sign
- remove some redundancy from pxeboot/Makefile
2006-05-12 01:23:51 +00:00
mrg
126f7e1139 since ar_tha() can return NULL, don't pass it directly to functions
that expect real addresses.  explicitly KASSERT() that it is not
NULL in the kernel and just avoid using it userland.

(the kernel could be more defensive about this, but, until now it
would have just crashed anyway.)
2006-05-12 01:20:33 +00:00
mrg
16efbf8575 don't do the -Wno-pointer-sign dance for host programs. 2006-05-12 01:18:25 +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
rillig
cbe8405661 Added another regression test which is currently commented out, since it
is not yet fixed.
2006-05-12 00:05:59 +00:00
mrg
ce51c72be5 quell GCC 4.1 uninitialised variable warnings. 2006-05-11 23:54:39 +00:00
mrg
340a97942e if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess. 2006-05-11 23:53:14 +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
mrg
1751f5c2bc update the lists for GCC4 uninit warnings and GCC4 pointer sign/strict
aliasing warnings.
2006-05-11 23:51:06 +00:00
mrg
43419a069b sprinkle a little (char *) to quell GCC4. 2006-05-11 23:50:15 +00:00
mrg
1ed40e7c8b add support for ${OBJCOPTS} and ${OBJCOPTS}.<lib|prog|fn>. 2006-05-11 23:47:34 +00:00
mrg
aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
mrg
b18db50b21 cast the return value of several macros that evaluate to "(func() == FOO)"
to (void) to avoid "computed value not used" warnings.
2006-05-11 22:26:54 +00:00
mrg
ae844d5313 turn on -Wno-pointer-sign for all kernel code. 2006-05-11 22:24:48 +00:00
mrg
2a5124235b if we are going to cast the 3rd argument to accept_info_request(),
use the right type.
2006-05-11 21:17:02 +00:00
gdamore
37aa1cc453 Added entries for edid, ddc, vesagtf, and ddc_read_edid. 2006-05-11 21:11:29 +00:00
gdamore
fb287f2aae Added ddc.4, ddc.9. and edid.9 2006-05-11 21:06:41 +00:00
gdamore
1247b1ef2d Add preliminary documentation for DDC and EDID subsystem. 2006-05-11 21:00:18 +00:00