Commit Graph

5831 Commits

Author SHA1 Message Date
lukem 4ccf8439eb Use BUILDSYMLINKS & CPPFLAGS.foo rather than cat & cp for m68000 overrides.
Lightly tested on m68000 cross-compile; the resulting .o files are the
same as before this change.
2008-08-04 06:59:47 +00:00
lukem 044c3465a8 Use BUILDSYMLINKS instead of custom rules for ${G_LIB2ADD} and unwind.h
Add some MAKEVERBOSE love.
2008-08-04 04:55:55 +00:00
lukem d929f5af49 Add an explicit rule for ${OBJS}: ${DPSRCS}, since <bsd.prog.mk>
doesn't provide that any more, and this Makefile uses the latter
in a non-standard fashion.
Fixes "make" in a clean directory when "make depend" has not been run.

Use DPSRCS rather than hand-crafted rules to achieve the same effect.
2008-08-04 04:53:22 +00:00
christos 181678b02c fix -w using:
http://www.linuxfromscratch.org/patches/downloads/grep/\
grep-2.5.1-option_w-1.patch
2008-08-01 15:24:35 +00:00
matt eb096a3c19 Add a few more conditions to the setting of the symbol size for external
dynamic symbols.
2008-07-22 05:35:44 +00:00
lukem eeeaf2bf9e Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:12:38 +00:00
apb 5ad2c3f984 Comment out references to the "-P"/"--perl-regexp" option,
which is not supported on NetBSD.  Fixes PR 39122.
2008-07-21 09:15:12 +00:00
perry 64f59fb14d So long, mom. (Approved by: wiz)
sets files still need updating, I'll do that shortly.
2008-07-16 21:14:53 +00:00
christos 657e141577 sockopts need to be int not ssize_t, which can be long on 64 bit machines.
fixes sparc64 issue. thanks to rafal for testing.
2008-07-16 16:51:14 +00:00
perry 6fb2ff15d2 Temporary hack to remove dates from generated postscript files.
Really, though, "mom" should go, or at least the generated PostScript
files should.
2008-07-16 16:34:36 +00:00
matt 92f61a999a Previous fix only got some undefined symbols. This one gets all of them. 2008-07-14 17:59:41 +00:00
matt 890018501f Set the size of undefined symbols to 0. 2008-07-14 15:55:03 +00:00
christos 872dac48eb /var/lib -> /var/db by popular demand. 2008-06-25 01:32:37 +00:00
christos db19bd9062 resolve conflicts. 2008-06-22 14:38:40 +00:00
christos 31670fd55d fix build. 2008-06-22 14:38:13 +00:00
christos a903102c9a import 2.5.2, requested by perry, approved by releng. 2008-06-22 14:02:40 +00:00
adrianp 8aae81d82f Fix for PR #33551 (a.k.a CVE-2006-2362)
Back port from the binutils CVS tree

Buffer overflow in getsym in tekhex.c in libbfd in Free Software Foundation
GNU Binutils before 20060423, as used by GNU strings, allows context-dependent
attackers to cause a denial of service (application crash) and possibly
execute arbitrary code via a file with a crafted Tektronix Hex Format (TekHex)
record in which the length character is not a valid hexadecimal character.
2008-06-22 14:02:39 +00:00
christos 0eea94d78f import 2.5.2, requested by perry, approved by releng. 2008-06-22 14:00:13 +00:00
christos b4e47fa186 import 2.5.2, requested by perry, approved by releng. 2008-06-22 13:59:17 +00:00
christos e5a95dcfd5 usage message 2008-06-22 13:55:05 +00:00
lukem f70851c953 Install ldap_table(5). 2008-06-11 23:54:43 +00:00
christos 8fd0026c5b add one more dependency. 2008-05-31 16:05:20 +00:00
christos a81b2a4e6c Restore functionality lost during the libcpp conversion: cpp -CC should convert
// comments to /* comments */ not only during macro definition, but also
macro argument collection. Otherwise the following:

    #define b(a) a
    main {
	b(
	// 1);
	0);
    }

gets expanded to:

    main()
    {
	    return //          1); 0;
    }

instead of:

    main()
    {
	    return /*          1);*/ 0;
    }
2008-05-30 15:12:24 +00:00
wiz d493f8ddf4 Add FreeBSD 7.0 for libgssapi man pages. Noted by joerg. 2008-05-28 07:14:12 +00:00
christos 9f25c42945 Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing:

    i386--netbsdelf-gcc: .: linker input file unused because linking not done
2008-05-25 21:37:02 +00:00
wiz c21d6784dc Do not use tabs here -- they will be used literally. Use spaces instead. 2008-05-25 20:04:52 +00:00
lukem 6258c039ac Compile in LDAP if ${USE_LDAP} != "no".
XXX: untested.
2008-05-22 14:45:42 +00:00
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
tsutsui 407e634a58 Pull the follwoing fix from upstream:
http://gcc.gnu.org/viewcvs/trunk/gcc/config/m68k/m68k.md#rev117181
>       * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
>       -2147483647 - 1 instead of 0x80000000.

