Commit Graph

4651 Commits

Author SHA1 Message Date
skrll 44d317c631 Remove local variables when building the .hidden objects. 2004-03-10 22:18:17 +00:00
matt 5132bfefdc Add support for traversing through signal handler frames. 2004-03-10 01:22:29 +00:00
skrll b09e6d0dfe Whitespace 2004-03-08 14:47:27 +00:00
skrll 3539722ee8 Check for G_LIB1ASMFUNCS (not LIB1ASMFUNCS) being non-empty before
creating rules for LIB1ASMFUNCS. This is better for old makes (and
readability.)

As highlighted by grifo3000@interfree.it on current-users
2004-03-08 14:45:07 +00:00
skrll bda33b4f10 NO* variable re-order. No functional change. 2004-03-05 10:55:16 +00:00
wiz de65560a4a Bump PACKAGE_VERSION to 1.11.11 too, for consistency. 2004-03-04 19:57:04 +00:00
skrll 824aa68c5a Add __PIC__ and __pic__ to TARGET_OS_CPP_BUILTINS for all NetBSD platforms
and object formats.

This fixes a problem in libgcc_s.so on powerpc pointed out to me by
Aymeric Vincent in private email.

OK'd by Jason.
2004-03-03 20:09:51 +00:00
pooka abd87603f6 .XE without .XS should complain about that, not about .XS without .XE
i.e. fix tyop/thinko in error message
2004-03-01 14:43:44 +00:00
skrll d68db0e48c Oops! Remove harmless -DNH=${MKPIC} 2004-03-01 08:52:53 +00:00
mrg eaa3c8ce1b backout part of rev1.6: don't set machine_suffix and just_machine_suffix
in NETBSD_NATIVE mode.  from enami.
2004-03-01 07:36:59 +00:00
mrg d9c305d49d merge gcc 3.3.3 cornflakes 2004-03-01 07:27:18 +00:00
mrg 18e7b0d6a5 initial import of GCC 3.3.3, which fixes a few more bugs from the prior
3.3.3-pre snapshot we were using.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3 for more details.
2004-03-01 03:43:04 +00:00
mrg ec14d423fc initial import of GCC 3.3.3, which fixes a few more bugs from the prior
3.3.3-pre snapshot we were using.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3 for more details.
2004-03-01 03:32:51 +00:00
simonb aa48fe87a3 Pull up:
2003-06-22  Jason Thorpe  <thorpej@wasabisystems.com>

	* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
	all locals have been declared.

from the binutils mainline.

Problem (and also fix) reported by Eyal Lebedinsky on port-pc532.
2004-03-01 00:01:16 +00:00
wiz 15a3e59b1f Add FreeBSD 5.2 definition for ath(4). 2004-02-29 18:47:12 +00:00
skrll ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
skrll 0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
matt a9a2fcf9dd Turns out we need libgcc_s for MKPIC=no too (C++ wants it). 2004-02-25 22:11:14 +00:00
matt e88bf5d8c7 Always build libgcc_eh. It's still needed when MKPIC=no 2004-02-25 21:53:49 +00:00
skrll 869ddf30e8 Whitespace 2004-02-23 21:41:05 +00:00
uwe 7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
cl 661c78132a Fix flow control:
The condition of the check if we are at a safe point to pause (i.e. we're not
holding a lock) was inverted.  Suspending the client did result in the
server using upto datalimit memory, because the server child process did
continue producing output while the server parent was holding back output
to the client.
2004-02-21 15:06:11 +00:00
skrll f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll 7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb 3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
mrg e38f9bc603 pass all required -I paths:
+CPPFLAGS+=    -I${G_EXTRA_HEADERS:H:u}

