Commit Graph

3008 Commits

Author SHA1 Message Date
enami 5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
enami 6ebf26b574 Define variables before it is used. 2001-01-09 08:33:46 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
hubertf 36ece38f58 Document that this is also the frontend for the Objective C compiler
(so "man -k objective" turns up *something*)
2001-01-09 00:25:05 +00:00
itojun 99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun c2cbc35d36 need string.h for mem* prototypes.
XXX not sure if we need to compile getopt{,1}.c in gnu/usr.bin/{bc,dc}...
2001-01-08 08:06:37 +00:00
phil e6550aba7b Update for bc-1.06. 2001-01-08 04:53:59 +00:00
phil 957f1a0095 Finish the import of bc-1.06. 2001-01-08 04:03:30 +00:00
phil 0215b1186b Import bc-1.06 2001-01-08 03:28:58 +00:00
jdolecek 7fe8fd53c7 adapt CPPFLAGS so that readline.h is properly found after it's move
to /usr/include/readline/
2001-01-05 21:17:11 +00:00
lukem bca417d8e4 use %ll_ instead of the less standard %q_ 2001-01-05 03:54:34 +00:00
marcus 1e1528c218 Set proper ELF pagesize for NetBSD. 2001-01-05 02:00:11 +00:00
itojun c732fcc192 upgrade to sendmail 8.11.2. 2001-01-04 12:36:48 +00:00
itojun 8e47aad460 sendmail 8.11.2 2001-01-04 12:21:36 +00:00
itojun 752edea055 add STARTTLS handling - commented out for now. someone with knowledge
please test it.
2001-01-04 12:18:49 +00:00
itojun 0a3745234e sh3 split 2001-01-04 10:43:24 +00:00
itojun 437f6d0b1a do not try to reverse-lookup IPv6 {unspecified,linklocal} addresses.
XXX may not be 100% right, as there are people trying to reverse-lookup
them using multicast DNS.
2001-01-04 10:35:25 +00:00
itojun df319c7c4c sh3 split 2001-01-04 09:22:06 +00:00
itojun 8bd2552493 sh3 split 2001-01-04 09:11:47 +00:00
itojun 8145e73c70 sh3 split 2001-01-04 08:59:24 +00:00
itojun 264cf8dcf3 sh3 split 2001-01-04 08:01:49 +00:00
matt cb70721fea Improve some of the DImode support. Add/improve a bunch more peepholes.
Generate smaller/faster code in general.
2001-01-02 04:33:40 +00:00
matt 647505be57 Fix/optimize a few DImode moves. 2000-12-30 07:35:13 +00:00
matt 83d1ef55c4 Fix/reorder CONST_OK_FOR_LETTER for better optimization. 2000-12-30 07:33:43 +00:00
matt 5b5b167396 Eliminate things that moved to netbsd.h 2000-12-29 22:06:04 +00:00
matt 1fb988a3ee Massive changes to include PIC support including a mostly revamp machine
description.
2000-12-29 21:34:11 +00:00
matt 78172bb22d This now works for a.out using no-pic. Eg. back to where I started from. 2000-12-29 03:40:27 +00:00
matt 2b22fba4b0 Pick up a change from gcc-current. For those targets without call or
call_value, use call_pop and call_value_pop.  (this is needed for vax)
2000-12-29 03:39:14 +00:00
itojun ae3abaf5cd do not visit "conf" if MKSHARE == no 2000-12-29 02:50:35 +00:00
matt d1ff29768d Add a few more cases to print_operand_address (and be more helpful on aborts). 2000-12-28 05:29:25 +00:00
msaitoh 3fbb403b7d fix two bugs.
gcc original rev. 1.89:
	* combine.c (if_then_else_cond): If comparing against zero,
	just return thing being compared.

gcc original rev. 1.132:
	* combine.c (combine_simplify_rtx): Don't create an if_then_else
	unless both args are general_operand.
2000-12-27 13:32:09 +00:00
msaitoh 67a8732011 fix a bug from gcc original rev. 1.82
(jump_optimize_1): More accurately detect casesi insns.
2000-12-27 13:25:52 +00:00
msaitoh b2f875eeff apply some fixes from egcs-current
rtlanal.c	gcc original rev. 1.22
rtl.h		rev. 1.67
jump.c		rev. 1.47
	* rtlanal.c (regs_set_between_p): New function.
	* rtl.h (regs_set_between_p): Prototype it.
	* jump.c (jump_optimize): Use it instead of modified_between_p
	in the Sep 2 change.

fixes PR#11696
2000-12-27 13:23:59 +00:00
itojun 107490d839 netbsd has strlcpy/strlcat 2000-12-26 13:11:20 +00:00
itojun eda42ff066 canonicalize ipv6 address before reverse lookup.
From: Ingolf Steinbach <ingolf@jellonet.de>