Fixes "internal compiler error: in do_SUBST" on compiling
floating point ops with -msoft-float or -m68010 on LP64 hosts,
and may also close PR toolchain/38359.  Tested on alpha.
2008-05-01 23:50:32 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos 29c39f7ad5 Add -lc when -shared so that all shared libraries built by the compiler
have a dependency to -lc. To avoid adding that dependency in -lc and -lgcc*
we add -nostdlib to the compile rules.
2008-04-27 23:49:27 +00:00
uwe 95c5c2aebe Defer wide int L/LL suffix choice in insn-*.c until we compile for
host using correct set of HOST_WIDE_INT* defines.  Fixes compilation
of native sh3 gcc on 64-bit build machines.

Background and details in NetBSD PR 34549 and GCC bug 32497.
Tested by Joerg and myself.

Approved by "looks ok, but let some other guy decide" from ~all of our
gcc folks.
2008-04-22 22:06:01 +00:00
mrg 9770ba3578 bump libbfd major since its ABI changed 2 weeks ago. 2008-04-20 07:11:21 +00:00
tsutsui 3ac5edae14 Add more required libraries in proper order.
Fix build error in NOPIC case.
2008-04-10 13:49:53 +00:00
skrll 9a2b7df6e3 Apply fix from binutils-current so that sparc gdb can be cross built
on a 64bit host.

Problem reported by mrg.
2008-04-09 10:26:20 +00:00
matt 2c2b152b21 Add support for --ignore-unresolved-symbol 2008-04-03 15:40:17 +00:00
mrg a2ab41e161 s/exit 0/true/ in the main target so that this works if interrupted
between "mkdir" and libiberty.a being built.
2008-03-25 03:59:17 +00:00
skrll 482dcc2f35 #include "nbsd-nat.h" 2008-03-17 20:01:12 +00:00
skrll 1c84a0c3c5 Add nbsd_pid_to_exec_file to target ops. 2008-03-17 17:39:15 +00:00
skrll 7fa564a753 strcmp doesn't taken a length argument. 2008-03-15 12:19:41 +00:00
skrll b86cd2b1b2 Re-run mknative. 2008-03-14 20:22:16 +00:00
skrll a21274d611 Pull in some updates for NetBSD/sh gdb from wrstuden-fixsa.
- support siginfo trampoline detection/unwind
- modernise wrt core file regsets
- use inf-ptrace
2008-03-14 15:48:59 +00:00
skrll 06c967f126 Modernise NetBSD/alpha gdb - taken from gdb-current.
Add support for siginfo trampolines as well as sigcontext.
2008-03-13 18:18:15 +00:00
tls 804778b0a3 Fix build issue on modern OS/X (particularly 10.5 on powerpc) 2008-03-07 14:57:09 +00:00
drochner b0666c0ebd install pmmintrin.h for SSE3 2008-02-26 10:55:49 +00:00
lukem ab42b1842c Various groff manual pages need tbl(1) to format correctly. 2008-02-26 03:20:07 +00:00
skrll ba36d19a6b Catch up with kernel frames on amd64. 2008-02-09 11:43:58 +00:00
mrg ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
mrg e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00
mrg 0190531f12 regen for GCC 4.1-20080202. 2008-02-05 02:23:22 +00:00
mrg 62eb13e7b7 add a NetBSD_DISABLED_foo rule for arm-tune.md. 2008-02-05 02:21:59 +00:00
mrg 399266cb7b use C comments, not C++ comments. 2008-02-04 04:20:51 +00:00
mrg df589eb5b4 add a couple of #ifdef USE_TLS blocks to help MKCRYPTO=no link. 2008-02-04 02:21:30 +00:00
mrg c2b313f307 bump NetBSD date. 2008-02-03 22:15:38 +00:00
mrg 9805c65117 merge gcc-4-1-20080202-132073. 2008-02-03 02:48:44 +00:00
mrg a67241065b upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-03 00:08:23 +00:00
mrg b8deac4d69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 23:40:02 +00:00
mrg 987268dd69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 22:46:12 +00:00
christos 99a86a6512 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition
2008-02-02 17:12:44 +00:00
christos 9aa2376bc7 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
avoid getcwd redefinition
2008-02-02 17:11:01 +00:00
skrll 572591cbe8 Update some comments. 2008-01-25 12:35:48 +00:00
skrll 78a1d02a15 Catch up with changes so that kernel frame unwinding works again. 2008-01-18 16:07:22 +00:00
skrll 046bde4260 Re-run mknative to pick up bsd-kvm.o. 2008-01-13 13:18:17 +00:00
skrll 1bd2744b54 Add bsd-kvm.o. 2008-01-13 12:40:26 +00:00
dsl ca99a9496c Add AMD64_R9_REGNUM through AMD64_R14_REGNUM. 2008-01-13 10:54:47 +00:00
skrll 8af98e5f70 Add NetBSD/arm32 kvm support.
Nearly 10 years later... PR/5667 can be closed.
2008-01-12 20:55:12 +00:00
skrll a125dbf8da Re-run mknative. 2008-01-10 22:19:24 +00:00
skrll 3410bbd575 Add NetBSD/hppa support to gdb.
Not enabled yet.
2008-01-10 21:43:55 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
apb ee83c29560 Disable parallel make, because the interaction between the
$(am__ELCFILES) and elc-stamp targets is extremely unfriendly to
parallel make.   More details in a comment in the file.
2008-01-07 15:17:04 +00:00
skrll bd7f347055 Re-run mknative and pickup caddr_t removal from ptrace. 2008-01-05 15:43:16 +00:00
skrll 8591a31346 Apply my fix to bfd so that correct unwind entries are generated for the
kernel.

