Commit Graph

5496 Commits

Author SHA1 Message Date
wiz deb6da4b83 Add macros for FreeBSD 6.3 and libarchive. 2007-08-06 23:38:49 +00:00
heas 571ff43dba New files from 2.4.5 2007-08-02 08:29:04 +00:00
heas ad7967a461 Resolve conflicts 2007-08-02 08:26:18 +00:00
heas 1f8ae20c33 Update Postfix to 2.4.5.
2.4.2 through 2.4.5 include various build, milter, and other fixes.
2007-08-02 08:04:21 +00:00
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
mrg 70d2e95cee merge GCC 4.1-20070620. 2007-06-21 04:01:59 +00:00
mrg f73a50514d import GCC-4.1 branch from 20070620 (revision 125891). this fixes 78
GCC PR's listed below, and also fixes some netbsd PR's.

	30370
	C++/28988
	C++/30016
	C++/30168
	C++/30221
	c++/28999
	c++/30536
	c++/30847
	c++/30852
	c++/30895
	c++/31074
	c++/31449
	c++/31517
	c++/31806
	c++/31809
	c/31520
	debug/29906
	debug/30189
	inline-asm/32109
	libstdc++/28125
	libstdc++/30586
	middle-end/24427
	middle-end/29683
	middle-end/30313
	middle-end/30364
	middle-end/30433
	middle-end/30473
	middle-end/30729
	middle-end/30761
	middle-end/31448
	middle-end/32285
	objc/27438
	objc/30479
	other/27843
	preprocessor/30468:
	rtl-optimization/28011
	rtl-optimization/28173
	rtl-optimization/28772
	rtl-optimization/29329
	rtl-optimization/29599
	rtl-optimization/30643
	rtl-optimization/30787
	rtl-optimization/30931
	rtl-optimization/31691
	target/18989
	target/19087
	target/25448
	target/26090
	target/28623
	target/28675
	target/29487
	target/30289
	target/30483
	target/30848
	target/31022
	target/31123
	target/31137
	target/31245
	target/31361
	target/31380
	target/31480
	target/31582
	target/31641
	target/31701
	target/31876
	target/32163
	tree-opt/30045
	tree-optimization/26643
	tree-optimization/26854
	tree-optimization/26998
	tree-optimization/27087
	tree-optimization/29446
	tree-optimization/29925
	tree-optimization/30212
	tree-optimization/30590
	tree-optimization/30823
	tree-optimization/31632
	tree-optimization/32353
2007-06-20 22:55:47 +00:00
wiz cb7051a0fc Move puffs and refuse definitions to local override file. 2007-06-09 10:19:43 +00:00
he 47b1d7c5c4 Commit generated file after correcting to use the "standardized"
variable for overriding SSP functionality location test.
2007-06-07 15:56:48 +00:00
he 678b5429b3 Instead of inventing a new environment variable to override the
SSP functionality location test, use gcc_cv_libc_provides_ssp instead,
as hinted by freza@ and uwe@.
2007-06-07 14:36:27 +00:00
he 20237a6fdb Commit autoconf-generated file after modifying configure.ac to allow
override of the TARGET_LIBC_PROVIDES_SSP test.
2007-06-07 08:59:53 +00:00
he bd8f620dfb Modify the gcc configure script to allow override of the "target libc
has ssp functions built-in" test via the TARGET_LIBC_PROVIDES_SSP environment
variable, to allow us to configure a cross-compiler appropriately without
having to try to find out by looking in the target's source directory.

Tweak our build to tell gcc that the ssp bits are now in libc.

The native compiler appears to already think that the ssp bits
live in libc, so no change appears to be needed there.

The autoconf-generated configure script will be committed separately shortly.
2007-06-07 08:58:58 +00:00
uwe 86fd3cca3a Fix gcc codegen bug that manifests during generation of stack
protector code for sh3.  Details in gcc pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32163

Author: kkojima
Date: Sun Jun  3 04:38:52 2007
New Revision: 125292

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125292
Log:
        PR target/32163
        * config/sh/sh.md (symGOT_load): Don't schedule insns when
        the symbol is generated with the stack protector.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md