XXX normally we should not perform reverse lookup for linklocals.
we should really rewrite sendmail to use getaddrinfo/getnameinfo.
2000-12-26 13:08:39 +00:00
jhawk 6f1ea9f65f Fixup comments to account for --{,no-}whole-archive changes. 2000-12-26 01:29:03 +00:00
itojun c9d6668ebc run eqn. PR 11814 2000-12-25 22:39:21 +00:00
matt c30c93b03c Add legitimize_pic_address and the netbsd-elf.h for ELF support. 2000-12-22 16:48:36 +00:00
matt 5b49016829 Add half-pic mode. Default to half-pic mode. 2000-12-22 16:37:37 +00:00
msaitoh bb44231698 fix a range check for 12bit PC relative access 2000-12-22 12:06:27 +00:00
matt 4241925fa2 More merging. Move GO_IF_LEGITIMATE_ADDRESS stuff into vax.c from vax.h.
Extend it to properly deal with indirect and indexed addressing modes.
Add preliminary PIC support.
2000-12-22 06:16:45 +00:00
matt a9c4c35371 Merge in 1st layer of ELF differences. This is a just a cleanup. No ELF
specific changes.
2000-12-22 04:59:35 +00:00
scw 3b11f4ee69 Define "TARGET_PAGE_SIZE=0x2000" so the linker uses an 8KB pagesize
instead of the 4KB default.
2000-12-19 09:37:04 +00:00
mycroft bb747bc663 Clean up MAJOR crack addiction:
--whole-archive and --no-whole-archive are by nature position-dependent.  Make
it so.
2000-12-16 09:29:29 +00:00
msaitoh 7b4b859811 apply gcc original rev. 1.116:
> combine.c (simplify_comparison): Fix typo.

LTU, LEU, GTU, "LEU" -> LTU, LEU, GTU, "GEU"
2000-12-15 23:42:22 +00:00
fair c98044f7d2 add port-dreamcast 2000-12-15 00:01:53 +00:00
simonb 3ebe38e227 Use the ASM_OUTPUT_COMMON() and ASM_OUTPUT_LOCAL() macros from gcc
2.95.2's m68kelf.h.  Fixes problems with the size of common objects.