This has been applied to binutils -current with this ChangeLog entry.

2007-12-28  Nick Hudson  <nick.hudson@dsl.pipex.com>

        * elf32-hppa.c (hppa_record_segment_addr): Locate the segment
        containing the section using the segment map, rather than guessing
        based upon the section's vma and file position.
2007-12-29 14:49:06 +00:00
skrll 20aefaf533 Improve signal trampoline support by recognising trampolines from previous
releases.
2007-12-04 08:38:14 +00:00
wiz 171c97657b Add RCS Id. Use An, Aq. Prepare for HTML output. 2007-12-02 19:23:53 +00:00
bouyer 382d13b49a Install the linker scripts on amd64, which allows to link x86 32bit objects
using the native ld(1). This helps building pkgsrc/sysutils/xentools3-hvm
on amd64; is also allows to build the x86 boot blocks with the
native toolchain.
2007-12-02 18:10:20 +00:00
drochner ad37bd5da3 fix gcc bug #34130 (wrong multiplication with negative constants
inside abs()) which got some attention in the linux kernel mailing
list recently
2007-11-20 23:27:56 +00:00
skrll ea7265c03e First cut at hppa gdb support. Not enabled yet. 2007-11-18 12:45:25 +00:00
jmmv 12408017c4 Add the ability to build multiple programs from a single directory
This adds support for a new set of variables, PROGS and PROGS_CXX, that
allow the developer to build multiple different programs from a single
source directory.
2007-11-12 15:04:35 +00:00
skrll c1e4ee94be Fix kernel profiling on HPPA.
- stop gcc emitting stuff that HPUX requires
- don't use splhigh() in MCOUNT_ENTER as a call to _mcount will be
  generated at the moment. Disable interrupts in hardware instead.
- Fix _PROF_PROLOGUE to save/restore all the register args when calling
  _mcount.
- Fixup LEAF_ENTRY to dtrt (I think) in the GPROF case.
- Provide LEAF_ENTRY_NOPROFILE and sprinkle its use where i) profiling
  causes problems, e.g. trap handlers, and ii) where it just doesn't
  make sense, e.g. start.
2007-11-12 12:58:10 +00:00
ginsbach 0228f092e4 Remove symbol for IEEE Std 1003.1-2004, as it is now included with groff.
Approved by: wiz
2007-11-05 17:36:23 +00:00
garbled ebae510efc Remove the pmppc send-pr category 2007-10-17 23:27:33 +00:00
skrll bd5ba3588c Rerun mknative for all archs.
Picks up the addition of complex support and use of __cxa_atexit.
2007-09-21 10:51:02 +00:00
christos 2872c55cb0 Add a hack to handle that the __stack_chk_fail_local call is not generated
properly for pic code; more explained in the code.
2007-09-15 16:24:06 +00:00
christos 664366b805 Add a warning that prints the symbol that has the text reloc. 2007-09-15 14:35:34 +00:00
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
wiz 166737735f Describe Lk and Mt. From Brad Harder in PR 36126. 2007-04-06 17:05:18 +00:00
matt 086f0329dc Fix constraints on ffs. 2007-04-02 16:45:39 +00:00
matt 20feb5b064 Fix cut-and-pasto. 2007-04-02 16:44:31 +00:00
matt 831f4686c1 Get rid of old unused constraints. 2007-04-02 16:44:17 +00:00
matt abe5cdbc17 Add __builtin_ffs support. 2007-03-31 23:12:37 +00:00
matt deb622ec5b Final step. Turn on generation of PIC code. Full release build builds and
works.
2007-03-31 05:55:11 +00:00
matt dec8719ee4 For nonimmediate operands of SImode, don't use "g" anymore, use "nrmT" instead.
"g" matches just about anything including SYMBOL_REF, CONST, LABEL_REF which
should not be operands for most instructions in PIC mode.  (movsi can handle
then and addsi3 can handle them in a few limited cases).
2007-03-31 01:23:26 +00:00
matt aa3062f197 Step 2. Produces PIC code but doesn't satisfies the constraints needed
by userland.  (external symbols can still be indirected and relocs for
symbol + offset are emitted).
2007-03-31 00:59:47 +00:00
matt 57ad7b9e42 Use HOST_WIDE_INT where appropriate. Cleanup split_quadword_operands 2007-03-30 22:03:28 +00:00
matt f775e4410d Enable new quadmove code. Only use mova[lq] instead of ashl when
!optimize_size.  When optimize_size is on, try to use ashl if possible
if setting a 6bit unsigned quantity in the word.
2007-03-30 22:02:26 +00:00
matt 120d27ab08 Add symbolic_operand (matches const, symbol_ref, label_ref). 2007-03-30 21:25:01 +00:00
matt 1336eda547 Remove split_quadword_operands 2007-03-30 21:24:03 +00:00
matt 9e311d116b Simplify the address_operand patterns. Use gcc's macros and split between
push and mov addr patterns.
2007-03-30 21:23:42 +00:00
matt d18d7c0fc4 Fix a few missing REG_P, use symbolic_operand instead of testint CONST/SYMBOL_REF/LABEL_REF, make split_quadword_operands static, don't pass the insn just the rtx code for the insn 2007-03-30 21:15:24 +00:00
matt 58ad121651 Step 1 of getting gcc to generate VAX PIC code again. These steps are being
committed in "smallish" steps.  This step incorporates the switch to MEM_P,
REG_P, and CONST_INT_P.  Use bool/true/false where appropriate.  PRINT_OPERAND
moves from being a large macro in vax.h print_operand in vax.c.  Fix rtx cost
for a constant of 0.  This eliminates unneeded moves when setting to 0 would
be fine.

