apb
a28cf61e18
Sprinkle some "NetBSD_DISABLED_" prefixes in file names in Makefile
...
targets, to ensure that the associated commands do not run. This should
prevent source files from being overwritten at build time by autoconf
and friends. Fixes PR 45132.
2011-07-14 17:29:43 +00:00
martin
7d1d8fc18d
replace "(CORE_ADDR) (uintptr_t) NULL" by a simple "0" - avoids the dance
...
with HAVE_STDINT_H and fixes the tool build for me.
Idea from dsl, OK: mrg.
2011-07-11 18:47:01 +00:00
mrg
fc24f81836
apply a couple of (int) before r_type switch usage.
2011-07-07 07:47:11 +00:00
mrg
55bcf9d074
cast to int as the fake relocs are not in enum elf_ppc_reloc_type, and
...
GCC 4.5 complains about values not in the enum as part of a switch block.
2011-07-06 09:01:35 +00:00
mrg
fe6ec5094e
apply some -O0 for sun2.
2011-07-03 15:26:25 +00:00
mrg
67d3860982
apply some (uintptr_t) between pointers, ints and other casts.
2011-07-03 15:26:06 +00:00
mrg
f15b09a338
use:
...
extern "C" { stuff-here; }
instead of just
extern "C" stuff-here;
that GCC 4.5 demands.
2011-06-29 01:59:26 +00:00
mrg
8dbf0d5bb3
prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45
2011-06-21 04:52:49 +00:00
mrg
0de3f09ec1
remove sh5 code.
2011-06-20 09:27:43 +00:00
matt
408fc28bdd
If compiled with -msoft-float, make the compiler emit soft float code
...
by default.
2011-06-11 00:59:44 +00:00
matt
8798b98c60
If we are compiling -msoft-float, define _SOFT_FLOAT
2011-06-11 00:57:29 +00:00
tsutsui
c2c4ea5e04
Pull following m68k softfloat fixes from upstream:
...
---
Revision 109143
2005-12-29 Paul Brook <paul@codesourcery.com>
* config/m68k/fpgnulib.c (__extendsfdf2): Handle negative zero.
(__truncdfsf2): Ditto.
(__extenddfxf2): Ditto.
(__truncxfdf2): Ditto.
* config/m68k/lb1sf68.asm (__addsf3): Return -0.0 for -0.0 + -0.0.
(__adddf3): Ditto.
---
Revision 109145
2005-12-29 Paul Brook <paul@codesourcery.com>
* config/m68k/lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
Create wrapper and rename body...
(__cmpdf2_internal): ... to this. Return correct value for unordered
result.
(__cmpsf2): Create wrapper and rename body...
(__cmpsf2_internal): ... to this. Return corerct value for unordered
result.
(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2): Use
__cmpdf2_internal.
(__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): Use
__cmpsf2_internal.
---
Revision 110744
* gcc/config/m68k/lb1sf68.asm (__divsf3, __divdf3, __mulsf3,
__muldf3): Return a correctly signed zero.
---
Note:
- lb1sf68.asm revision 110744 is still GPLv2.
- fpgnulib.c is not GPLed.
2011-06-07 14:22:14 +00:00
tsutsui
078de69e1f
Pull the following revision from upstream to provide __unordsf2() and
...
other missing softfloat functions:
---
Revision 108487
2005-12-13 Paul Brook <paul@codesourcery.com>
* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
__floatunsidf, __floatunsisf, __floatunsixf): New functions.
---
Fixes link errors of sources that refer isnan() on m68000.
Note this file is not GPLed.
2011-06-06 12:02:26 +00:00
joerg
a5a3799cb4
Disable build with clang since it ends up calling __floatuntixf, which
...
this version of libgcc doesn't have.
2011-05-30 19:03:09 +00:00
joerg
28050549eb
Ignore warnings when building with clang for now.
2011-05-30 14:41:26 +00:00
drochner
ab9971ef78
add a line "image_generator gs" to the DESC file as the original
...
build framework does, lets "groff -Thtml" at least start
(it seems that ghostscript is not needed at least for simple documents)
2011-05-27 17:23:47 +00:00
joerg
a216da57a6
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
...
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
7411798a6a
Don't define explicit instantiation as inline.
2011-05-25 15:51:55 +00:00
joerg
fb659447a4
Set WARNS explicitly to 0.
2011-05-25 15:24:07 +00:00
joerg
af600442cc
Fix cast
2011-05-23 22:30:14 +00:00
joerg
2dd2550884
Avoid using a variable as format string.
2011-05-23 22:17:50 +00:00
wiz
d01698ddc5
Do not use TAB to line up library arguments, use spaces.
2011-05-21 17:15:46 +00:00
joerg
c4c86edd0d
Put the -std=gnu89 into CPPFLAGS to make sure it gets applied after the
...
-std=gnu99. Add a comment about this.
2011-05-20 22:13:22 +00:00
joerg
b4f1f8d0c4
Needs -fheinous-gnu-extensions when building with Clang
2011-05-20 21:45:35 +00:00
joerg
5bb05ebf25
Force GNU89 mode for GCC itself to deal with the non-standard
...
"extern inline" mess.
2011-05-20 21:35:02 +00:00
joerg
19d7ede99e
Clang doesn't support some of the GNU extensions here, so disable it.
2011-05-20 13:38:52 +00:00
christos
4c16c0afd2
Add missing prototype for __cmpdf2
2011-05-19 03:18:01 +00:00
christos
fdb4cc3dfa
include headers to get proper prototypes visible.
2011-05-15 16:16:08 +00:00
christos
edde9a4247
find system.h in src
2011-05-15 14:57:56 +00:00
christos
3375c9d9a4
include "system.h" for idir()
2011-05-15 14:57:35 +00:00
christos
2944c22d0c
include <sys/ioctl.h> for ioctl()
2011-05-15 14:35:47 +00:00
christos
6cea01f069
register c -> int c
2011-05-15 14:31:13 +00:00
christos
c6b5a988f9
include headers to make prototypes visible.
2011-05-15 14:30:08 +00:00
christos
6dbc927938
include posixver.h to find the prototype for posix2_version()
2011-05-15 13:55:21 +00:00
joerg
7e04890838
Fix two rather obviousbuffer overflows, one of them hitting all the time.
...
Inspired by corresponding FreeBSD patch.
2011-05-11 23:20:46 +00:00
christos
b58828d4bd
Add a no_stack_protector function attribute to localize the effect
...
of disabling stack protection on a function-by-function level, as
opposed to per source file.
2011-05-08 01:49:32 +00:00
joerg
0cef9f9563
Add MKBSDGREP switch for easy testing of the GNU grep
...
replacement/alternative.
2011-04-21 14:26:33 +00:00
joerg
dd04acc9a4
Move the headers for compiler and platform specific intrinsincs from
...
/usr/include to /usr/include/gcc-4.1.
2011-04-15 13:42:22 +00:00
joerg
c5c155b784
Add back a stylish new line.
2011-04-10 21:25:56 +00:00
joerg
63235c7b3d
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
...
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
2011-04-10 16:50:18 +00:00
joerg
6d711022e5
Don't install limits.h.
2011-04-10 16:48:51 +00:00
joerg
f9bbef6fd3
Extend CPPFLAGS, don't replace it
2011-04-10 16:47:04 +00:00
dyoung
444d8f7fa7
I've been using this patch (which comes from Matt Thomas, maybe?) for
...
about a year. It make MKCROSSGDB=yes work for macppc, at least.
2011-04-04 22:33:32 +00:00
joerg
e9921aeb08
Don't install stddef.h and friends, they don't work as intended without
...
patching. Since our own versions are fine, don't bother.
2011-03-24 13:31:30 +00:00
matt
a1de880e3c
Define HAVE_AS_TLS until our build tools figure out how to do it.
2011-03-12 07:57:38 +00:00
skrll
c86f122509
Re-run mknative to pick up TLS support..
2011-03-10 15:15:26 +00:00
skrll
95e309863f
Look for TLS on hppa on netbsd.
2011-03-10 15:14:49 +00:00
skrll
5463956946
Rename some registers to reflect reality.
2011-03-10 10:06:33 +00:00
skrll
59f75205eb
Provide more regsiters including CR27.
2011-03-03 09:43:27 +00:00
haad
6024239e67
Fix problems in libdm manual page pointed by njoly@ thanks for help.
2011-02-28 23:23:08 +00:00