From Charles Hannum.
2000-12-14 06:38:50 +00:00
mycroft e1a74529ae Don't do the default exclusions in the `flat' profile on Alpha. (We don't
on any other platform, either.)
2000-12-13 01:06:03 +00:00
is f06406d722 uuchk is not program-called; it is called by the administrator to check the
configuration file.
2000-12-11 15:49:07 +00:00
itojun d27da0bebf avoid twists with alloca. 2000-12-11 00:23:00 +00:00
scw 4c12d23bdb Fix C++ static ctors/dtors by providing the same macros as defined
in i386/netbsd-elf.h.
2000-12-09 20:38:04 +00:00
perry 1dd5f18a93 add abounce.c 2000-12-09 17:35:05 +00:00
perry 20de67075f resolve conflicts 2000-12-09 17:28:45 +00:00
perry ca6f4b24f7 Import 19991231 Patch Level 12. Numerous bug fixes. 2000-12-09 16:52:26 +00:00
wiz 55262eb5e6 Fix last commit. Problem reported by Matthias Scheler. 2000-12-08 19:21:55 +00:00
itojun 08a6189997 fix incorrect #ifdef nesting, in NetBSD version dependency check. 2000-12-08 16:35:40 +00:00
scw 36f2e9920b Set the emulation target to m68kelfnbsd. 2000-12-07 22:46:04 +00:00
scw e8c320c691 Update EMULS.m68k with "m68kelfnbsd" also. 2000-12-07 11:31:51 +00:00
kleink 9cee15bd12 In the ELF toolchain, use __mcount instead of mcount. 2000-12-07 10:14:08 +00:00
scw bacceeaa17 Use the "m68kelfnbsd" parameter file for ELF on MACHINE_ARCH=m68k. 2000-12-07 08:18:35 +00:00
scw cd966245c4 New parameter file for m68k-elf on NetBSD.
This is basically a copy of the stock "m68kelf.sh" file, with
TEXT_START_ADDR set to something a bit more reasonable for NetBSD.
2000-12-07 08:16:21 +00:00
itojun 2cd477ca56 be aware of KAME kernel-internal form returned on SIOCGIFCONF.
(patch sent to sendmail.org)
should fix the following issue:
http://mail-index.netbsd.org/netbsd-help/2000/11/28/0006.html
2000-12-07 06:31:51 +00:00
itojun 9dd871079e correct use of struct in6_addr (patch submitted to sendmail.org) 2000-12-07 06:26:56 +00:00
wiz 476ef21c46 Drop .info from direntry, so that `info gawk' works. 2000-12-05 14:56:43 +00:00
scw 72ae106334 Build gas.new if BOOTSTRAP_ELF is defined, regardless of MACHINE_ARCH. 2000-12-05 09:59:31 +00:00
scw 7da3267228 Need to check for __m68k__ with the m68k ELF toolchain... 2000-12-03 17:24:00 +00:00
jmc bc58fd4841 libbfd is ../../lib/libbfd. not ../../lib/bfd 2000-11-28 22:33:49 +00:00
wiz 779cdb4e70 Improve error output if executable file format isn't recognized. 2000-11-28 18:44:46 +00:00
matt c18fd403d1 Add __udiv_w_sdiv for VAX. gnupg requires it. And since it's a libgcc
function it makes sense to put it in libgcc.
2000-11-20 05:47:41 +00:00
mrg eab3144daf don't build these (binutils 2.9.1) tools on sparc64. 2000-11-17 06:51:35 +00:00
simonb da198db71e Update the output counter so "gzip -dv" show meaningful results for
decompressing bzip2 files.
2000-11-17 01:32:27 +00:00
simonb 87db6e6fc9 Recognise .bz2 as a valid suffix. 2000-11-17 01:31:26 +00:00
thorpej a464410d30 If NBSD_EXEC_PREFIX is set, use it to set MD_EXEC_PREFIX rather
than going with just "/usr/libexec/".

XXX This wouldn't be so gross if the GCC people would give
up their #undef habit.
2000-11-09 06:27:07 +00:00
thorpej a883aea587 If the COMPILER_EXEC_PREFIX make variable is set, define
NBSD_EXEC_PREFIX="<COMPILER_EXEC_PREFIX>/usr/libexec/"
in the CPPFLAGS.
2000-11-09 06:25:52 +00:00
itojun c2d7c0e321 gettextize works only if we have /usr/pkg/share/aclocal/gettext.m4 and friends,
and it does not make sense to install it.
From: Matthias Scheler <tron@zhadum.de>
2000-11-08 16:26:46 +00:00
wiz 29a60e8ab7 Undo last change for now. 2000-11-08 00:08:29 +00:00
jdolecek f3fb930deb use uname -p and uname -m to get machine architecture and
machine type, falling back to /bin/arch, /bin/machine if they
exist and uname didn't return anything.
This solves bin/10614.
2000-11-06 15:46:38 +00:00
itojun e9ea23788b MKNLS should only control installation of files under /usr/share/locale. 2000-11-06 15:35:25 +00:00
itojun 59e63e0152 MKNLS should control installation of /usr/share/locale files only. 2000-11-06 15:30:49 +00:00
itojun e3ec4c0463 MKNLS should control installation of /usr/share/locale only.
(we may want to have additional variable to control libintl-readiness)
2000-11-06 15:29:18 +00:00
itojun b04b150e28 s/make/${MAKE}/ 2000-11-04 15:38:32 +00:00
dan 29d4a62dee Don't prepend $DESTDIR to BINDIR, this is done elsewhere in the prog
install target.
2000-11-03 07:07:58 +00:00
veego 1699547a1d s/DISTDIR/DESTDIR/ 2000-11-02 20:17:01 +00:00
matt 37ed1c481f Add entries for VAX specific a.out relocs so that objdump can print them. 2000-11-02 16:34:32 +00:00
matt d87584c459 On VAX, JMPTAB reloc use EXTERN as a type bit. However, they are always
EXTERN so we always need to emit them.  This fixes various problem with
using JMP instruction in libc and libm.
2000-11-02 16:14:37 +00:00
itojun c1a719c0e4 visit gettext 2000-11-02 12:32:04 +00:00
itojun ef14cfbe4b build framework for GNU gettext. will be overridden whenever
Todd's BSD licensed gettext implementation comes in.
2000-11-02 01:09:01 +00:00
wiz 329cec7b7a Use NetBSD's getopt{,_long}. 2000-11-01 15:27:46 +00:00
wiz fd7b7ed13e Use NetBSD's getopt{,_long}. 2000-11-01 14:34:14 +00:00
wiz 58d067b119 Use NetBSD's getopt{,_long}. 2000-11-01 13:14:46 +00:00
itojun 6c59e69747 use /usr/lib/libintl.a. make it possible to build it with NLS-less. 2000-11-01 02:06:24 +00:00
itojun 0c0c0c829a s/sendmail/gettext/ 2000-10-31 15:00:07 +00:00
itojun 9b92297bee strip off RCS keywords 2000-10-31 14:58:00 +00:00
itojun a59f02771a GNU gettext 0.10.35 2000-10-31 14:45:40 +00:00
itojun 9ae3f98360 remove a line for debugging 2000-10-31 14:43:52 +00:00
itojun 8fcca1eaa3 do not compile libintl on our own. we now have /usr/lib/libintl. 2000-10-31 10:50:46 +00:00
mrg 77b1d2266f #include <elfos.h> only for i386 compiler for now -- it causes lossage
in other ports and is required only there (for now).
2000-10-29 12:21:14 +00:00
mrg 87b5c188d9 -msoft-quad-flat on sparc64. 2000-10-28 16:01:25 +00:00
itojun 14a62d1878 improve MKNLS=no/yes. build no NLS-related source code on MKNOS=no. 2000-10-28 06:18:07 +00:00
mycroft 07a449d9bf Swipe changes from binutils 2.10 to properly create multiple relocatons when
a symbol appears in multiple GOTs.  Fixes Mozilla problems in libgklayout.
2000-10-28 04:05:24 +00:00
mycroft fe609bcff4 Update some DEBUG printf() formats. 2000-10-27 01:05:30 +00:00
wiz 6c22552f42 add cvs2netbsd import script 2000-10-26 16:30:38 +00:00
wiz 59baa1d019 Match cvs-1.11. 2000-10-26 15:32:56 +00:00
wiz 00584ddc5c Remove some obsolete stuff (don't know why it wasn't deleted automatically). 2000-10-26 15:32:19 +00:00
wiz 2b12e01026 resolve conflicts from cvs-1.11 import 2000-10-26 14:59:06 +00:00
wiz 488e9b4921 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:57:57 +00:00
wiz b57ce6cde4 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:47:54 +00:00
mrg 9b051e142a restore the contents of this file so that the g77 texi builds. 2000-10-26 03:59:28 +00:00
mrg 613777800f don't build binutils 2.9.1 for sparc64 -- it causes issues. 2000-10-25 13:00:59 +00:00
mycroft fa3aaf6d8b Modify LIB_SPEC and LIBGCC_SPEC so that -lc and -lgcc are not included when
-shared or -symbolic (as on other platforms).  Also, override LIBGCC_SPEC for
all platforms (where it would incorrectly include the .a file explicitly on
some).
This should fix Mozilla on macppc.
2000-10-23 13:19:35 +00:00
simonb 8d8f957b42 Use MKDOC to check for building in the doc subdirectory, not MKSHARE.
If MKSHARE=no, <bsd.own.mk> will set MKDOC=no automatically.
2000-10-23 04:38:38 +00:00
bjh21 2307f87106 We only need one version of cons_fix_new_arm() -- merge them. 2000-10-22 11:44:56 +00:00
wiz d524d28d78 Reserve extra byte for terminating '\0' for sscanf buffers. From OpenBSD. 2000-10-21 16:59:39 +00:00
wiz 5d76b1c7a2 Don't compile LOCALID into the client, make it a repository specific
variable. The LOCALID is now set in the repository's CVSROOT/config file,
with a line
	tag=something
(in our case 'tag=NetBSD').
Taken from OpenBSD.
2000-10-21 12:40:23 +00:00
sommerfeld dc67ff641f When setting warn_format to a nonzero value, always use
warn_format = MAX(warn_format, N);
This prevents -Wnetbsd-format-audit -Wall from turning off stricter checks.
2000-10-18 13:57:49 +00:00
itojun 3e7ebe19d9 sync with sendmail 8.11.1.
added file: /usr/share/sendmail/ostype/solaris8.m4
2000-10-10 11:17:29 +00:00
itojun e72ddc0839 sendmail 8.11.1 2000-10-10 10:57:49 +00:00
itojun a6ede27799 (unexploitable) integer range check mistake in "sendmail -bt".
http://www.securityfocus.com/templates/archive.pike?threads=1&start=2000-10-08&mid=138539&fromthread=1&list=1&end=2000-10-14&
2000-10-10 09:45:50 +00:00
sommerfeld ac07e85117 Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)
2000-10-05 13:08:57 +00:00
sommerfeld ad8aa5a492 Enhanced format string checking.
If -Wformat is enabled, try harder to chase down compile-time constant
format strings.. capable of catching things like:
	const char foo[]="%s %d";
	printf(foo, 1, "2");

If the new option -Wnetbsd-format-audit (no, I don't like the name,
either) is enabled, complain about non-constant format strings we
can't verify.  In particular, for *v*printf-like functions (i.e.,
non-variadic functions which are passed a va_list), insist that the
format string come from a parameter declared as a format string
argument, so that functions which should be declared as printflike are
caught at compile time.
2000-10-04 19:21:28 +00:00
jeffs d00dba6879 Supply fetch_kcore_registers() implementation for NetBSD mips. 2000-10-03 22:48:54 +00:00
itojun 28d5cf3074 IPv6 support for pserver.
TODO: it conflicts with kerbeors support, however, it seems that it is
not possible to build with the current kerberos support.
i just put some #error in it.
2000-09-30 02:44:19 +00:00
eeh b555818569 Add _rtld_debug_state to the list of symbols where GDB may stop the
dynamic linker.
2000-09-25 17:10:28 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
mrg 4da440af9a make this work for i386-netbsdelf. most of this work is based on patches
from thorpej that includes a rewrite of the config/i386/netbsd-elf.h file.
2000-09-14 03:56:04 +00:00
msaitoh 9308d053b8 gen_call() takes only two arguments (from egcs-current) 2000-09-13 19:51:22 +00:00
soren 3c49111cd5 Add admin category. 2000-09-05 15:20:36 +00:00
enami ad17819c4c Ditto with cvsbug; don't attempt to create .depend. 2000-09-05 05:15:11 +00:00
enami 69145e7ba0 Don't attempt to create .depend really. 2000-09-05 05:04:00 +00:00
christos c1040a0bf8 Don't try to strip shell scripts. 2000-09-04 22:35:01 +00:00
christos 443e496d1c Add another automatically generated file. 2000-09-04 22:26:43 +00:00
christos 330493055a more cleanup:
remove windows/NT makefiles
	remove .cvsignore files
2000-09-04 22:25:24 +00:00
christos 5ffb3bd05d this got ignored in the import somehow. 2000-09-04 22:19:26 +00:00
christos f3626f4e19 fix the Makefiles to work with ${OBJDIR} 2000-09-04 22:14:31 +00:00
christos 82dfee0b88 Build cvs 2000-09-04 22:12:22 +00:00
christos 1aedcfb5d3 Apply patches from the cvs-current package. 2000-09-04 22:12:05 +00:00
christos 5c984f3d99 Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:47:02 +00:00
christos 7803a4e4ef Add reach-over Makefiles for cvs 2000-09-04 21:46:56 +00:00
christos 16cc52a1aa Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:40:07 +00:00
mrg 0dc7000eaa - define SPARC_BI_ARCH
- move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to -D__sparc64__
- copy and modify many SPARC_BI_ARCH `specs' from <sparc/sol2-sld-64.h>.
  these currently look for 32 bit things in /emul/netbsd32, but this is
  temporary


