Commit Graph

1047 Commits

Author SHA1 Message Date
tv a9cd1d161e Make sparc-netbsdelf and powerpc-netbsd targets work. 2001-05-30 18:47:24 +00:00
tv 6772c74f98 At the suggestion of mrg and insistence of libstdc++-v2, reenable building
libiberty for cross targets.  Whee.
2001-05-30 17:36:17 +00:00
tv 7ed9d2501e Merge change from src/gnu/dist/libstdc++ [tv]:
Reduce code size of programs using the Allocator by externalizing some
template instantiations.
2001-05-30 10:51:55 +00:00
tv 312dd92261 Avoid redeclaring (improperly) symbols already in NetBSD #includes. 2001-05-30 09:51:10 +00:00
tv ba2a0f2139 Fix -Wtraditional warning. 2001-05-30 09:23:30 +00:00
tv 05d1203a2e Move @ac_libiberty_warn_cflags@ earlier in COMPILE.c so that -Wno-* flags
added to CFLAGS at configure time actually do something useful.  (Needed
so that some warnings can be turned off under -Werror.)
2001-05-30 09:22:08 +00:00
tv ab63d93530 Update i386 support; native and cross now works properly with an i386 target. 2001-05-30 09:05:09 +00:00
tv 808a6f169b Merge from gnu/dist/gcc [christos]:
In the NO_UNDERSCORES case we need an extra `*' in ASM_GENERATE_INTERNAL_LABEL
otherwise using the macro in dbxout.c, eats the initial `.'. Probably someone
forgot that one, because the `*' is present in other implementations.
2001-05-30 09:04:13 +00:00
tv 32ed83ebd0 Major overhaul of target/host file handling for NetBSD. Make this uniform,
with a basic NetBSD template and some specific platform overrides.  This
also results in dropping most of the "xm-netbsd.h" and "t-netbsd" files.
2001-05-30 09:02:42 +00:00
tv 7363ff3bc0 Don't build libiberty for the target of a cross. (IMNSHO, this is just
stupid, but the GNU tools love having dozens of libiberty copies sitting
around in all kinds of places....)
2001-05-30 08:59:11 +00:00
tv cf37b2b1f0 gethostname() doesn't return error on NetBSD if the string is too short;
merge workaround.  This needs a more complete rewrite and submission to
FSF....
2001-05-30 07:02:39 +00:00
itojun 731b8156e5 sync with 8.11.4. 2001-05-29 04:18:24 +00:00
itojun 865ea0f61c sendmail 8.11.4 2001-05-29 03:55:36 +00:00
msaitoh 97fac3124c s/shl/shlunx/ 2001-05-21 18:21:37 +00:00
simonb 38e4ed8f09 Pass -D_SOFT_FLOAT to cpp if called with -msoft-float. 2001-05-16 15:36:47 +00:00
assar d303561a5a enable encryption support in client-server CVS.
patch from PR bin/12618, by lha@stacken.kth.se
2001-05-15 09:56:30 +00:00
itojun c98f5d554b handle EAI_SYSTEM. part of jumbo patch on PR 12876 2001-05-14 21:44:07 +00:00
itojun 9d367630fc do not check sizeof(hbuf). part of PR 12876 2001-05-14 21:36:09 +00:00
itojun 4a960a79c0 update INET6 case as well 2001-05-09 21:19:34 +00:00
itojun 38c869fbdc non-INET6 case fix - remove length limitation on FQDN hostname got from
reverse lookup.  PR 12876
2001-05-09 20:40:50 +00:00
matt cf2c5819fa More bug fixes. -fpic now produces significantly better code than
-fno-pic.  Make the pic'ifying simpler.
2001-05-09 15:04:48 +00:00
matt e5efdf6e7f Emit relocs for NetBSD/vax a.out correctly. 2001-05-09 15:02:59 +00:00
itojun c3ecbfbe3a correct checks against getnameinfo result code. PR 12876. 2001-05-09 02:12:30 +00:00
itojun 3eeb49727d sync with 20010228 pl02. 2001-05-08 05:15:54 +00:00
itojun 94a4066862 postfix 20010228-pl02 2001-05-08 04:55:29 +00:00
matt 0cd6e25685 Turn on SVR4_SHARED_LIBRARIES (make gdb build on i386). 2001-05-04 04:18:03 +00:00
matt 5eee102e5a Add ELF VAX support. (simply the VAX COFF support by using a convienence
macro).
2001-05-03 18:22:51 +00:00
matt 7ad2f6a918 A small change elfos.h for VAX ELF. configure* need to about
{vax,arm*}--netbsdelf*.  ARM ELF changes for NetBSD (from bjh).
2001-05-03 18:20:46 +00:00
matt bc6a8a09a0 Add ELF support for VAX; fix (from bjh) ARM ELF for NetBSD 2001-05-03 18:15:12 +00:00
matt db74c7bd9d Add NetBSD/vax ELF support (& NetBSD/arm ELF support too). 2001-05-03 17:28:46 +00:00
matt a53dfa8ffd Add NetBSD/vax support. Fix compile bug in vax-tdep.c 2001-05-03 17:25:45 +00:00
matt 2fda2568f5 Add vax ELF header. 2001-05-03 17:24:46 +00:00
matt d8ad732276 print register offsets in decimal since they are signed. 2001-05-03 17:23:15 +00:00
matt 26f751e159 Fix 3 problem. Be more stringest in testing register for use. Fix ffs
builtin.  Fix addsi2 pattern.
2001-05-03 17:12:52 +00:00
matt f365cec4fe fix the ffs builtin. 2001-05-01 00:54:52 +00:00
wiz 70a9f276d4 Add 'P' to enumeration of possible letters for 'cvs update'. 2001-04-30 17:24:36 +00:00
matt 6becddcc57 Fix two code generation problems. The first is to fix how negative const
int values are added in DI (if the the constant is <0 & > -2*1024*1024 then
use a decl/subl and sbwc $0 instead of addl/adwc).  The second fix is to
disallow register elimination peepholes when that register is used by
other operands in the other instructions in the peephole.
2001-04-30 06:19:58 +00:00
wiz 20e5a32c06 Add note explaining what 'P file' means in cvs update output.
Closes bin/12785.
2001-04-29 18:08:11 +00:00
bjh21 5907bb14c3 Fix missing-parenthesis typo. 2001-04-24 21:57:08 +00:00
itojun bc9da57ec7 avoid SEGV on reconfig. 2001-04-24 00:44:23 +00:00
bjh21 0b339990b0 Don't declare pic_code twice in the OBJ_ELF case. 2001-04-23 18:08:52 +00:00
tv 515079da0a Add ELF tagging (-netbsdelf) to the arm target. 2001-04-23 15:17:59 +00:00
tv f49e16abfb Make the NetBSD block work correctly/more cleanly. 2001-04-23 15:12:39 +00:00
tv 4031f2faa5 Resolve conflicts from binutils 2.11 import. 2001-04-23 14:16:30 +00:00
tv 27b65c5cd9 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
tv 2e935485da Nuke files that are no longer relevant to this directory (it's now imported
solely from binutils; these are gcc files).
2001-04-23 12:26:59 +00:00
tv 35f354e86d Import binutils 2.11. 2001-04-23 12:24:25 +00:00
tv dbfa9a0b9b Resolve conflicts from gcc 2.95.3 import. 2001-04-23 12:23:26 +00:00
tv f54fbfcb75 Import gcc 2.95.3. 2001-04-23 11:57:48 +00:00
tv 1220abdf9e Remove obsolete files. 2001-04-23 11:50:24 +00:00
wiz 0714f24d2f Add groff2netbsd script used for groff-1.16.1 import. 2001-04-19 23:27:52 +00:00
wiz 717ea6b250 Add file that got ignored by cvs import because of its extension.
(Don't you hate it when that happens?)
2001-04-19 13:11:10 +00:00
wiz ea0cdff6ef Initial import of groff-1.16.1 for reachover build.
Source modified by groff2netbsd (TBC) before import, otherwise unchanged.
2001-04-19 12:47:42 +00:00
itojun 72990e4c73 correct KAME stack determination. from hubert 2001-04-14 15:17:09 +00:00
wiz 8dcfb111ec Fix section (8, not 1) 2001-04-09 12:13:21 +00:00
itojun 411184ba53 on call to connect_to_gserver(), have a fallback case if ai_canonname is
not available.
call freeaddrinfo as necessary.
2001-04-09 09:56:01 +00:00
itojun 8bb1748b2e use RBL only for IPv4 addrs. 2001-04-08 10:56:43 +00:00
simonb d8655509d6 Pull in rev 1.11 from the Cygnus binutils CVS repo:
* ppc-opc.c (insert_mbe): Shift mask initializer as long.

Fixes cross-assembly problems when compiling for a ppc target on an
alpha.
2001-04-04 16:23:14 +00:00
itojun 5c5ff032ec cleanup includes 2001-04-03 12:06:27 +00:00
itojun eb670a58e2 fix bug in original postfix regarding to "host:port" syntax in master.cf. 2001-04-03 11:59:04 +00:00
itojun aad2aaeb2d resolve conflicts on upgrade to pl1.
sorry, forgot to commit it last night!
2001-04-03 01:01:08 +00:00
itojun 08f224c184 postfix 20010228-pl01 2001-04-02 10:55:13 +00:00
thorpej 103fed077a Need <string.h> to this builds w/ IPv6 support on the Alpha. 2001-03-26 23:57:17 +00:00
thorpej 95319c1ddc Make the functions passed to funopen(3) look like the manual page
says they should.  Arguably, funopen(3) and the internal stdio data
structure should be changed, but that might be a pretty big issue.
2001-03-25 19:50:54 +00:00
itojun 5adbc9e0bd do not bind(2) if source address specified is loopback
(recover IPv4-only postfix behavior).  sync with kame
2001-03-23 05:11:12 +00:00
christos 9de44fdf69 don't allow others to read the history file [from OpenBSD] 2001-03-20 00:03:27 +00:00
itojun b8621c7c4a use the same address family when querying destination address and local address.
XXX if local address is specified in specific address family
(like IPv4 numeric addr) it will not be honored when we connect to different
address family (like IPv6 destination).  there's no good way to circumvent this.
2001-03-18 13:51:10 +00:00
itojun 468845207e fix sprious \ in mail header.
Message-Id: <20010313174719.35692BC070@spike.porcupine.org>
Subject: PATCH (spurious \ in mail header)
From: wietse@porcupine.org (Wietse Venema)
To: Postfix users <postfix-users@postfix.org>
Date: Tue, 13 Mar 2001 12:47:19 -0500 (EST)
2001-03-16 11:57:53 +00:00
itojun 802ae96ef7 pull latest IPv6 patch in. 2001-03-13 18:34:19 +00:00
itojun e8a3065dbc remove files that have gone, mostly due to pathname change in original
(postfix/foo -> postfix/src/foo)
2001-03-13 17:57:13 +00:00
itojun 173b2f6655 postfix release-20010228 2001-03-13 17:45:02 +00:00
matt 124f92f55c Add kcore support for powerpc. 2001-03-11 20:57:50 +00:00
mrg 7fc33b5fc8 pull across a few changes from gcc-current for sparc64:
1999/08/02  Jakub Jelinek  <jj@ultra.linux.cz>
	* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
	(RTX_OK_FOR_OLO10): Likewise.
	(GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
	%lo(), allow it in addresses...
	(PRINT_OPERAND_ADDRESS): ... and print it appropriately.
	* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
	does not make sense.
	* config/sparc/sparc.c (sparc_hard_reg_printed): New array.
	(sparc_output_scratch_registers): New function.
	(output_function_prologue, sparc_flat_output_function_prologue): Use
	it.
	* varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
	defined.
	* tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.

	1999/07/30  Jakub Jelinek  <jj@ultra.linux.cz>
	* config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
	Fix patterns so that they actually match.
	(cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
	(mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
	(const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
	TARGET_HARD_MUL32.
	(mulsidi3): Reflect this in the expand.
	(smulsi3_highpart): Only on TARGET_ARCH32.
	(umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
	(const_umulsidi3_sp32): Renamed from const_umulsidi3.
	(umulsidi3): Reflect this in the expand.
	(umulsi3_highpart): Only on TARGET_ARCH32.
	(divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
	don't require g0 to be zero.
	(udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
	({,u}divsi3): New expands.
	({,u}divsi3_sp64): New patterns.
	(after lshrdi3_v8plus): Four new patterns to help combiner
	optimizing nested mixed mode shifts.
2001-03-06 05:21:47 +00:00
assar b9a25f6cc9 enable krb4 and gssapi authentication 2001-03-04 06:29:30 +00:00
mrg a37de8f33c pull across a patch from gcc-current, that allows "cc -m32 -pg" to work.
1999-12-14  Jakub Jelinek  <jakub@redhat.com>
	* config/sparc/sparc.c (sparc_override_options): Allow block
	profiling with -m32.
2001-03-03 08:14:06 +00:00
msaitoh 67087bcc78 bug fix.
from ChangeLog:
 > 	* coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
 > 	when handling 32 bit immediate relocs.
 > 	* elf32-sh.c (sh_elf_relax_delete_bytes): Likewise.
2001-03-01 10:39:20 +00:00
itojun 6104e13fae sync with 8.11.3. 2001-02-28 04:12:05 +00:00
itojun a182a19e83 sendmail 8.11.3 2001-02-28 03:57:37 +00:00
msaitoh fffd959516 shlelf->elf32shlunx 2001-02-25 15:43:24 +00:00
matt ace0ae8625 Add fetch_kcore_registers. May not be entirely correct. But
target kcore now works.
2001-02-23 23:09:07 +00:00
msaitoh 727d33ac58 bi-endian 2001-02-23 22:22:58 +00:00
msaitoh 5460e0c197 Use only one common variable to check whether big endian or not.
Now gas doesn't confuse endianness!
2001-02-23 20:53:30 +00:00
wiz 114133a1f0 Add some documentation about the 'tag' keyword in CVSROOT/config. 2001-02-22 15:41:07 +00:00
phil bb9bc62285 Fix problems in "for (;;)" and put back in quiet mode. 2001-02-19 21:07:04 +00:00
enami b0d8e4317d Make target byteorder selectable by default. 2001-02-19 02:38:27 +00:00
phil 6b94acce7c Spelling correction. Get long options working correctly. 2001-02-18 06:58:05 +00:00
wiz 22fbe2e463 Fix typo. 2001-02-17 19:06:18 +00:00
msaitoh d3115a2cc4 for little endian 2001-02-16 21:11:12 +00:00
msaitoh 8cba53675b define OBJECT_FORMAT_ELF 2001-02-16 21:08:26 +00:00
phil 337ff4e96c New library string makes it necessary to make this variable (save_adr) static. 2001-02-11 03:25:11 +00:00
tv 0ea3d2ad44 Rather than hacking it with __NetBSD__, leverage ld --traditional-format to
flag the old elf64-alpha PLT format (in use by NetBSD/alpha ld.elf_so).
2001-02-09 17:23:46 +00:00
eeh 62c6232960 Remove some debug printfs. 2001-02-05 19:39:45 +00:00
eeh 0feeda0dfd Add some support for debugging 32-bit binaries. But watch out: addresses
are not truncated to 32-bits yet.
2001-02-05 18:47:10 +00:00
tv 515bd1397b This xmakefile is unneeded. 2001-02-03 04:37:17 +00:00
tv fc00f26810 Clean up and add comments.
Draw from t-freebsd: Don't use the ginclude "override" headers; the ones
that come with NetBSD are already complete enough for gcc.
2001-02-03 04:26:06 +00:00
tv 07a5bebdd8 Add cast to last change to ensure value fits in destination ((char) added). 2001-02-02 19:00:18 +00:00
tv 834ac1455a Merge from gnu/dist, rewrite:
On systems with signed "char", truncating (int)128 to (char) will result
in the value -128 (and so forth, through -1).  Instead, use the real values
0..255 correctly.
2001-02-02 18:57:04 +00:00
tv ddc206813d Sync with configure.in. 2001-02-02 18:25:10 +00:00
tv 0c07dad326 Handle NetBSD targets uniformly. 2001-02-02 18:23:01 +00:00
tv c8170b9e0d Merge from gnu/dist from mycroft:
Make sure the dynsym section and the reserved bits in the RPDR are fully
initialized.
2001-02-02 17:59:53 +00:00
tv d343831d3e Sync. 2001-02-02 17:47:04 +00:00
tv 4f6af44984 Add arm*-*-netbsd* with netbsd-core.lo.
Remove redundant powerpc-*-netbsd*.
2001-02-02 17:45:46 +00:00
tv 1950ad24e5 Handle NetBSD targets separately and uniformly, so that they don't modify
other targets' settings.
2001-02-02 17:39:54 +00:00
tv 35a4641431 Add cases for m68k4k-*-netbsd* and vax1k-*-netbsd*. 2001-02-02 16:56:29 +00:00
tv ebc635b547 Fix frobbing of UNAME_RELEASE (meant to strip _{ALPHA,BETA} endings); it
was originally just adding a trailing period.
2001-02-02 16:49:11 +00:00
tv 99643b940c Undo utter braindamage regarding i*86-*-netbsdelf (config.guess exists for
this purpose!), and undo the spewage from using autoconf to regen the
"configure" file.
2001-01-31 20:18:40 +00:00
tv b640d66262 Merge from gnu/dist:
Make the null printf format string warning enabled only if -pedantic is
supplied.  This allows printf format attributes on err/warn.  A fix to handle
this properly is in the works for the next major gcc release.
2001-01-31 19:58:32 +00:00
tv 4ee5340670 Accept -Wno-format-extra-args as a compatibility no-op until the next gcc
release (which handles this situation more cleanly).
2001-01-31 19:56:28 +00:00
tv 8f90d7b078 Remove the "too many arguments for format" warning until the next major
release of gcc, which handles this more cleanly.
2001-01-31 19:55:23 +00:00
tv daa1fb34df Accept -Wno-format-y2k as a no-op, pending the next gcc version (which
handles strftime y2k warnings more cleanly).
2001-01-31 19:52:09 +00:00
tv 7b53faae31 Completely nuke the strftime warnings for y2k. These are handled more
cleanly in the next version of gcc, and aren't critical to keep.
2001-01-31 19:50:16 +00:00
tv 93c650f20d Fix typo in comment. 2001-01-31 19:37:32 +00:00
tv 800fc36bec Use the now-standard BFD_RELOC_ARM_JUMP_SLOT name in lieu of
BFD_RELOC_ARM_JMPSLOT.
2001-01-31 19:35:11 +00:00
tv 871b150e31 Disable ld by default on a.out targets; also disable gas on m68k-a.out and
ns32k-a.out.
2001-01-31 16:29:52 +00:00
tv ec2f0083f2 Merge from gnu/dist:
This is also called "f77" and "fort77".
2001-01-31 15:26:42 +00:00
tv 04a11cccb0 Merge from gnu/dist:
Need <string.h> for strcpy() and strlen() prototypes.
2001-01-31 15:22:51 +00:00
tv 718eabbba3 Merge from gnu/dist:
Accept %F in strftime format checking.
2001-01-31 15:18:32 +00:00
tv 402b9b56e1 va_list is "char *" on NetBSD's sparc64; conditionalize this, as the old
case was to use "void *" on __arch64__ being predefined.
2001-01-30 22:36:39 +00:00
tv f17240abbc The sparc include file is now sparc/netbsd-elf.h, not sparc/netbsdelf.h. 2001-01-30 22:09:01 +00:00
tv 351c7e5945 exit() -> _exit() when coupled with our [true] vfork(). 2001-01-30 19:45:09 +00:00
tv 250a65c838 Show "-d" in the usage output for strip(1). 2001-01-30 19:24:54 +00:00
tv 45d7253aee Merge from gnu/dist:
Document the compatibility "-d" option to strip.
2001-01-30 19:23:22 +00:00
tv 8798a9a1bb Resolve conflicts from binutils 2.10.1 import. 2001-01-30 19:08:57 +00:00
tv 8a46e5b0f4 Import binutils 2.10.1. 2001-01-30 18:32:08 +00:00
thorpej 76531dc0c1 Put these files back -- it's still pretty useful to be
about to ./configure the egcs compiler.
2001-01-30 03:19:10 +00:00
tsubai 0377b86621 Remove -Dunix, s/-Dsh3/-D__sh3__. 2001-01-22 08:16:24 +00:00
msaitoh dad579c26b apply original gcc rev. 1.29:
* Guard insn splits against illegal regsiters.
2001-01-18 07:54:21 +00:00
msaitoh 55b8b9dd18 fix insv bug (occured big endian only).
original gcc rev. 1.20.
2001-01-18 07:48:40 +00:00
msaitoh 7e950f0b69 apply gcc original rev. 1.34:
* sh.c (block_lump_real): Add missing clobber of T_REG
2001-01-18 07:38:53 +00:00
msaitoh cac0dd0f79 don't jump when !(mode != PSIMODE || reload_completed) 2001-01-18 07:31:48 +00:00
msaitoh 9539d90a33 apply gcc original rev. 1.59:
> 	* config/sh/sh.c (prepare_scc_operands): Apply force_reg to
 > 	sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
 > 	const0_rtx.
2001-01-18 07:16:07 +00:00
msaitoh 64952d6134 - fix print_operand_address bug (more use true_regnum() for SUBREG cases)
- include MANY headres
2001-01-18 07:10:30 +00:00
msaitoh 2fda7fc4f5 ifx output_ieee_ccmpeq() bug:
- 2nd argument is not rtx but rtx *
 - return value of output_ieee_ccmpeq is not void but char *
2001-01-18 07:04:35 +00:00
msaitoh c8ebf4a364 fix REGISTER_MOVE_COST bug (gcc original rev. 1.43):
> *sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS
2001-01-18 06:53:03 +00:00
eeh f616788686 Fix problem with shared library symbols. 2001-01-16 23:35:19 +00:00
itojun ef39bb4e09 pull DaemonPortOptions modifier for "optional address", from
8.12.x change (Modifiers=O).
this will let us use the same sendmail.cf file on IPv4/v6, and IPv4-only
kernels. (we do not really need netbsd-proto-IPv4only.cf any more)
2001-01-15 17:49:25 +00:00
hubertf d3dbb6c178 Xref our "crosscompiling howto" (in htdocs) 2001-01-12 01:43:57 +00:00
lukem 5df30421b7 - don't use LOG_CONS (we don't need smrsh spamming /dev/console if syslogd
isn't up)
- don't use LOG_ODELAY; it's deprecated (the behaviour is the default)
2001-01-11 02:48:11 +00:00
phil e442b478b6 Sync with bc master sources. (post 1.06) 2001-01-11 01:56:21 +00:00
phil 223f8d5da0 Make quiet mode the standard on NetBSD! 2001-01-11 01:53:45 +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 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 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
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 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
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
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 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
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
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
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
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 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
kleink 9cee15bd12 In the ELF toolchain, use __mcount instead of mcount. 2000-12-07 10:14:08 +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
wiz 779cdb4e70 Improve error output if executable file format isn't recognized. 2000-11-28 18:44:46 +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
wiz 29a60e8ab7 Undo last change for now. 2000-11-08 00:08:29 +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
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
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
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
wiz 6c22552f42 add cvs2netbsd import script 2000-10-26 16:30:38 +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