this fixes ppc builds (reported by hannken & briggs)
2004-02-12 23:17:59 +00:00
skrll 13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
skrll f6f3dd9b5f Pass -Bsymbolic down to the linker when -symbolic is used.
OK'd by Jason a while ago.
2004-02-12 18:51:41 +00:00
mrg 41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg cf10ab1d3c minor NETBSD_NATIVE adjustments needed for GCC3.3.3. 2004-02-11 16:01:48 +00:00
mrg 0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
mrg bce4dd7994 re-add generated files our builds need.
(not sure why these are not in the 20040209 tarball.)
2004-02-10 13:41:16 +00:00
mrg 5722a41a7b merge cornflakes for gcc 3.3.2-pre20040209. 2004-02-10 12:56:21 +00:00
mrg ca85c986ec import GCC 3.3.3-pre20040209. this fixes dozens of bugs from the
GCC database, several logged by netbsd users/developers.  total
count in various area:
	3 - Bootstrap failures and issues
	19 - Internal compiler errors (multi-platform)
	13 - C and optimization bugs
	42 - C++ compiler and library
	1 - Java compiler and library
	1 - Objective-C compiler and library
	3 - Fortran compiler and library
	5 - x86-specific (Intel/AMD)
	4 - PowerPC-specific
	3 - SPARC-specific
	1 - ARM-specific
	4 - ia64-specific
	3 - Alpha-specific
	2 - HPPA-specific
	1 - S390-specific
	6 - SH-specific
	5 - Other embedded target specific
	1 - GNU HURD-specific
	1 - Tru64 Unix specific
	2 - AIX-specific
	1 - IRIX-specific
	1 - Solaris-specific
	2 - Testsuite problems (compiler is not affected)
	1 - Miscellaneous

total:  125
2004-02-10 12:15:15 +00:00
mrg 2d9d64e9bd import GCC 3.3.3-pre20040209. this fixes dozens of bugs from the
GCC database, several logged by netbsd users/developers.  total
count in various area:
	3 - Bootstrap failures and issues
	19 - Internal compiler errors (multi-platform)
	13 - C and optimization bugs
	42 - C++ compiler and library
	1 - Java compiler and library
	1 - Objective-C compiler and library
	3 - Fortran compiler and library
	5 - x86-specific (Intel/AMD)
	4 - PowerPC-specific
	3 - SPARC-specific
	1 - ARM-specific
	4 - ia64-specific
	3 - Alpha-specific
	2 - HPPA-specific
	1 - S390-specific
	6 - SH-specific
	5 - Other embedded target specific
	1 - GNU HURD-specific
	1 - Tru64 Unix specific
	2 - AIX-specific
	1 - IRIX-specific
	1 - Solaris-specific
	2 - Testsuite problems (compiler is not affected)
	1 - Miscellaneous

total:  125
2004-02-10 12:05:11 +00:00
skrll 95cfd78c59 Updates so that mknative gets the right things.
- Disable symbol versioning (for now)
	- Make sure that libiberty knows its being configured with a
	  cross compiler.
	- The CXX_* variables are no longer needed/used.
	- LIB2FUNCS_EXTRA gets pulled in via LIB2ADD
	- Get LIB1ASMFUNCS and LIB2ASMSRC
	- MAYBE_USE_COLLECT2 got renamed to USE_COLLECT2 (but might not
	  be used)
	- Get EXTRA_HEADERS so that we get generate the right paths for
	  CPPFLAGS
	- Get some variables related to shared libgcc