with these changes, i can succesfully build working 32 bit binaries on
a 64 bit system, as long as libgcc, *crt*.o and necessary libraries
exist under /emul/netbsd32.
2000-08-31 14:14:32 +00:00
mrg e486a9a452 - move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to "-D__sparc", preserving old CPP_PREDEFINES
  semantics.
2000-08-31 14:10:09 +00:00
mrg 1148c9223a - add missing %(asm_arch) to ASM_SPEC
- merge <netbsd.h> & <sparc/sparc.h> CPP_SPEC's.
- move CPP_PREDEFINES here from the 32bit/64bit configurations.
2000-08-31 14:08:02 +00:00
hubertf 2be9f0470d Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb@enteract.com>
2000-08-26 04:24:58 +00:00
matt 714ca97978 fix gdb so it read core dumps file correctly on the vax. 2000-08-25 03:29:16 +00:00
hubertf 273a01201a Enable some commonly used features: genericstable, mailertable, virtusertable,
domaintable, access_db and redirect.
2000-08-25 02:54:29 +00:00
hubertf 18e5216ace add that netbsd-proto.cf now depends on netbsd-proto-IPv4only.mc 2000-08-25 02:47:37 +00:00
hubertf 72640eaccd Rewrite: include netbsd-proto-IPv4only.mc, and enable handling of IPv6. 2000-08-25 02:36:23 +00:00
enami 293609abba Allow to override CFDIR from command line. 2000-08-23 10:43:06 +00:00
tv 09c7751d41 Put vax in the "nbsd" emulation. 2000-08-22 17:41:24 +00:00
tv 35db5d3725 Re-add TARGET_SYMBOL_FIELDS until this is redone correctly using
TC_SYMFIELD_TYPE.
2000-08-22 17:39:43 +00:00
tsubai 84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
msaitoh 8ca9f7f132 fix one of the two fixunsdfsi with fixunssfsi 2000-08-21 14:05:25 +00:00
itojun 97c5ff842d NetBSD has setusercontext() since Feb 2000.
detect it by "1.4Q or more recent" (are there better ways? - it is
not about kernel API...)
2000-08-20 19:37:45 +00:00
tv b3e56e61e9 Add some compatibility vectors to allow objdump'ing and objcopy'ing of
formats used by COMPAT_ emulations.
2000-08-20 18:01:51 +00:00
tv 0ed3ab1dff Add vaxnetbsd_vec. 2000-08-20 17:58:17 +00:00
tv 83b3d9e356 Add netbsdaout.lo to i386netbsd_vec. 2000-08-18 18:28:13 +00:00
tv 7869cbfce2 plt_offset->plt.offset fix 2000-08-18 18:21:29 +00:00
tv 64dfdf4c5c Add definition for mipselnetbsd_vec. 2000-08-18 18:20:42 +00:00
eeh 99150af770 Fix `call'. This can panic the kernel due to an unhandled FPU exception. 2000-08-18 18:14:09 +00:00
tv f5781c1805 Add some more targ_extra_emuls. 2000-08-18 17:40:34 +00:00
tv 9ef2ad5184 Define SET_ARCH_MACH only if not already set. 2000-08-18 16:54:23 +00:00
tv b30f55f2f3 Add other-endian mips emulations and sparc32 on sparc64 for target_extra_emuls. 2000-08-18 16:50:09 +00:00
tv 0a7caaf76f Revert changes caused by running autoconf in this directory; leave only the
NetBSD additions (makes future import merges much easier).
2000-08-18 16:18:45 +00:00
tv 4a00eaa0a3 Fix const warnings surrounding bfd_target_vector. 2000-08-18 15:58:57 +00:00
mrg 2d76e7037d in define_split, only check "reload_completed", removing the bogus 64-bit
and FPU checks that caused compile failures for no good reason.
from: <root@ihack.net>
2000-08-18 15:45:28 +00:00
tv a516c80d78 Add a hack to force HOST_WIDE_INT to "long long" if the target is alpha or
sparc64 and the host is using gcc.
2000-08-18 12:56:30 +00:00
mrg 80e98bec22 pull across a patch from gcc-current that fixes ~90% of the sparc64 compile
problems:

        * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
2000-08-17 04:01:30 +00:00
msaitoh e2509d0d3e add _fixunsdfsi.o and _fixunsdfsi.o when MACHINE_ARCH= sh3 or arm26 2000-08-17 00:28:07 +00:00
itojun 229f25d14b install m4 file for darwin (added in 8.10.x -> 8.11.0) 2000-08-13 16:22:53 +00:00
mrg 9ee127a42c back out previous, and do it properly:
copy the ASM_OUTPUT_CONSTRUCTOR and ASM_OUTPUT_DESTRUCTOR defines from
sol2-sld-64.h.
2000-08-11 03:31:41 +00:00
mrg 239844c32c if TARGET_CPU_DEFAULT is TARGET_CPU_v9 or TARGET_CPU_ultrasparc, define
ASM_LONG to be ".xword".  this makes C++ global ctors and dtors work
on the sparc64.  noted by mycroft.
2000-08-11 03:13:32 +00:00
tv 3f6d813859 Merge change from gnu/dist/gcc/objc: don't put absolute relocs in ro-data
if compiling PIC, else RRS text relocs will be generated.
2000-08-10 21:06:50 +00:00
tv 6e4a918853 Merge changes from gnu/dist/ld. 2000-08-10 20:41:51 +00:00
tv cbef3ca9f3 Merge changes from gnu/dist/binutils. 2000-08-10 19:53:54 +00:00
tv 9af6ca142f Update to 2.10's definition of undefined_symbol(). 2000-08-10 19:33:02 +00:00
tv 2fe7204081 Recanonicalize ELF hosts (that were formerly a.out) uniformly:
ARCH-unknown-netbsdelfVERSION
ELF hosts that started that way are not changed.
2000-08-10 19:02:56 +00:00
tv 8b5fd52a02 This recursive build structure is now defunct. 2000-08-10 18:47:34 +00:00
tv 874ca5d37d Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:32 +00:00
tv d695e2940c This recursive build structure is now defunct. 2000-08-10 18:47:31 +00:00
tv 3a56a942e3 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:31 +00:00
tv 2307a371d0 This recursive build structure is now defunct. 2000-08-10 18:47:30 +00:00
tv d977b907c5 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:29 +00:00
tv 7e11855e83 This recursive build structure is now defunct. 2000-08-10 18:47:28 +00:00
tv 48e789cc92 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:28 +00:00
tv ffa84dd52b This recursive build structure is now defunct. 2000-08-10 18:47:27 +00:00
tv cc17a82660 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:26 +00:00
tv 74a5c3583d This recursive build structure is now defunct. 2000-08-10 18:45:19 +00:00
tv 78bd242fd9 Merge changes from (binutils 2.9.1-based) gnu/dist/bfd. 2000-08-10 17:36:49 +00:00
tv fc02cabeaf Merge from src/gnu/dist. Add armv2 and mipseb, and eliminate old `netbsd386'
shorthand alias.
2000-08-10 15:46:35 +00:00
tv 3d81ad2517 This was never used at this gnu/dist level, so remove. 2000-08-10 15:03:00 +00:00
tv 78da8a8e6b More compatible yet: sysctl used to be in /usr/sbin, not /sbin, so add both
locations to $PATH before trying to run sysctl.
2000-08-10 14:57:22 +00:00
tv 8b87324ac7 Merge the MACHINE_ARCH logic from gnu/dist/config.guess, but do this in
a backwards-compatible way (prefer uname -p, but fall back to
/sbin/sysctl -n hw.machine_arch).
2000-08-10 14:54:34 +00:00
tv 339b9c00a1 Merge from gnu/dist/include. 2000-08-10 13:52:05 +00:00
mrg b6328d2c74 redefine LINK_SPEC properly. 2000-08-08 14:29:17 +00:00
mrg 491b443ab4 #define NETBSD_ELF 2000-08-08 14:28:13 +00:00
ws 3fffb655ae Add modification remark as required by the GPL. 2000-08-07 15:20:36 +00:00
mrg 2c8d59bf4e enable gdb on sparc64 2000-08-07 03:07:24 +00:00
veego ffeeef2048 Move the include of <bsd.prog.mk> to the old place to build the manpage
correctly and also move cexp.c after the include to get the ${DIST} path.
2000-08-06 19:49:53 +00:00
veego d7b2c1f83d Fix the last commit. We need to use the parts with ${DIST} after <bsd.prog.mk>
because that includes the ../Makefile.inc.
2000-08-06 19:41:18 +00:00
mrg f09f5d208b fix part of previous: do install /usr/bin/cpp on sparc64. 2000-08-06 16:37:57 +00:00
mrg fa388a99bb don't build egcs 1.1.2 on sparc64; it is broken and useless 2000-08-06 15:26:55 +00:00
jhawk 4abc92e8ad Pullover wording fix for "-e entry" from gnu/dist/toolchain.
Fix for PR 10735, fix suggested by Thomas Klausner <wiz@netbsd.org>.
2000-08-06 01:48:59 +00:00
eeh 19b86fa1f6 Make gmon work a bit on sparcv9 machines. 2000-08-03 21:42:01 +00:00
msaitoh 71380e0ad2 fix typo 2000-08-03 05:04:02 +00:00
pooka 6ee9631c26 Add missing $ from {MACHINE_ARCH} 2000-08-02 22:25:13 +00:00
eeh c018ba7889 Add sparc64-*-netbsd support. 2000-08-02 21:00:31 +00:00
msaitoh 27f9ec8b7e don't include solib.h if the system is sh3&&(!ELF) 2000-08-02 17:46:20 +00:00
msaitoh 559af6df3c fix two bugs:
- cc1 dumps core when "-pg" is used
	- gas produces a syntax error