Lastly, include completely new (on by default) code for DImode move, addition,
and subtract.  This code is significantly faster and smaller that what existed
before.
2007-03-30 20:25:46 +00:00
matt 7457e904c0 Add CONST_INT_P 2007-03-30 19:47:19 +00:00
matt e43d142e40 Steal code from tc-sparc.[ch] to implement a vax specific "cons" routine.
Add a %pcrel{32,16,8}(exp) special which emit a PC32 relocation to exp.
This will be used by the gcc dwarf code to generic .eh_frame sections which
are read-only and can be put in the text PT_LOAD.
2007-03-16 22:16:12 +00:00
matt 02f41de9c1 Don't emit PLT entries for PC32 entries not in a code section.
Don't emit PC32 relocations in shared libraries if the relocation is not in
a section with the CODE attribute.  (This is for DWARF2).
2007-03-16 22:12:11 +00:00
matt c50630ea67 Fix LP64 bug. 2007-03-10 23:23:07 +00:00
matt 2018fad37d Honour ${CPUFLAGS} 2007-03-09 04:40:38 +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
skrll 15e7f1810b Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
Pulled across from the changes to gdb5.3.
2007-02-26 23:11:01 +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
skrll c0f2a403cd Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
Pulled across from the changes to gdb5.3.
2007-02-24 13:05:18 +00:00
skrll d6172f381e Whitespace 2007-02-24 13:01:34 +00:00
skrll dcad5cdb82 Applies the changes made in gdb 5.3 to support pthread debugging.
Fixes part of PR/35540.
2007-02-24 12:36:27 +00:00
christos 493edcfdc7 improve on TARGET_LIBC_PROVIDES_SSP test suggested from phone. 2007-02-23 21:31:13 +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
chs ae4967aaae bring over local mods from gdb5:
- use the right LWP ID with ptrace.
 - implement single stepping.
2007-02-19 18:22:04 +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
freza 592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +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
rpaulo 9cecbd0179 Merge postfix-2.3.7 2007-02-05 17:56:11 +00:00
rpaulo 231b0ce3a6 postfix 2.3.7 2007-02-05 17:36:15 +00:00
rpaulo 87cc82cf9b postfix 2.3.7 2007-02-05 17:35:53 +00:00
christos bb1029ffc1 Don't mark 0 length arrays as being too small for stack protection. 2007-01-27 01:27: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
skrll fb3b023826 Correct a comment. 2007-01-20 10:54:44 +00:00
pooka 533e5fb937 I don't spell "puffs" with allcaps (except in macro names, har har),
so uncapsize it from here also
2007-01-19 20:04:39 +00:00
skrll ba85386518 Apply an iffy heuristic to detect a valid switchframe on the stack and
extract the register state from this for the live kernel case. If there
is no switchframe then use the frame pointer to get enough state for crash
dump case.

More information needs to be saved by savectx to avoid this mess.

