christos
95405cdada
PR/36664: Greg A. Woods: Document a simpler and safer way to find gcc's
...
pre-defined macros.
XXX: Where is the source of this file? Can we pass this upstream?
2007-07-18 00:00:21 +00:00
mrg
7c79844261
re-run mknative with GCC 4.1.3
2007-06-21 16:58:44 +00:00
skrll
39d5b9520a
Remove gdb 5.3 as nothing uses it now.
2007-06-21 12:51:06 +00:00
wiz
cb7051a0fc
Move puffs and refuse definitions to local override file.
2007-06-09 10:19:43 +00:00
tls
4147a3c54a
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
...
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
christos
01e5675c2a
add libssp here. requested by wiz
2007-05-23 17:01:25 +00:00
christos
77601d393f
Add missing brace, from Blair Sadewitz
2007-05-20 21:31:05 +00:00
fvdl
4a58254657
Reran mknative for kvm target support.
2007-05-15 15:44:40 +00:00
matt
4a9a0814a6
Change G_ENABLE_SHARED to yes.
2007-04-12 20:56:16 +00:00
scw
5764a76889
Remove support for NetBSD/{,evb}sh5.
2007-04-08 09:35:21 +00:00
mrg
e274239983
regenerate everything with fixed c++ math bits.
2007-03-01 01:57:15 +00:00
skrll
3d26910b10
sun2 mknative output for gdb6.
2007-02-28 08:12:13 +00:00
drochner
ce75a0ec7e
regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH
2007-02-26 11:57:52 +00:00
chs
fd090e47e8
rerun mknative (disabling sim).
2007-02-19 18:30:58 +00:00
chs
13bb388148
disable sim for mips until someone adds the rest of the build framework for it.
2007-02-19 18:26:22 +00:00
rmind
07f5c15ae5
Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
...
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
drochner
10527a675c
regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH
2007-02-07 16:52:31 +00:00
drochner
310805bbe6
regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH
2007-02-06 17:32:29 +00:00
wiz
b5d2193e6a
Add NetBSD-1.3.3 and FreeBSD-6.1 for hashinit(9).
2007-01-23 22:26:06 +00:00
mrg
b2d62876b4
regenerate these files via mknative.
...
XXX: gcc auto-host.h generation is still broken and turns off
XXX: gas "comdat" support. i have not commited these files..
2007-01-13 09:26:59 +00:00
skrll
3677759599
Deal with lex and yacc generated files for gdb in the same way as gcc.
...
That is, use the files supplied with the distribution and never attempt
to rebuild them.
Should fix PR/35271
2007-01-12 13:24:30 +00:00
ober
f5f2c9b363
Updating for the new Zaurus port as per the new-port checklist.
2007-01-05 01:26:30 +00:00
veego
7da8f89559
Add ada-exp.c and c-exp.c to CLEANFILES.
...
This was forgotten in rev. 1.5.
2007-01-01 13:09:54 +00:00
skrll
a85304c52e
Add a pid to filename conversion routine for all non-i386 platforms and
...
create the mknative output in some instances. arm, ppc, and sparc64 are
the only other ones using GDB 6 at this point.
Compile tested only.
2006-12-06 18:25:29 +00:00
christos
fd2ea8ece6
kill statck protector warning completely because more files use alloca than
...
then ones that don't.
2006-12-03 18:17:36 +00:00
christos
1ef246e307
Fix SSP build for the poor archs that have not converted yet.
2006-12-03 18:13:23 +00:00
uwe
d14ca40433
arch/sh3e{b,l} files for gdb6
2006-12-02 01:20:40 +00:00
he
d588ed2b2f
Move the .WAIT to after sim, patterned after gdb53 and to try to fix
...
the various powerpc parallel build problems exposed by our autobuilds.
2006-11-29 15:18:10 +00:00
jdc
80c18fce28
Allow ada-exp.c and c-exp.c to be built when using a read-only source tree.
2006-11-28 13:44:52 +00:00
skrll
f509028063
Provide a nbsd_pid_to_exec_file to assist with attach in a similar way
...
to the change I made to gdb 5.3.
Use on i386. Others to follow.
2006-11-25 16:38:51 +00:00
skrll
dc5413fadf
More fixes from mknative re-run.
2006-11-25 16:24:42 +00:00
skrll
4e99498a2e
Various fixes from mknative re-run.
2006-11-25 16:22:59 +00:00
skrll
768e889c8b
Delete more gcc3 stuff.
2006-11-20 17:08:35 +00:00
skrll
c68684eefc
Use GNUHOSTDIST to reference config.guess instead of an incorrect relative
...
path.
Fixes PR 35078 from Henning Petersen
2006-11-20 07:13:36 +00:00
he
f60bf42ff6
Insert a .WAIT between ppc (which makes -lpsim) and psim itself, in an
...
attempt to fix the build failures exposed by autobuild doing -j 8.
2006-11-18 20:19:24 +00:00
christos
64f067eaa0
sprinke -Wno-stack-protector
2006-11-12 01:24:44 +00:00
christos
98e199228a
Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-)
2006-11-10 17:36:08 +00:00
christos
2d8fd6a6dd
Sprinkle -Wno-stack-protector
2006-11-09 21:27:58 +00:00
christos
5a7bf522f9
Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
...
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
skrll
1d68e44fcf
Remove the hack that compiles dfa.c with -O1 on hppa. -O2 works fine.
2006-11-01 17:10:36 +00:00
apb
649ed3876d
SUBDIR += gkermit
2006-11-01 13:18:03 +00:00
apb
184243bdcc
Add reachover build for gkermit.
2006-11-01 13:17:38 +00:00
mrg
6348cc61a8
regenerate mknative-gcc files for powerpc64-netbsd and GCC 4.1-20061021.
2006-10-24 05:57:31 +00:00
mrg
e1850e2121
regenerate mknative-gcc files for GCC 4.1-20061021.
2006-10-23 07:01:19 +00:00
mrg
8d4305f309
regenerate mknative-gcc fies for GCC 4.1-20061021.
...
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
mrg
d7bc6234aa
regenerate powerpc and sparc64 mknative files for GCC 4.1-20061021.
2006-10-22 20:01:41 +00:00
apb
4d8a51bb25
Add .y.c and .y.h rules to prevent re-running yacc/bison.
...
This should fix PR 34196 and PR 34831.
2006-10-21 21:05:57 +00:00
mrg
d32c431bcc
- use PROG not PROG_CXX
...
- link with -lm -lsupc++
as discussed in the audit-trail for PR#26714, now fixed.
2006-10-09 08:32:53 +00:00
apb
8371d48da2
Install the man page for rcs2log.
2006-10-08 21:27:21 +00:00
skrll
ef1caed8be
Add m68k gdb mknative output. Untested.
2006-10-07 08:16:46 +00:00