2000-08-02 12:07:12 +00:00
eeh 2da9fd746e Clear out all of %g0. 2000-07-29 03:16:22 +00:00
eeh 1d25b50536 Control registers on sparc v9 start with PC_REGNUM not Y_REGNUM since
%pc and %npc are stored in %tpc and %tnpc rather than %l1 and %l2.
2000-07-28 17:49:52 +00:00
tv 45a5f2e009 Remove conflicting definition for "make_temp_file" now found in libiberty. 2000-07-28 01:10:32 +00:00
tv 12b2c44a51 Use the libiberty from binutils; it is much newer and required by binutils. 2000-07-28 01:09:12 +00:00
mrg 9f3da9fc1b add sparc64-netbsd & sparc-netbsdelf support (from me via binutils-current) 2000-07-26 16:35:12 +00:00
mrg e9a5e01d04 support all sparc targets (from me via binutils-current) 2000-07-26 16:32:57 +00:00
mrg e1575802a6 add sparc64-netbsd support (from me via binutils-current) 2000-07-26 16:30:56 +00:00
mrg 1600ba0055 - pull across the new gcc/config/netbsd.h
- pull across the sparc-netbsdelf and sparc64-netbsd targets
2000-07-26 16:28:04 +00:00
tv cb6fba8c4d A README file describing the `toolchain' directory import procedure, and
future home for `How to build a cross-compiler'.
2000-07-26 00:40:02 +00:00
tv 3129068ae5 Import of gdb 5.0 into new gnu/dist/toolchain layout. 2000-07-26 00:32:27 +00:00
tv 1de46e6cd7 Import of binutils 2.10 into new gnu/dist/toolchain layout. 2000-07-26 00:22:40 +00:00
tv dc36174cbd Import of gcc 2.95.2 into new gnu/dist/toolchain layout. 2000-07-26 00:17:09 +00:00
mycroft a7bc813f46 Pull in a change critical to making the sparc64 compile:
Redefine ASM_OUTPUT_DWARF_ADDR_CONST() using ASM_OUTPUT_DWARF2_ADDR_CONST(), so
that the latter can take a string.
2000-07-24 02:30:40 +00:00
mycroft 9b2c5720e8 Make the ligature_node operators compile with GCC 2.95.2.
Thanks to Assar for assistance.
2000-07-24 02:24:43 +00:00
itojun c333e7610b sync with 8.11.0. (relatively large amount of changes are due to
rcs-id rewrites)
2000-07-23 14:24:48 +00:00
itojun 2ffe59611d sendmail 8.11.0 2000-07-23 14:07:40 +00:00
cgd 988a36fab4 use FILES* rather than an explicit afterinstall target, so that
UNPRIVILEGED is handled correctly w/o local hacks.
2000-07-22 03:30:40 +00:00
eeh 929ff11b28 Make sense of registers from coredumps. 2000-07-09 00:16:48 +00:00
eeh 49dd8cbac1 solib.o is required for linking even on MKPIC="no". 2000-07-08 19:18:19 +00:00
cgd fc10dadbb6 use '${MAKE}', not 'make'. 2000-07-07 04:26:57 +00:00
ad 97053d8364 Add a `-y' option which filters archives through bzip2(1). 2000-07-05 11:57:57 +00:00
enami 7316fa55ad Pass ${INSTPRIV} to ${INSTALL}. 2000-07-05 03:30:07 +00:00
enami b8df94bd38 - Simplify modifiers.
- Wrap long line.
2000-07-05 03:11:42 +00:00
thorpej 2600f5f931 Separate out tar and cpio. 2000-07-04 17:12:00 +00:00
itojun a7183f656a v4 only sendmail.cf source 2000-07-04 12:21:57 +00:00
itojun 0bfeec5234 sync sendmail default configuration file with GENERIC kernel setting.
was: sendmail-IPv6.cf(v4/v6) + sendmail.cf(v4)
now: sendmail-IPv4only.cf(v4) + sendmail.cf(v4/v6)

do we need etc/obsolete.mi?
2000-07-04 12:21:02 +00:00
matt 29cea83095 When printing a longword displacement, grab the displacement as a
long (instead of a short).  That way the printed addresses will be
correct.
2000-07-04 02:10:37 +00:00
sommerfeld 85788f586b Pass -m21264 to assembler for -mcpu=21264a or -mcpu=ev67 2000-07-03 12:24:10 +00:00
matt 3e50ef53a3 Add <stdlib.h> 2000-07-03 05:05:43 +00:00
matt cb3d52d53a Define STDC_HEADERS so it uses mem* instead b* routines. 2000-07-03 05:05:25 +00:00
matt ecd1681660 incease the biggest alignment to 8 bytes 2000-07-03 02:07:15 +00:00
matt 5335c7ffea fix serious recog bug. Basically addl2 was never used since the rtx_equal_p
was using the wrong operands.
2000-07-03 01:09:52 +00:00
bjh21 9fe4c9c75f Add arm26 support to GCC. This is only very slightly tested at present. 2000-07-02 12:31:21 +00:00
kleink 5f8a717928 Change tot_written from u_quad_t to unsigned long long for portability's
sake.
2000-06-26 08:25:34 +00:00
erh 34eebc9c0f Copy description of -rpath masquerading as -R from the info docs. 2000-06-24 19:58:21 +00:00
soren 5f5263355b Add sgimips. 2000-06-24 11:12:55 +00:00
fvdl 12be02ba6c Removed; it's now integrated in sys/conf/files 2000-06-22 20:35:14 +00:00
fvdl 35bcb23114 This file was moved to sys/ufs/ffs. 2000-06-22 16:09:33 +00:00
fvdl 82bae99d9f Update copyright notice. Prepare to move into the main tree. 2000-06-22 15:21:04 +00:00
kristerw 4c7e15910e Disable "fancy math" the correct way (it's TARGET_DEFAULT that is used
for that kind of flags -- the TARGET_CPU_DEFAULT is used to choose the
cpu type to generate code for...)

Fixes PR 10357.
2000-06-19 19:48:37 +00:00
itojun e7ad3c6044 sync with sendmail 8.11.0beta3 about default address family (= AF_INET)
handling.
2000-06-18 00:02:50 +00:00
tsutsui 81712cf5c7 Build and install as.info in gas.new on all ports. 2000-06-17 17:59:28 +00:00