2004-02-10 09:37:58 +00:00
lukem 78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
lukem 55e3a56f6d consistency tweaks in .stamp files 2004-02-08 22:28:27 +00:00
lukem 5ed2a261e5 cosmetic tweaks and MAKEVERBOSE support 2004-02-08 22:23:45 +00:00
lukem 8ee2b897bd Speed up make by caching the objdirs of the 4 libraries.
On my P4 2.4 an empty "cleandir" goes from 6.63s to 1.43s.
2004-02-07 05:10:44 +00:00
lukem 4d8a527fc5 When creating multiple sources from the one operation, use a
dummy "timestamp" file and depend upon that.
Prevents (unnecessarily) multiple invocations with parallel make.
2004-02-07 04:46:59 +00:00
fredb cc03b614c7 Let "cu" connect at 230400 bps, if the port supports it. 2004-02-03 14:22:26 +00:00
lukem bc42f94b01 Actually, proxymap can run chrooted even though it defeats most of the
purpose of the service.
(Use updated text from postfix 2.0.18)
2004-01-30 04:37:39 +00:00
lukem b3437c9c77 proxymap can't run chrooted either 2004-01-30 04:33:05 +00:00
lukem 25d2de94fe Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...
2004-01-27 01:00:09 +00:00
christos e9edfecbb5 Don't run commit_prep UNSETXID in server mode, because the created #cvs.lastdir
file is owned by the committing user, so that cvs cannot later remove it,
leaving junk in /tmp
2004-01-24 23:46:30 +00:00
mrg 574bbc73cf add -Bforcearchive as an alias for --whole-archive, for previous
netbsd compatibility.
2004-01-22 04:49:57 +00:00
mrg aaacfb4a0a this file is obsolete 2004-01-12 04:47:22 +00:00
lukem 01e14c2ace fix previous (MKSHARE=no support) 2004-01-12 01:43:54 +00:00
lukem f48f3fcdfc support MKDOC=no 2004-01-12 01:33:51 +00:00
lukem e7f5146b76 support MKSHARE=no 2004-01-12 01:01:55 +00:00
christos 5cd9414514 PR/24021: Greg Troxel: cvs(1) doesn't work with mode 770 repositories for
secondary gids.
Implement proper group membership testing as suggested in the PR.
2004-01-08 17:51:33 +00:00
lukem 5f82e1b832 deprecate NO_SENDMAIL and consistently test MKSENDMAIL 2004-01-06 02:10:43 +00:00
itojun 88aff973a4 bump version to 1.11.11. sync w/ config.h.in. noted by naoki fukaumi 2004-01-04 18:37:47 +00:00
lukem 986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
nathanw 58e744664c Enable alpha kcore support. 2004-01-02 22:42:05 +00:00
nathanw 240c6ac9cf Re-implement fetch_kcore_registers() for alpha. 2004-01-02 22:41:17 +00:00
skrll 2879279c43 Move libgcc3/*.mk to libgcc3/arch.
Update mknative-gcc.
2004-01-02 11:58:32 +00:00
itojun ce7a5bd52c upgrade to 1.11.11 for security reason 2004-01-02 11:34:40 +00:00
itojun 977212b1bf import 1.11.11 for security reasons
from GENTOO LINUX SECURITY ANNOUNCEMENT 200312-08

   "Stable CVS 1.11.11 has been released. Stable releases contain only
   bug fixes from previous versions of CVS. This release adds code to
   the CVS server to prevent it from continuing as root after a user
   login, as an extra failsafe against a compromise of the
   CVSROOT/passwd file. Previously, any user with the ability to write
   the CVSROOT/passwd file could execute arbitrary code as the root
   user on systems with CVS pserver access enabled. We recommend this
   upgrade for all CVS servers!"
2004-01-02 11:29:56 +00:00
mrg 416b3a63d6 do not link xmalloc.c or xexit.c. 2003-12-21 07:05:25 +00:00
simonb 72964fcdbe Apply rev 1.225 from binutils mainline:
date: 2003/07/09 01:27:30;  author: cgd;  state: Exp;  lines: +3 -2
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (mips_validate_fix): Do not warn about branch
	target being a global symbol if not compiling SVR4 PIC code.

Fixes warnings compiling MIPS kernels.  Problem noticed by Izumi Tsutsui
on the port-pmax list.
2003-12-15 00:54:41 +00:00
wiz 90d2703a98 Remove superfluous "is". Reported by Brian Chase in PR 23739. 2003-12-14 09:38:29 +00:00
rearnsha 79d79358ab Pull up the following patch from the main gcc tree.
PR optimization/13037
	* loop.c (update_giv_derive): Ignore redundant sets of a biv
	when calculating how to derive a giv from a biv.
This fixes the underlying problem in toolchain/23002.
2003-12-13 12:20:53 +00:00
matt a29393ca12 Pull in the following change from gcc mainline:
2003-11-30  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
        set SECTION_WRITE on TARGET_RELOCATABLE.
2003-12-12 17:43:37 +00:00
jmc ce438b1c67 Needs USETBL or the ms man page comes out wrong. 2003-12-12 06:08:30 +00:00
matt 020ecacc80 Don't use -traditional-cpp when assembling the PowerPC .S files. 2003-12-11 22:37:27 +00:00
nathanw 243cf32568 Alpha uses software single-step. Lost in the 5.0->5.3 conversion.
Addresses PR toolchain/23672.
2003-12-11 21:06:27 +00:00
nathanw de13a4e603 Catch up alpha_software_single_step() prototype with reality. 2003-12-11 21:02:24 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
itojun a96b475fd1 upgrade to 1.11.10. includes security fix. 2003-12-10 06:09:52 +00:00
itojun 4f87169ef4 cvs 1.11.10, includes security fix 2003-12-10 05:58:05 +00:00
mrg 12dc5d733c now that medlow is the defalut, no need to force it in -p/-pg.
suggested and tested by martin.
2003-12-08 13:15:01 +00:00
matt cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
matt f158bd2750 Make nan matches __builtin_nan(const char *). 2003-12-08 03:18:07 +00:00
scw b8191da53a Gcc3 for sh5 gets an ICE compiling libbfd's elf32.c and elf64.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 21:13:04 +00:00
scw 9867e34ef7 - Work around a gcc3 ICE when building reload1.c at -O2 on sh5:
Compile reload1.c at -O1.

 - Work around a fatal warning when building function.c on sh5:
   Define NOGCCERROR to disable -Werror.
2003-12-07 19:56:59 +00:00
scw a72cb1203e MD glue for binutils on sh5. 2003-12-07 19:42:03 +00:00
simonb affca5fc17 Use -O1 to compile cppmacro.c on ns32k to avoid an ICE. 2003-12-07 12:51:43 +00:00
simonb df1bc575d0 Include gthr-single.h instead of gthr-posix.h on ns32k now. 2003-12-07 12:44:54 +00:00
simonb 32820e3ec5 Use gthr-single.h ("no real pthreads support") on ns32k for now. 2003-12-07 12:25:43 +00:00
simonb 3155813857 ns32k c++ (probably a.out?) currently doesn't support the
-ffunction-sections andd -fdata-sections flags; disabled them
for now.
2003-12-07 12:23:35 +00:00
scw 03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
scw 0e54a63381 Recognise sh5 and sh5le. 2003-12-07 09:58:56 +00:00
matt ed5964b611 Install the MMX/SSE/Altivec include files that gcc provides. 2003-12-05 18:56:11 +00:00
simonb 3952da3765 Add ns32k binutils 2.14 support. 2003-12-05 12:08:47 +00:00
simonb f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
simonb 172612b7e5 Apply rev 1.228 from binutils mainline (via patch):
date: 2003/09/14 15:24:49;  author: ths;  state: Exp;  lines: +37 -30
        * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
        (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
        the function prototype.
        (load_register): Likewise. Simplify the checks for sign-extended
        constants.
        (macro): Likewise. Fix code generation for 64-bit address constants
        outside the 32-bit compatibility space. Adjust
        macro_build_ldst_constoffset calls.
        (s_cprestore): Adjust macro_build_ldst_constoffset call.

Fixes problems compiling r3k kernel cache routines.
2003-12-05 06:52:57 +00:00
mrg 4dd4b4772e regenerate with a working compiler 2003-12-05 04:53:27 +00:00
mrg 492975536e XXX include <stdint.h> on NetBSD 1.6 and greater.
XXX this file is generated, but this change is needed for GCC2 hosts to
XXX to able to build this file without warnings.
2003-12-05 03:25:36 +00:00
mrg 51b0c7cbfa regenerate these such that they (mostly) work.. 2003-12-05 02:57:02 +00:00
keihan 3a8b7119a9 netbsd.org -> NetBSD.org 2003-12-04 23:32:37 +00:00
mrg 228f85d62e regenerate non-broken 2003-12-04 14:39:09 +00:00
mrg abda1a5442 libopcodes.so.1/libbfd.so.6 2003-12-04 12:18:57 +00:00
mrg de5c931206 update some local code for binutils 2.14:
s/boolean/bfd_boolean/;
	s/true/TRUE/;
2003-12-04 10:11:12 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg 293d502fe4 delete binutils 2.13 sources. 2003-12-04 02:00:07 +00:00
mrg 18f0c92069 delete these long long obsolete versions 2003-12-03 10:29:32 +00:00
mrg 2aa1a44c7a switch everyone to binutils 2.14. it's confirmed to work on all the
platforms that actually build at the moment...
2003-12-03 10:26:45 +00:00