2007-06-03 21:02:44 +00:00
skrll 8ed58e93b0 Search for void * as the type of the 3rd argument of ptrace. 2007-06-03 14:59:22 +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
yamt 68f37fd0aa amd64nbsd_supply_pcb: as dumpsys() was changed to prepare switchframe,
always use switchframe.  fixes a build problem after yamt-idlelwp.
update some comments.  reviewed by Frank van der Linden.
2007-05-25 15:14:21 +00:00
christos 01e5675c2a add libssp here. requested by wiz 2007-05-23 17:01:25 +00:00
christos 4320602b61 back out previous, requested by wiz 2007-05-23 16:59:03 +00:00
christos c2c58c755b mention libssp 2007-05-23 14:42:54 +00:00
christos 77601d393f Add missing brace, from Blair Sadewitz 2007-05-20 21:31:05 +00:00
heas 6967b3455a Changes for PFIX 2.4.1 2007-05-19 18:39:11 +00:00
heas 2ad3ac5978 Changes for PFIX 2.4.1 2007-05-19 18:08:54 +00:00
heas 2626a40999 Resolve import conflicts 2007-05-19 17:49:37 +00:00
heas a924864766 postfix 2.4.1 2007-05-19 16:27:18 +00:00
agc 40127a027d Add definition of librefuse. 2007-05-16 06:48:41 +00:00
skrll 7b1e89b840 Add LOADLIBES= -lkvm - it's needed when someone(tm) feeds this upstream.
src/gnu/usr.bin/gdb6 and mknative should probably pay attention to
LOADLIBES.... one day.
2007-05-15 17:49:08 +00:00
fvdl 4a58254657 Reran mknative for kvm target support. 2007-05-15 15:44:40 +00:00
fvdl cdfcd42972 target kvm support for amd64 2007-05-15 15:40:49 +00:00
matt 3649c80dc2 Fix LP64 issue with invalid register names. When printing a register name,
look in reg_renumber if the register >= FIRST_PSEUDO_REGISTER.
Add code to not use movc3 for small fixed (<= 48 byte) moves.  Instead
expand them to the proper series of mov[qlwb] instructions.
2007-04-20 16:30:32 +00:00
uwe e249080b64 Regen: remove sh5 support from sh3 tools. 2007-04-20 11:13:23 +00:00
uwe 119f6e61f7 Do not include sh64 support into sh*-netbsdelf* targets unless
specifically requested with sh5* or sh64*.
2007-04-20 11:09:00 +00:00
matt f93b326c17 Deal with symbol forced to be local (by use of .hidden or by linker version
files).
2007-04-19 19:50:59 +00:00
matt 517c8a8b40 Make movmemhi insn pattern use "o" constraint to avoid codegen bugs.
Fix some non-use of MEM_P, REG_P, CONST_INT_P.
2007-04-18 22:55:24 +00:00
matt d96c1bd9b7 At lower optimization levels, constants can tricle to subdi3. Deal with it. 2007-04-14 20:43:03 +00:00
matt e449ba3363 Change tst<mode> pattern to use nrmT for constraints instead of g. 2007-04-13 20:02:42 +00:00
plunky 83e1a80c5e escape Rv as it conflicts with .Rv macro 2007-04-13 18:20:48 +00:00
matt 4a9a0814a6 Change G_ENABLE_SHARED to yes. 2007-04-12 20:56:16 +00:00
matt c9e6e23717 If possible, adjust extzv/insv to not cross int boundaries. 2007-04-11 02:21:07 +00:00
matt 0606d1948b when pic, symbol [ + offset ] + reg is indexed so it's mode dependent.
Make sure we indicate that.  (fixes the as bug)
2007-04-09 03:44:14 +00:00
matt 2d3546bb65 Fix a optimize_size problem in the correct (and smaller) manner. 2007-04-08 10:32:42 +00:00
scw 23c93d0392 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:56:02 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
matt 768e321a24 Switch back to mnegl hi, mnegl lo, sbwc and prevent split_quadword_operands
from using POST_INC in the case of negation.  Fix reversal of operands in
-Os use of ashq.
2007-04-08 03:07:23 +00:00
matt 2c37c6c8f1 Fix a problem with -Os. 2007-04-07 22:50:27 +00:00
matt 43a709f886 2006-08-24 Richard Guenther <rguenther@suse.de>
* builtins.c (fold_builtin_classify): Fix typo.
2007-04-07 06:13:15 +00:00
matt 4fab8ae973 Fix addition of negative 64bit constants. Don't optimize the instructions
too much otherwise we might use some that don't affect the carry bit.  Make
sure we are using paired instructions (add/adwc, sub/sbwc).
2007-04-06 22:46:36 +00:00
matt 5db28f425f When mova[lq] to a push operand, do a pusha[lq] instead. 2007-04-06 20:50:33 +00:00
matt 4af7958221 Fix 64-bit negation. 2007-04-06 20:49:02 +00:00