Should fix PR/35118
2007-01-18 18:15:02 +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
mrg 80ab5c909f fix the list of headers to check for on netbsd 2007-01-13 08:30:13 +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
mrg fb1bedf6c8 bump NetBSD version 2007-01-11 07:19:06 +00:00
mrg d84579c1c7 merge GCC 4.1.2-20070110. 2007-01-11 06:59:53 +00:00
mrg d4afbdede5 import GCC-4.1 branch from 20070110 (revision 120647). this fixes the
44 GCC PR's listed below (some have already been applied to NetBSD GCC)
and at least one NetBSD PR:

	PR bootstrap/28400
	PR c++/27369
	PR c/25795
	PR c/25993
	PR c/29092
	PR c/29736
	PR c/30360
	PR debug/26964
	PR libstdc++/11953
	PR middle-end/21032
	PR middle-end/26306
	PR middle-end/27826
	PR middle-end/28116
	PR middle-end/29241
	PR middle-end/29250
	PR middle-end/29584
	PR middle-end/29695
	PR middle-end/29753
	PR middle-end/30286
	PR rtl-optimization/25514
	PR rtl-optimization/27736
	PR rtl-optimization/27761
	PR rtl-optimization/28970
	PR rtl-optimization/29631
	PR rtl-optimization/29797
	PR target/18553
	PR target/24036
	PR target/29114
	PR target/29319
	PR target/29377
	PR target/29449
	PR target/30039
	PR target/30173
	PR target/30185
	PR target/30230
	PR tree-opt/28545
	PR tree-opt/29788
	PR tree-opt/29964
	PR tree-optimization/27891
	PR tree-optimization/28888
	PR tree-optimization/29581
	PR tree-optimization/29610
	PR tree-optimization/29637
	PR tree-optimization/30212
2007-01-11 02:52:39 +00:00
mrg 79780a5fbb import GCC-4.1 branch from 20070110 (revision 120647). this fixes the
44 GCC PR's listed below (some have already been applied to NetBSD GCC)
and at least one NetBSD PR:

	PR bootstrap/28400
	PR c++/27369
	PR c/25795
	PR c/25993
	PR c/29092
	PR c/29736
	PR c/30360
	PR debug/26964
	PR libstdc++/11953
	PR middle-end/21032
	PR middle-end/26306
	PR middle-end/27826
	PR middle-end/28116
	PR middle-end/29241
	PR middle-end/29250
	PR middle-end/29584
	PR middle-end/29695
	PR middle-end/29753
	PR middle-end/30286
	PR rtl-optimization/25514
	PR rtl-optimization/27736
	PR rtl-optimization/27761
	PR rtl-optimization/28970
	PR rtl-optimization/29631
	PR rtl-optimization/29797
	PR target/18553
	PR target/24036
	PR target/29114
	PR target/29319
	PR target/29377
	PR target/29449
	PR target/30039
	PR target/30173
	PR target/30185
	PR target/30230
	PR tree-opt/28545
	PR tree-opt/29788
	PR tree-opt/29964
	PR tree-optimization/27891
	PR tree-optimization/28888
	PR tree-optimization/29581
	PR tree-optimization/29610
	PR tree-optimization/29637
	PR tree-optimization/30212
2007-01-11 02:42:35 +00:00
mrg b0b8ac17fb import GCC-4.1 branch from 20070110 (revision 120647). this fixes the
44 GCC PR's listed below (some have already been applied to NetBSD GCC)
and at least one NetBSD PR:

	PR bootstrap/28400
	PR c++/27369
	PR c/25795
	PR c/25993
	PR c/29092
	PR c/29736
	PR c/30360
	PR debug/26964
	PR libstdc++/11953
	PR middle-end/21032
	PR middle-end/26306
	PR middle-end/27826
	PR middle-end/28116
	PR middle-end/29241
	PR middle-end/29250
	PR middle-end/29584
	PR middle-end/29695
	PR middle-end/29753
	PR middle-end/30286
	PR rtl-optimization/25514
	PR rtl-optimization/27736
	PR rtl-optimization/27761
	PR rtl-optimization/28970
	PR rtl-optimization/29631
	PR rtl-optimization/29797
	PR target/18553
	PR target/24036
	PR target/29114
	PR target/29319
	PR target/29377
	PR target/29449
	PR target/30039
	PR target/30173
	PR target/30185
	PR target/30230
	PR tree-opt/28545
	PR tree-opt/29788
	PR tree-opt/29964
	PR tree-optimization/27891
	PR tree-optimization/28888
	PR tree-optimization/29581
	PR tree-optimization/29610
	PR tree-optimization/29637
	PR tree-optimization/30212
2007-01-11 02:31:47 +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
rpaulo 9db5d6d8b8 Resolve conflicts. 2006-12-21 02:56:37 +00:00
rpaulo 0225a7dd90 postfix-2.3.5 2006-12-21 02:27:16 +00:00
matt 9b573944b4 2006-12-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/30039
	* pa.md (high:DI and lo_sum:DI): Handle 64-bit CONST_INTs in 32-bit
	patterns.  Correct length of high:DI instruction sequence.
