mrg
0d4ef31ba8
regenerate arm, sh3el (now properly working) and sh3eb (not yet
...
properly working.)
2006-06-26 19:54:03 +00:00
wiz
e34dc7a23f
Update version numbers to sync with latest import.
2006-06-26 19:49:46 +00:00
wiz
789f1d2877
Revert last chunk of previous: makes build work again.
...
Suggested by skrll@, ok moof.
2006-06-26 19:41:01 +00:00
dogcow
62f312bd4b
revision 115002 from svn gcc; fixes PR/33816 (on my system, at least.)
2006-06-26 00:33:11 +00:00
mrg
0d6fef01af
apply a patch from pa-linux.h. makes branch offsets work properly.
...
now hp7000 builds userland. from skrll@.
2006-06-25 05:10:33 +00:00
mrg
b94c4de11c
change ggc-none.o to build-ggc-none.o in G_BUILD_RTL.
...
(avoids running mknative 16 times...)
2006-06-25 03:10:01 +00:00
mrg
2e81d433f5
clean gcov-iov{,.h} and insn-preds.c.
...
fix dependancies for build-ggc-none.lo and ggc-none.o.
2006-06-25 03:08:54 +00:00
mrg
c1f26e8c41
regenerate hppa mknative files. this mostly works but i have to
...
compile significant portions of the tree at -O1 instead of -O2, and
sometimes -Os/-O0 is required, and others none works. i'd guess that
some instructions in the .md file are generating more assembler than
they claim to be since all these errors are due too large offsets.
but fixing that is work for someone else, or at least another day :-)
2006-06-24 12:58:42 +00:00
christos
9f7792294c
Reflect reality so I don't get confused on the next import [like I did this
...
time and imported on the wrong vendor branch!]
2006-06-23 22:45:40 +00:00
christos
831d7fa82a
merge conflicts.
...
XXX: hack configure so that it works with the removal with the tools and
other os's. Perhaps in the future we should not do such cleanup.
2006-06-23 22:44:10 +00:00
christos
88d4285ac6
ftp ftp.gnu.org:/pub/non-gnu
2006-06-23 22:25:51 +00:00
christos
d150ecb1e1
add HAVE_GDB transitional build variable.
2006-06-23 21:51:42 +00:00
mrg
5378eb2368
factor out the unwind.h building code. use it for libgcc itself (needed
...
when there is no libgcc_s.)
add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00
mrg
9dcea3dbff
add GCC4 mknative files for sun2. seems to build ok..
2006-06-23 07:48:45 +00:00
mrg
0a294bff2f
oops, powerpc64-netbsd should not include rs6000/netbsd.h.
2006-06-22 21:14:04 +00:00
mrg
1e5c7c79bc
initial powerpc64-netbsd GCC configuration. this is only very minimally
...
tested and is not nearly ready for general use.
based on the 64 bit linux and 32 bit netbsd configurations.
2006-06-22 20:05:44 +00:00
gdamore
a5c89047c0
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
...
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
dogcow
444e690921
Remove various dotfiles that wandered their way in.
2006-06-18 08:59:39 +00:00
skrll
19e53faf30
More files changes in mknative re-run. I'm still cheating with
...
src/tools/gcc/Makefile
2006-06-12 11:45:33 +00:00
skrll
09e99a2e51
Re-run mknative for the gcc 3.3.6 import. There's a bit of cheating going
...
on here - mainly the use of an old src/tools/gcc/Makefile.
2006-06-12 08:00:22 +00:00
rillig
2e91b4b8d5
The shell variable $@ should never be used without surrounding "quotes".
2006-06-09 10:11:44 +00:00
christos
64bfe27594
One more coverity fix from Mark D. Baushke
2006-06-07 15:10:04 +00:00
skrll
dc4d6d7016
Backport the fix(es) for bootstrap/14992.
...
--as-needed can only be used with libgcc on Linux so update configure to
only test for --as-needed on Linux.
I've manually added the change to configure until I get the right set of
autofoo tools.
2006-06-05 12:40:07 +00:00
skrll
f93fb46540
Merge gcc 3.3.6
2006-06-05 12:25:58 +00:00
skrll
549c70ea2b
Import gcc 3.3.6.
...
144 gcc bugs were fixed between 3.3.3 and 3.3.6.
2006-06-05 10:59:57 +00:00
mrg
314025d505
add ${G_md_file} files as dependancies for tm-preds.h and insn-pred.h.
...
this should fix some build problems that happened with UPDATE=1 and
the newer GCC 4.1.
2006-06-04 04:37:47 +00:00
mrg
98983484cf
remove a comment that isn't really valid.
2006-06-04 02:30:56 +00:00
mrg
100e6c8e21
actually use the local generated options.h rather than the empty version
...
from the libgcc build dir. this should fix powerpc build issues.
2006-06-03 22:40:38 +00:00
mrg
6eca184761
bump NetBSD date
2006-06-03 07:40:16 +00:00
mrg
291b71d314
merge GCC 4.1.1-20060602.
2006-06-03 07:17:11 +00:00
mrg
ac4333ea1b
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:43:09 +00:00
mrg
6346714276
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:31:50 +00:00
mrg
761e8f140b
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:21:35 +00:00
mrg
1083f0866d
import GCC 4.1 branch from today. it includes these bugs fixed since
...
our last 4.1 branch import, plus a few other changes:
c/27718 26242 c++/27451 c/26818 tree-optimization/26622
target/27758 middle-end/27743 middle-end/27620
tree-optimization/27549 tree-optimization/27283
target/26600 c++/26757 driver/26885 tree-optimization/27603
rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
rtl-optimization/27335 target/27421 middle-end/27384
middle-end/27488 target/27158 bootstrap/26872 target/26545
tree-optimization/27136 tree-optimization/27409 middle-end/27260
tree-optimization/27151 target/26481 target/26765
target/26481 tree-optimization/27285 optimization/25985
tree-optimization/27364 c/25309 target/27387 target/27374
middle-end/26565 target/26826 tree-optimization/27236
middle-end/26869 tree-optimization/27218 rtl-optimization/26685
tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
mudflap/26789
2006-06-03 05:11:23 +00:00
mrg
bd88defe28
delete GCC2.95.3 sources.
2006-06-02 22:17:11 +00:00
mrg
db19e89e04
remove support for building (with) GCC 2.95. also:
...
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
d91ef09809
make GCC3 work for vax - without shared library support.
2006-06-02 20:00:37 +00:00
nathanw
4eb9fc62f7
mknative for amd64.
2006-06-02 15:32:09 +00:00
simonb
3eb98d14f3
Change date in the nbX part of the version string to match the date
...
the nbX change was made. The original gcc cvs/svn branch date is kept
separately.
After discussion with phone@
2006-06-01 19:21:05 +00:00
christos
c377b4c43d
More Coverity fixes from Mark D. Baushke.
2006-05-31 15:59:12 +00:00
perry
713a76184e
explain why the ordering of MAN= is like it is.
2006-05-31 13:51:48 +00:00
perry
567aeb1815
To make vdiffs for imports simpler, follow the pattern of the original
...
Makefile.in for listing the files to be installed.
No functional change at all.
Also, remove a spurious tab from after the MLINKS= line
2006-05-31 13:45:46 +00:00
simonb
f40854a95b
Bump version to nb2 for gcc bug 26565 fix.
...
Revert date back to gcc branch date of 20060420.
2006-05-31 05:58:41 +00:00
mrg
b435d26d50
add insn-modes.h to the list of header files the gen* programs .lo
...
objects depend on. now usr.bin/gcc4 is "make -j100" safe.
2006-05-31 05:13:20 +00:00
simonb
e8c51d90a5
Pull up gcc svn revision 111934:
...
PR middle-end/26565
* builtins.c (get_pointer_alignment): Handle component
references for field alignment.
Fixes aligned store problems on MIPS described in:
http://mail-index.NetBSD.org/tech-toolchain/2006/05/16/0002.html
http://mail-index.NetBSD.org/tech-toolchain/2006/05/17/0001.html
2006-05-31 05:10:14 +00:00
tron
bc543810da
Install mailq(1) and newaliases(1) as links to sendmail(1).
2006-05-31 03:06:47 +00:00
nathanw
ea1149c828
mknative run for sparc64.
2006-05-30 21:25:32 +00:00
nathanw
d275c70520
mknative run for sparc
2006-05-30 21:24:12 +00:00
tron
a36ebd2187
Install manual pages mailq(1), newaliases(1) and sendmail(1) to replace
...
the removed sendmail manual pages.
2006-05-30 19:32:28 +00:00
christos
2cbaed172f
Remove sendmail.
2006-05-30 00:42:29 +00:00
nathanw
9eca809736
More generated files for mipseb
2006-05-29 19:50:12 +00:00
nathanw
8f1f45f7a6
More generated files for arm
2006-05-29 19:50:02 +00:00
nathanw
a09a30f8de
More generated files for alpha
2006-05-29 19:49:54 +00:00
nathanw
0975b7919f
mknative-generated files for powerpc
2006-05-29 19:45:49 +00:00
nathanw
e1ac71aab3
mknative-generated files for mipseb
2006-05-29 19:45:09 +00:00
nathanw
d17fd32805
mknative-generated files for arm
2006-05-29 19:44:48 +00:00
nathanw
0d8bfa8fa0
mknative-generated files for alpha
2006-05-29 19:44:28 +00:00
nathanw
772c8321d8
mknative-generated files for i386.
2006-05-29 19:43:39 +00:00
nathanw
5b40db0f34
This file is now mknative-generated per arch.
2006-05-29 19:42:37 +00:00
nathanw
5516924be5
These are now per-arch generated by mknative.
2006-05-29 19:35:51 +00:00
nathanw
320fc8a318
Pull in a change from GDB CVS:
...
2006-01-15 Mark Kettenis <kettenis@gnu.org>
* arm-tdep.c (arm_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
2006-05-29 19:33:54 +00:00
nathanw
27dd8a33e6
Adapt to mknative.
2006-05-29 19:27:22 +00:00
nathanw
8137e86b46
Add build glue.
2006-05-29 19:26:34 +00:00
nathanw
2eb9131345
These files are now generated by the build.
2006-05-29 19:26:24 +00:00
nathanw
e1785c2582
These files are now per-arch.
2006-05-29 19:26:02 +00:00
nathanw
841d7fcb1f
Adapt to mknative defs.mk.
2006-05-29 19:20:05 +00:00
nathanw
f6ec6161ba
Use the mknative-generated headers and defs.mk.
...
(Largely copied from the analagous Makefiles under src/gnu/lib)
2006-05-29 19:18:56 +00:00
nathanw
c892b54d09
Descend into sim unconditionally; let the Makefile there take care of
...
picking the relevant platforms.
2006-05-29 19:15:30 +00:00
drochner
cb566fe802
sync RCS IDs in comments, no functional change
2006-05-27 13:37:04 +00:00
drochner
8bd6a6b9bd
reran native-gcc, fixing the COMDAT problem
2006-05-27 12:14:33 +00:00
christos
d25db4db59
Coverity fixes from Mark D. Baushke
2006-05-27 03:01:09 +00:00
mrg
f421d0c91a
regenerate. fixes mipsel HAVE_COMDAT_GROUP
2006-05-26 19:57:29 +00:00
mrg
16c4e2e447
generate new libobjc4 files and regenerate many many others.
...
XXX: re-running "make native-gcc" some times causes the
XXX: gcc/configure test for COMDAT groups to fail. a fresh
XXX: configure (ie, with no objdir/.native tree yet) seems to
XXX: fix this. right now mipsel and alpha have the wrong
XXX: definition in the checked in auto-host.h.
2006-05-24 21:20:32 +00:00
mrg
7a25dd1dc9
in the NETBSD_NATIVE case, don't set a default GCC_EXEC_PREFIX. just add
...
standard_libexec_prefix to the exec_prefixes for "GCC". this avoids a
"-iprefix /usr/bin/../libexec/" being passed to cc1* and those searching
in /usr/bin/../libexec/include{,bits/,g++} for headers.
2006-05-24 20:52:14 +00:00
mrg
512fbc0a03
- include <stdlib.h> and <string.h> where appropriate
...
- s/void volatile/void/ for a funtion return type
2006-05-23 20:11:10 +00:00
mrg
5eebeb71e5
generate options.h like we do for gcc4/backend. so far only seems to
...
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist. when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
skrll
9e33bb5bf7
Copy across the pa/t-netbsd file. Add a CRTSTUFF_T_CFLAGS_S define.
2006-05-21 06:03:55 +00:00
mrg
331828317b
mknative generated files for hppa and GCC4. seems to kinda of build, not run-tested.
2006-05-21 00:48:58 +00:00
mrg
8df5948192
make this work: #undef ASM_PREFERRED_EH_DATA_FORMAT and
...
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX before defining them. (XXX should we
use the versions in pa-linux.h? or what?)
also, convert ASM_FILE_START into TARGET_ASM_FILE_START, using the
pa_linux_file_start version.
2006-05-21 00:43:37 +00:00
mrg
e9d0e73f70
generated sh5 mknative GCC4 files. seems to build ok, but as-yet untested.
2006-05-20 20:36:03 +00:00
mrg
041a6c9d7d
pull across missing files from GCC3 tree. these don't work yet as they
...
used old-style GCC3 functions and macros.
2006-05-20 19:21:56 +00:00
mrg
bf7f38130a
fix merge botch
2006-05-20 11:06:50 +00:00
mrg
4bdc7bbc2d
add mknative files for sh3* and GCC4. these build the basics but bomb
...
out in libc due to the current implementation of va_arg() using lvalue
casts and GCC4 gets very unhappy with lvalue casts.
2006-05-20 09:57:48 +00:00
mrg
75a847818d
also -I.../gcc/config. this fixes the sh3 builds.
2006-05-20 09:56:29 +00:00
mrg
4a1ce46a44
mknative files for amd64 and GCC4. not yet known to run.
2006-05-20 04:01:34 +00:00
mrg
61772c2d25
generated sparc and m68k GCC4 mknative files. these are only build
...
tested and mvme68k was the m68k platform has been built.
2006-05-20 03:54:10 +00:00
mrg
99fe721972
fix a merge-botch for CC1_SPEC32. now we have {} balance.
2006-05-19 22:38:44 +00:00
mrg
173e1af775
generated mknative files for amd64 and GCC4. not tested but a release
...
build completes.
2006-05-19 18:41:37 +00:00
drochner
7e8ecee6be
add alpha native support
...
(a kernel compiled with gcc4 runs for me, userland untested)
2006-05-19 11:44:24 +00:00
mrg
f97e259a75
add generated mknative files for mipseb platforms. evbmips/mipseb gets
...
to kernels build now (this breaks due to current -current breakage.)
(i guess christos's csu fixes fixed the builds libgcc_s build, which was
missing symbols that i recall as being weak.)
the mips* binaries are as-yet untested.
2006-05-19 05:44:16 +00:00
mrg
804d35c095
GCC4 mknative files for armeb (big endian) and mipsel (little endian.)
...
armeb builds but mips fails in libgcc_s.so.
2006-05-18 20:20:49 +00:00
mrg
657e5b49ad
GCC4 mknative files for arm (little endian)
2006-05-18 20:18:11 +00:00
mrg
a702cc5589
regen (just rcsid changes)
2006-05-18 18:43:37 +00:00
mrg
93f5fae775
generate arm (little endian) mknative files. "evbarm" release builds,
...
but this is 100% untested yet.
2006-05-17 05:52:38 +00:00
mrg
e172949eb7
regenerate
2006-05-17 05:33:36 +00:00
mrg
d7a5ec3490
install new header mm_malloc.h that the mmx/sse headers use now.
...
fixes 3rd party app build problems reported by dogcow@.
2006-05-17 03:29:45 +00:00
mrg
09bf9ad8a0
regenerate with fixed mknative-gcc.
2006-05-15 22:10:05 +00:00
nathanw
c98620e0ca
Generated files for sim/ppc.
2006-05-15 19:14:20 +00:00
nathanw
53dc5d083a
PowerPC generated and constructed files.
2006-05-15 19:13:22 +00:00
nathanw
b350d93baa
Include xmalloc.c for psim.
2006-05-15 19:12:07 +00:00
nathanw
f5c91f0e5d
Fix up psim build.
2006-05-15 19:11:51 +00:00
nathanw
092b219bf4
i386 generated and constructed files.
2006-05-15 16:39:11 +00:00
nathanw
95e242dd40
MI generated files.
2006-05-15 16:35:40 +00:00
nathanw
eb212d66cb
GDB 6 reachover build machinery.
2006-05-15 16:31:37 +00:00
christos
1e88acc412
Use id casts instead of void * casts. Suggested by thorpej.
2006-05-15 16:31:21 +00:00
nathanw
958e368bed
Pull in a change from GDB CVS:
...
2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
* ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
arguments from void * to gdb_byte *.
2006-05-15 16:16:34 +00:00
nathanw
9c496995db
Import GDB 6.4
2006-05-15 14:21:09 +00:00
nathanw
76ae6db36e
Import GDB 6.4
2006-05-15 14:11:08 +00:00
nathanw
e7275437ab
Import GDB 6.4
2006-05-15 14:08:20 +00:00
dogcow
15d9504168
/usr/src/gnu/dist/gcc4 -> ${GNUHOSTDIST}
2006-05-15 13:40:00 +00:00
christos
7a85412dcd
We don't need -Wno-error
2006-05-15 04:57:05 +00:00
christos
07252f1516
Casts to appease gcc.
2006-05-14 02:14:33 +00:00
christos
ec71107003
Use __UNCONST() when casting away const.
2006-05-14 00:13:31 +00:00
christos
e9c9374d31
Fix uninitialized variable.
2006-05-13 23:49:02 +00:00
mrg
0e02d282f4
define ENABLE_EXECUTE_STACK to nothing so that _enable_execute_stack()
...
isn't the empty function in libgcc2.c, but the netbsd one. powerpc
seems to work somewhat better now...
2006-05-13 10:38:33 +00:00
uwe
e37068ccdf
Force building and installing libgcc_pic.a when MKPIC=yes even when
...
MKPICINSTALL=no, as it is required to build shared libraries. Move it
to comp-c-lib set to match crtbeginS.o
2006-05-13 01:50:51 +00:00
mrg
6688c1d37d
merge the LIBGCC_PICSUFFIX and NETBSD_NATIVE support from GCC3.
...
now hello.c and hello.cc both work!
2006-05-13 01:49:30 +00:00
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