2006-12-10 00:19:32 +00:00
chs a3f1a799dd apply part of gcc SVN rev 112421 (for building on solaris):
* config.gcc (sh*-*-*): Don't use c-c ranges for tr.
2006-12-09 21:59:50 +00:00
drochner 46a07fd83d Update code for recognition of signal trampolines to the new "setcontext"
type, and update register offsets for ucontext/mcontext.
Now a backtrace crossing a signal handler invocation works.
Approved by christos.
2006-12-07 13:38:19 +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
uwe 7ec58a9280 Do not include sh64 support into sh*-netbsdelf* targets unless
specifically requested with sh5* or sh64*.
2006-12-02 01:16:34 +00:00
uwe 0c5111b125 Hide sh5 stuff under #ifdef BFD64, so that we can build with 32-bit
support only.
2006-12-02 01:13:53 +00:00
christos 3254d721de - add kernel frame unwinding support (copied from i386obsd-tdep.c)
- add a nasty hack to recognize elf kernels which do not have a PT_NOTE
  as NetBSD binaries.
2006-12-02 00:46:06 +00:00
drochner d6defbabbf pull in more from upstream CVS: nuke on-disk sorting completely
(It didn't work correctly, thanks to Joerg Sonnenberger for the hint.)
2006-12-01 18:21:04 +00:00
drochner afe5425679 pull patches from upstream CVS:
-unsafe tempfile creation (CVE-2005-3011)
-buffer overflow (CVE-2006-4810)
2006-12-01 16:54:22 +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
christos f54257e103 fetch kcore registers correctly. 2006-11-26 05:40:07 +00:00
christos 7a47f15696 gcc 4 outputs AT_location attributes which are not blocks. Prevent core-dumping
by not trying to dereference non block attributes as block.
2006-11-26 04:45:39 +00:00
freza e5bde12f63 s/lsect->name/lsect->section->name/g in DEBUG code, fixes MKDEBUGLIB builds. 2006-11-25 17:53:27 +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 d6e38a90f8 Pull across the gcc fixes for the ICEs seen when cross-compiling hp700 on
64bit hosts.

	- gimpy's fix has been done differently when fixing gcc
	  target/29114
	- the second is one I debugged with Dave Anglin's help. The fix
	  is from Dave.

There still seem to be codegen bugs, however.

Bump version to NetBSD nb3 20061125

OK'd by mrg.
2006-11-25 10:05:43 +00:00
jnemeth 0b9c3e7f59 PR/30618 -- info dumps core
fix from Efstathios Kamperis
2006-11-25 10:02:53 +00:00
uwe 6718552664 "Regenerate" by propagating configure.ac chanages:
Recognize sh64*- and sh*- targets instead of just sh64- and sh- to
accomodate little-endian (e.g. "shle").  While here, recognize sh5*- too.

Makes cross-gdb compile for hpcsh (shle target) withought forcing
--disable-sim.
2006-11-25 04:59:01 +00:00
uwe 0b48c1fd38 Recognize sh64*- and sh*- targets instead of just sh64- and sh- to
accomodate little-endian (e.g. "shle").  While here, recognize sh5*- too.

Makes cross-gdb compile for hpcsh (shle target) withought forcing
--disable-sim.
2006-11-25 04:57:51 +00:00
mrg d010dedb55 bump version to NetBSD nb2 20061121 2006-11-23 05:43:40 +00:00
rpaulo 7420eb145a Change pickup to fifo. Spotted by Havard Eidnes. 2006-11-22 17:46:46 +00:00
mrg 5c4d804998 fix a compile problem with the mjpegtools package. PR#35082. this reverts
a recent GCC change that fixed their bug 28506.  from Richard Guenther (suse).
2006-11-22 05:18:57 +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
skrll 84e06a9d31 Act as mrg's keyboard and delete gcc 3. 2006-11-19 08:36:54 +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 3353f7d077 goodbye uucp 2006-11-12 01:20:00 +00:00
christos 98e199228a Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-) 2006-11-10 17:36:08 +00:00
christos f6e9654266 add -Wno-stack-protector because of the CMSG macro lossage. 2006-11-09 21:40:20 +00:00
christos 2d8fd6a6dd Sprinkle -Wno-stack-protector 2006-11-09 21:27:58 +00:00
christos f1951fb14a compile some files with -Wno-stack-protector since they are heavy alloca
users.
2006-11-09 20:07:14 +00:00
christos 6367f77577 -Wno-stack-protector 2006-11-09 04:07:11 +00:00
christos 0dd539c2fc Add COPTS bypass in rules. 2006-11-09 04:06:51 +00:00
pooka ab2346c4b0 add libpuffs 2006-11-09 01:31:11 +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
christos af0800f25f add a netbsd test for having stack protector in libc. 2006-11-08 22:01:36 +00:00
rpaulo 6956c21987 resolve conflicts 2006-11-07 03:09:18 +00:00
rpaulo 3bddbdfb40 Postfix 2.3.4 2006-11-07 02:54:05 +00:00
apb 7de1273d3e Fix some compiler warnings by including some headers and
not defining our own prototype for getenv.
2006-11-01 17:25:30 +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
apb 5169559a87 Import gkermit-1.00, from
<ftp://kermit.columbia.edu/kermit/archives/gku100.tar.gz>.

This is a small GPL-licenced version of kermit.

From the "ANNOUNCE" file:

G-Kermit is command-line only (no interactive commands or scripting) and
remote-mode only (no making connections).  It has an extremely simple user
interface, and implements a large subset of the Kermit protocol in a small
amount of highly portable code.
2006-11-01 13:03:53 +00:00
cbiere 4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
cbiere f105b834ae Applied patches from PR bin/24256 to pass command-line arguments as-is. 2006-10-24 17:33:39 +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
mrg d8a42ed9c7 merge GCC 4.1-20061021. 2006-10-22 00:41:20 +00:00
mrg 86e81e1a09 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:57:09 +00:00
mrg b738ee7f82 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:45:05 +00:00
mrg 3849e25709 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:40:12 +00:00
mrg 622e071e10 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:29:06 +00:00
mrg 2c32a05a20 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:18:57 +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 1c6384e73d fix a merge-botch from our GCC3 fixes.
TARGET_5200 is TARGET_COLDFIRE now.
2006-10-21 05:31:41 +00:00
drochner b7e3bcb0e5 gcc4/gdb6 work well with dwarf debug symbols (at least in the example
from PR toolchain/25094), so revert the local change which made .stabs
the default
2006-10-19 18:10:38 +00:00
pavel 322d0c4e0a Update to upstream revision 1.24 by Stepan Kasal to fix a typo.
Prompted by PR misc/34850.
2006-10-18 20:46:30 +00:00
uwe 8514c96f9a Recognize SH2E from new binutils (map to sh3e vector). 2006-10-14 22:20:06 +00:00
bjh21 b78535679e Use ADDR_BITS_REMOVE on return addresses pulled from stack frames un
arm_unwind_pc().  This makes stack backtraces on acorn26 work correctly
(assuming you've done "set arm apcs32 0" first).
2006-10-14 10:42:53 +00:00
wiz 29ce0187b9 Sort options in SYNOPSIS. 2006-10-09 21:38:17 +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
apb 83863ce48b Man page for rcs2log, obtained from a newer version of cvs.
GPL licenced.  Thanks to rix_h in #netbsd-code.
2006-10-08 21:26:37 +00:00
skrll ef1caed8be Add m68k gdb mknative output. Untested. 2006-10-07 08:16:46 +00:00
plunky c2f3e8c67b Override the lex rules after <bsd.prog.mk> to prevent the reachover build
from trying to build arlex.c in a readonly filesystem
2006-10-05 20:40:12 +00:00
apb 9a724f1a2d Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Don't use GROFF_CSH_HACK.  It would change the "#! /bin/sh" to just
  ":", and this causes trouble for some shells.  For example, if
  CONFIG_SHELL=/bin/ksh, when the groff build uses ${CONFIG_SHELL} to
  run a script that has been modified in this way, ksh sees the ":" and
  decided to run the script under /bin/sh instead.

* Use SH_SCRIPT_SED_CMD="1s,/bin/sh,${CONFIG_SHELL},"
  to edit the "#! /bin/sh" line, to ensure that scripts
  are always run under the correct shell.
2006-09-29 20:19:40 +00:00
apb 9130d905da Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Pass MAKE and CONFIG_SHELL in the environment to configure scripts
  that are run as part of the gcc3 and gcc4 build.
2006-09-29 20:14:10 +00:00
apb 0de1d80a7e Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Use ${CONFIG_SHELL:-/bin/sh} ${rootdir}/move-if-change
  instead of just ${rootdir}/move-if-change.
2006-09-29 20:12:32 +00:00
apb da8e22116c Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Use ${CONFIG_SHELL:-/bin/sh} instead of just /bin/sh when creating
  temporary shell scripts.
2006-09-29 20:11:07 +00:00
apb cb575a16ce Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Add CONFIG_SHELL=$(SHELL) to the environment when invoking genmultilib.
  Due to substitutions made by associated configure scripts, the make
  variable $(SHELL) will actually refer to the environment variable
  ${CONFIG_SHELL}.
2006-09-29 20:10:01 +00:00
apb f90c5ef1d5 Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Explicitly use $(SHELL) to run shell scripts.

* Use SHELL = @SHELL@, not SHELL = /bin/sh.  @SHELL@ will be substituted
  by associated configure scripts, and will actually refer to the
  environment variable ${CONFIG_SHELL}.
2006-09-29 20:08:36 +00:00
drochner a007a48303 make this build with ro srcdir: ignore yacc-generated files in dist 2006-09-27 18:37:41 +00:00
mrg 27ffbf35e9 add a link to www.NetBSD.org/Gnats/, as suggested in PR#10628. 2006-09-24 06:09:29 +00:00
mrg 2b2c191ef8 be explicit about the need for a subject: header. should handle PR#10628. 2006-09-24 06:06:23 +00:00
matt b23fae2957 Fix problem with cross compiles on LP64 platforms. When splitting a DI
only compare against HOST_BITS_PER_WIDE_INT if TARGET_64BIT is true.
Otherwise, compare against 32 (as would happen on a IPL32 platform).
2006-09-23 19:07:19 +00:00
matt 4a7a5c53dd For thing that get a INTVAL result, make their type HOST_WIDE_INT. 2006-09-23 19:03:43 +00:00
matt 97da8b0449 Use HOST_WIDE_INT instead of long. 2006-09-23 19:00:03 +00:00
skrll 64001ed248 Our hppa userland space register convention isn't as flat as it needs to be
for MASK_NO_SPACE_REGS. The assumption is that sr4-sr7 == process space
id, but we have sr7 = kernel space id (0). This was inherited from
OpenBSD.

If sr4-sr7 == process space id, then

        ldw     %r1(,%r2),%r3
and
        ldw     %r2(,%r1),%r3

are equivlent for all values of %r1 and %r2.

If the right compat stuff is in place we can change the space register
convention and turn MASK_NO_SPACE_REGS back on.
2006-09-22 13:11:57 +00:00
cherry c53d4b12a7 Fix libgcc4 build for ia64
Change #if to #ifdef
XXX: Feed upstream ?
2006-09-21 15:13:02 +00:00
wiz df07ad58a8 Install aliases(5) from postfix, since the sendmail one is gone,
but we refer to it from various other man pages.
2006-09-19 20:10:22 +00:00
cherry ebd1964a09 Bootstrap for ia64 2006-09-14 23:48:28 +00:00
wiz d6915480eb Do not use tabs in this file -- this breaks output. Use spaces instead. 2006-09-14 23:23:56 +00:00
simonb a785bcc908 Remove gprof from the "native only" list so that it can be cross-built. 2006-09-13 02:42:57 +00:00
scw 959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +00:00
scw ddf78ea470 Check explicitly for sh5*-*-netbsd* when setting sh_multilibs. 2006-09-04 19:51:26 +00:00
mrg 56937a15b3 port the GCC3 gcc/config/ia64/netbsd.h. only change is to remove a call
to the no longer available/required NETBSD_OS_CPP_BUILTINS_LP64() macro.
2006-09-01 21:56:18 +00:00
rpaulo 481ac4be37 Change PROG to xcvs and PROGNAME to cvs.
Builds xcvs binary but installs using cvs filename.

Another fix for case-insensitive file systems, approved by Christos.
2006-08-31 22:31:45 +00:00
mrg eb4b398a46 regenerate. (largely from dsl@, thanks.) libstdc++ should support
wide characters properly again now, for everyone.
2006-08-28 09:26:59 +00:00
rpaulo 955d5b2d54 fix conflicts 2006-08-27 00:47:08 +00:00
rpaulo a41b242909 postfix 2.3.3 2006-08-27 00:37:46 +00:00
matt 59b53ad312 More mips64 toolchain changes. With these changes, the mips64 toolchain
can build a mips64 kernel.
2006-08-26 20:01:29 +00:00
matt 101216a5b7 Back mips N64 changes made to wrong toolchain. 2006-08-26 14:49:56 +00:00
matt 9e051a8002 Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
mrg 063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +00:00
mrg 4f8b9b11de regenerate with recent wchar/iconv fixes. 2006-08-23 20:47:02 +00:00
mrg fb8e7a5b18 regenerate with partly-fixed gcc4/libstdc++-v3 configury. 2006-08-23 12:55:01 +00:00
mrg 3e326ca14b several fixes to netbsd host support:
- look for sys/param.h, sys/sem.h, sys/ipc.h, sys/ioctl.h,
	  sys/filio.h and sys/uio.h
	- don't look for sys/isa_defs.h.  we never had one.
	- call GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG and
	  GLIBCXX_CHECK_WRITEV
	- define _GLIBCXX_USE_WCHAR_T, HAVE_NL_LANGINFO, HAVE_ICONV,
	  HAVE_ICONV_CLOSE, HAVE_ICONV_OPEN, HAVE_MODF, HAVE_STRTOF
	  and HAVE_STRTOLD

still broken includes:
	_GLIBCXX_HAVE_S_IFREG, _GLIBCXX_USE_ICONV,
	_GLIBCXX_USE_NLS, _GLIBCXX_HAVE_ISWBLANK,
	_GLIBCXX_HAVE_VFWSCANF, _GLIBCXX_HAVE_VSWSCANF,
	_GLIBCXX_HAVE_VWSCANF, _GLIBCXX_HAVE_WCSTOF
2006-08-23 12:54:35 +00:00
dbj 47fc3d392b remove unused files leftover from old postfix distribution which
now cause filename case conflicts on case insensitive filesystems.
2006-08-18 17:45:05 +00:00
rpaulo 2e90509055 Install postfix-manuals.html. 2006-08-14 21:35:38 +00:00
christos c7f3802937 default to ssh. 2006-08-11 19:02:37 +00:00
tron 7595743fb0 Add NetBSD 5.0. 2006-08-08 08:30:11 +00:00
riz 28e4bae07d Bump default to 4.0 2006-08-08 05:42:24 +00:00