Commit Graph

916 Commits

Author SHA1 Message Date
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
mrg 9b051e142a restore the contents of this file so that the g77 texi builds. 2000-10-26 03:59:28 +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
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
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
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 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 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
matt 714ca97978 fix gdb so it read core dumps file correctly on the vax. 2000-08-25 03:29:16 +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
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
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
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
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
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
eeh 929ff11b28 Make sense of registers from coredumps. 2000-07-09 00:16:48 +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 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
erh 34eebc9c0f Copy description of -rpath masquerading as -R from the info docs. 2000-06-24 19:58:21 +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
itojun 6bbde2ae91 resolve conflicts. (mainly due to $Id$ mistake in past import) 2000-06-13 17:18:26 +00:00
itojun a297ccd8ed sendmail/helpfile needs edit by hand. 2000-06-13 17:13:17 +00:00
itojun e6b5cff2ac sendmail 8.10.2 2000-06-13 16:54:40 +00:00
mycroft 3868d5e04c Make sure the dynsym section and the reserved bits in the RPDR are fully
initialized.
2000-06-11 23:47:56 +00:00
mycroft 27ceeaf3a6 NUL-terminate warning strings correctly. 2000-06-10 15:22:51 +00:00
kristerw 49fd06e241 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions.
2000-06-09 19:11:43 +00:00
enami f838117776 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions for alpha due to the lack of
definition of INCOMING_RETURN_ADDR_RTX.
2000-06-09 08:16:01 +00:00
kristerw 3bf5c279b4 Use sjlj exceptions. 2000-06-08 20:23:47 +00:00
tsubai 473864f976 Read fp regs from core file. 2000-06-04 12:06:43 +00:00
tsubai bcb24bdd25 Use PT_{GET,SET}FPREGS. 2000-06-04 09:55:53 +00:00
perry 4fd5f44605 import patchlevel 8. bugfixes, plus adds the ability to filter on
regular expressions applied to message bodies.
2000-05-31 15:18:05 +00:00
msaitoh d65ffb0be7 sync movsi_i* from egcs-current.
Now the cc1 doesn't say "fixed or forbidden register 18 (t) was
spilled for class T_REGS" anymore.
2000-05-22 08:28:04 +00:00
wiz 8cf2005a5c Formatting glitches. 2000-05-21 18:32:47 +00:00
kristerw 874243e5ae Use the netbsdaout template. 2000-05-20 20:32:55 +00:00
kristerw ed8570c975 Added a couple of hooks used during dynamic links. 2000-05-20 20:28:16 +00:00
kristerw 9eccb6b54e This file will contain the MI part of netbsd a.out shared lib support.
For now it is just the hooks needed for ld.
2000-05-20 20:04:12 +00:00
kristerw 4e129b8db0 Moved inclusion of netbsd.h and the _get_section_contents #define to
aoutnbsd.h
2000-05-20 17:56:54 +00:00
msaitoh e55cd9cb85 Sync *{mul,div}*i3 with egcs-current.
Now we can compile mount_mfs (newfs) with -O2!
2000-05-20 01:52:52 +00:00
is 8a79eef99f Add clobber of the condition code register. Patch by Richard Earnshaw.
This fixes PR 9613.
2000-05-16 22:04:12 +00:00
veego 5169345855 The last commit needs an #include <libgen.h> to get the prototype of
basename(3). Thanks to Thomas Klausner for pointing that out.
2000-05-14 14:07:48 +00:00
thorpej ca70dbd353 vstream_parse_args() doesn't return a VSTREAM *, no matter what it's
declaration says.
2000-05-14 02:31:02 +00:00
thorpej f5a2f2d1fc String constants are const. 2000-05-14 02:29:30 +00:00
thorpej bcb03e10af String constants are const. 2000-05-14 01:55:28 +00:00
thorpej df29b70d0e Avoid shadowing a local in users of binhash_link(). 2000-05-14 01:55:05 +00:00
thorpej 47eb43337f NetBSD 1.4 and later has basename(3). 2000-05-14 01:47:13 +00:00
perry b7b463a78a import 19991231-pl07 2000-05-13 14:50:45 +00:00
deberg 62e3aaa76d use the provided "include everything" configuration to build as.info 2000-05-11 00:56:28 +00:00
msaitoh a797322f08 supports single step! 2000-05-10 20:28:33 +00:00
itojun bcf38d6889 determine path to /etc(/mail)?/aliases by using __NetBSD_Version__.
the patch will be sent back to wietse.
From: matthew
2000-05-06 16:59:38 +00:00
itojun adeb485292 catch up with sendmail 8.10 "aliases" pathname.
(postfix tries to be very compatible to sendmail,
so this is the right thing to do I believe)
2000-05-05 18:17:43 +00:00
kristerw 5f9693dcf0 Added some prototypes. 2000-05-04 20:34:14 +00:00
kristerw f338ff276c Use the new backend. 2000-05-04 20:27:16 +00:00
kristerw f1f5e5e7d8 Do corresponding changes that have been done to aoutx.h, but in a more
correct way.
2000-05-04 20:11:38 +00:00
kristerw 8db40d7513 This is going to be the new shared lib enabled a.out backend. It's
just a copy of the semi-generic a.out back-end (aoutx.h) for now.
2000-05-04 20:01:56 +00:00
kristerw d93b9acbec a.out shared lib support.
Note: it uses libbfd functionality that have not been committed yet.
2000-05-04 19:09:55 +00:00
thorpej 474f2f53cc Play casting tricks so that storing an int in the context pointer
doens't generate warnings on LP64 platforms (the usage is safe).
2000-05-04 06:10:53 +00:00
thorpej 926784fb90 Need <string.h> for strlen() prototype. 2000-05-04 06:08:56 +00:00
itojun fcc5dc7faf correct a post 8.10.1 bug - stock 8.10.1 starts with listening IPv6 socket
by default, and crushes old configuration files when sendmail gets IPv6
connection.  by default listen to IPv4 socket only for backward compatibility.

turn on IPv6 support.
IPv6 socket can be enabled by the following sendmail.cf directive:
	O DaemonPortOptions=Family=inet,address=0.0.0.1
	O DaemonPortOptions=Family=inet6,address=::
2000-05-03 11:07:58 +00:00
itojun e0e97ce83d $Id$ -> Id 2000-05-03 11:02:48 +00:00
itojun 9ea68ca773 one more removal of $Id$. 2000-05-03 11:01:47 +00:00
itojun b723212dfd for gnu/dist/sendmail, prevent rewrite of $Id$, $Revision$ and $Date$.
supply sendmail2netbsd for future imports.
remove 8.9.x files.

populate sendmail 8.10.1 build tree under gnu/usr.sbin/sendmail.
2000-05-03 10:50:04 +00:00
itojun ec8cc6ac34 for gnu/dist/sendmail, prevent rewrite of $Id$, $Revision$ and $Date$.
supply sendmail2netbsd for future imports.
remove 8.9.x files.

populate sendmail 8.10.1 build tree under gnu/usr.sbin/sendmail.
2000-05-03 10:49:07 +00:00
itojun 081aaedb27 sendmail 8.10.1 2000-05-03 09:27:16 +00:00
shin 9d63410108 use TARGET_DEFAULT to generate PIC code.
closes PR 8574.
2000-05-03 08:23:12 +00:00
shin 4c6474fd65 remove MIPS SOFTFLOAT (forgot to delete these lines). 2000-05-01 13:49:05 +00:00
perry 9955f4e200 Initial import of raw distribution from Weitse Venema 2000-04-30 18:52:26 +00:00
itojun be16012135 remove files that should not be imported.
in Makefile, s/SRC/.ALLSRC/ to honor .PATH.
2000-04-28 06:19:58 +00:00
eeh 5b2f0c023e Fix a binutils bug. Should be fixed in the next version. 2000-04-18 20:28:37 +00:00
msaitoh 9e71fff743 gdb for sh3 (broken) 2000-04-13 16:08:19 +00:00
thorpej 36e829de63 Don't enable CIX on ev6/21264, but add an ev67/21264a switch that does
enable CIX.  Taken roughly from egcs-current.
2000-04-03 16:47:05 +00:00
msaitoh 60ad3dbe9a set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction
is fixed to 16bits.
2000-03-27 18:40:41 +00:00
mycroft 2ced2ffc7d Make this at least pretend to work when cross-compiling. 2000-03-26 09:54:28 +00:00
elric 17b91be06f Changed ev5 L1 cache latency from 2 to 3, as suggested by Bill Dorsey. 2000-03-16 22:46:10 +00:00
shin ac9896415f remove MIPS SOFTFLOAT. 2000-03-05 05:41:03 +00:00
tron c28b234bd7 Let "egcs" recognize strftime(3)'s "%F" conversion. Patch supplied by
NAKAJIMA Yoshihiro in PR bin/9487.
2000-02-27 22:41:22 +00:00
wiz b7ba1243db reformulate `-o' description, also add it to grep.info 2000-02-27 03:21:26 +00:00
wiz e9abcf6371 document -o (4.4BSD compatibility option) 2000-02-27 02:49:48 +00:00
wiz 1def904605 re-add pre-generated grep.info and use that one until our texinfo
supports @command
2000-02-27 02:36:55 +00:00
wiz 7c194c51f0 use `matcher' only after it has a value 2000-02-27 02:36:01 +00:00
wiz 9e6b558cde handle conflicts between grep-2-3 and grep-2-4 2000-02-27 00:43:38 +00:00
wiz 63737a9697 Update GNU grep to 2.4 2000-02-27 00:21:41 +00:00
tsutsui 9e1d562a1f - tm.h is automatically generated by configure in gnu/dist/gcc,
so egcs/arch/mips/tm.h should not contain any #ifdefs
- Use -DTARGET_{BIG,LITTLE}_ENDIAN_DEFAULT (which are used in egcs-current)
  to switch mipseb/mipsel
2000-02-19 00:44:31 +00:00
tsutsui 6adeb20d08 Fix object format assignment entry for mips-*-netbsd*. 2000-02-16 11:38:44 +00:00
tsutsui 079fc0c149 Use "uname -p" to determine CPU_TYPE (except arm32). 2000-02-16 11:32:17 +00:00
tsutsui 5c8ea7f9f0 Add mipseb support to egcs distfiles. 2000-02-16 11:28:45 +00:00
tsutsui 9658fcaa61 Add support of mipseb target. 2000-02-16 11:23:48 +00:00
tron ea4809da9e Initial import of "sendmail" 8.9.3 sources. 2000-02-07 20:05:21 +00:00
kleink cd4d224a61 (s_common): Convert byte alignment to power of two to record alignment of
the bss section.
2000-02-07 12:25:47 +00:00
kristerw 46e954b5e5 C++ exceptions doesn't work in i386 shared libs when using sjlj exceptions
(as a.out does per default.)  This is because the compiler forgets to
restore the PIC register after a builtin_setjmp (i.e. when catching an
exception.)  This fix is taken from the gcc 2.95 branch.

Fixes PR#9110.
2000-02-01 19:29:33 +00:00
mycroft 3c08240686 Use mkstemp(). 2000-01-24 02:47:51 +00:00
mycroft f6f389921a #define POSIX 2000-01-19 03:57:17 +00:00
matt b9db4a8140 Add rudimentry VAX COFF support. enough so objdump, size, nm, etc. are happy
but no near enough for gas or ld.
2000-01-11 05:48:27 +00:00
kristerw f59fc24c1e Made libbfd read and understand our a.out dynamic symbols.
Solves PR bin/7576 from Mike Neuman.
2000-01-06 21:50:05 +00:00
msaitoh d64461f26b apply some patches from egcs-current (to make gcc more reliable) 2000-01-06 19:20:35 +00:00
msaitoh 6bba0f3f4a pass arg 4 of the qsort() correctly. 2000-01-02 11:01:02 +00:00
msaitoh fef1139c8c BFD for SH ELF 2000-01-02 10:53:52 +00:00
kristerw c1d02ec5a3 Made N_TXTADDR do the righ thing with shared libs. 2000-01-01 20:52:57 +00:00
msaitoh 0845ad5a3c gas.new for NetBSD/sh3 1999-12-26 20:03:56 +00:00
msaitoh 5efb71755d ld.new for NetBSD/sh3 1999-12-26 19:59:22 +00:00
msaitoh bec61173c4 libbfd for NetBSD/sh3 1999-12-26 19:48:00 +00:00
fair bc2c2462e1 one too many backslashes in an nroff expression, fixed per PR 8724 1999-12-20 23:01:20 +00:00
thorpej 4a9e81df67 Pass in the appropriate machine directive to the assembler if an -mcpu=...
option is given to the compiler.  It's silly to have to specify it twice
on a command line (e.g. -mcpu=ev56 -Wa,-mev56), especially considering
that if you don't, and the compiler emits e.g. a BWX instruction, the
assembler will treat it as a macro, open-coding an equivalent, which can
have some serious unwanted side-effects in some situations.

Also, don't treat e.g. 21164 and ev5 as equivalent; the assembler treats
them differently: 21164 enables PALcode-only instructions, while ev5
does not.
1999-12-03 06:37:47 +00:00
msaitoh 61dc0599cd gdb for SH (doesn't work yet) 1999-11-26 09:13:36 +00:00
msaitoh f0af9ff8e6 add "system.h" 1999-11-26 07:55:14 +00:00
drochner 16dcb3a8fd more radical fix for the last problem, from the egcs/gcc mailing list
(http://egcs.cygnus.com/ml/gcc/1999-10/msg00400.html).
Log message:
          * combine.c (get_last_value): If the last set of a register
        is after subst_low_cuid, then we can not use it to determine
        the register's last value.
1999-10-25 19:30:19 +00:00
msaitoh 0fcbe067c6 s/ the the / the / 1999-10-08 20:13:42 +00:00
msaitoh 37f310e7d1 - set pagesize to 4K
- fix script template for COFF (LIB_SEARCH_DIRS and segment alignments)
1999-10-07 18:05:17 +00:00
msaitoh 8b2c663a45 gcc for sh3 1999-10-07 17:27:35 +00:00
kristerw 6a61754bb2 Some time ago, bfd_target_vector was changed from beeing an array, to be
a pointer to an array. Unfortunately, the sizeof(bfd_target_vector) was
not changed. That made ar(1) allocate 4 bytes for an 48 bytes array...

This solves PR bin/8200 from Matthias Buelow.
1999-10-04 18:47:33 +00:00
phil f3919f30c3 Improve the accuracy of raise, cosine, and bessel functions. 1999-10-04 18:26:35 +00:00
takemura cdabc2eb91 Hpcmips needs completely FPU instruction free user land.
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
kleink 0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
is 672a322dfc Remove references to nonexistent manual pages prof(1), pc(1) and monitor(3).
Add references to c++(1), f77(1), moncontrol(3) and monstartup(3).
Problem reported in PR 8060.
1999-09-23 09:38:53 +00:00
lukem 8b94063948 if bfd_write is invoked with ptr == NULL and (size * nitems) == 0, don't bother calling fwrite(); just return (0) 1999-09-17 13:38:19 +00:00
is 3368ec72b5 Correct the condition codes.
With this, e.g. single stepping over conditional instructions finally works.
Patch by Richard Earnshaw in PR 7565.
1999-09-10 12:52:56 +00:00
drochner cfab800438 Fix for a misoptimization, from the egcs/gcc mailing list
(http://egcs.cygnus.com/ml/gcc/1999-08/msg00760.html).
Log message:
        * combine.c (get_last_value): Don't look for earlier sets if the last
        known set is somewhere in between the insns being combined.
1999-09-04 11:18:40 +00:00
hubertf 4e95d7e16e -e may be specified multiple times, as per SUSv2. 1999-08-25 01:32:03 +00:00
kleink a8b1129af9 Nuke explicit entry symbol specification; crt0 provides _start, which is
expected by the ELF ld.
1999-08-23 09:36:38 +00:00
veego 48d983aa59 Back out the last change.
Per request by Jason R. Thorpe after he fixed <alpha/cpu.h>.
1999-08-17 19:35:11 +00:00
veego 59873a18ee Rename the awk internal symbol 'proc' to 'awkproc'.
This fixes the build error on the alpha which has now a
extern  struct proc *fpcurproc;
in <machine/cpu.h>.
1999-08-15 10:22:30 +00:00
mycroft a889d100a4 The previous change caused the BSS and any sections after it to be misaligned
in the file.  Remove the part of the change which caused this.
1999-07-31 20:56:12 +00:00
matt 944fb04a2e Fix the bss outside of PT_LOAD problem. (for non-paged executables,
the wrong variable (voff) was being substracted instead of the end
of the previous section.  therefore the alignment calculations were
all wrong for .bss (which for sparc is aligned 2**8)).
1999-07-30 00:39:11 +00:00
mycroft 3e780a5eb1 From the egcs development tree:
Fix problems with autoincrement/autodecrement caused by changes to the way
memcpy() calls are generated between egcs 1.1.1 and 1.1.2.
1999-07-29 09:09:18 +00:00
fvdl b2e6565c2c Do DBX debugging symbols (stabs) the usual ELF way, using relative
offsets to the beginning of the function. Other i386 ELF systems do
this as well, and gdb expects it by default.
1999-07-07 22:23:35 +00:00
ross 6ba417f569 Deal with the strlen() problem in this program which apparently can't just
include <string.h> ... sigh ...
1999-06-27 06:14:51 +00:00
tron c3f7d05c19 Add patch from gawk-3.0.46 to fix "OFMT" handling. Fix supplied by
NAKAJIMA Yoshihiro in PR bin/7834.
1999-06-22 18:17:24 +00:00
tron d8f1e933bd Remove files which will be created during build process. 1999-06-13 22:19:46 +00:00
tron 47d3bdfd5e Import GNU Awk 3.0.3. 1999-06-13 20:39:15 +00:00
christos 20cde7d22e For now make the warning that we are passing a NULL format to printf
like functions, only a pedantic warning. This will allow us to fix the
err functions.
1999-06-07 02:48:00 +00:00
matthias cffb3afd5d gdb no longer did tracebacks on the pc532. Use unsigned not signed
compares when winding up the stack. Thank's to Ian Dall for this fix
(pr#port-pc532/7711).
1999-06-06 19:51:42 +00:00
pk fc9e9301f8 Sync with <machine/ansi.h>: `size_t' is now a `long'. 1999-06-05 12:56:28 +00:00
kleink 8cc362229b G/C predefition of `m68k'; update a debugging-related comment. 1999-05-29 17:22:56 +00:00
kleink 2a213ac8a5 m68k/ELF target configuration. 1999-05-27 14:37:14 +00:00
pk 02f27b16c8 XXX Temporarily disable the tablejump switch{} implementation when
compiling into PIC code.   Currently, the tablejump method requires
Global Offset Table access which undermines its use in self-relocating
code such as the run-time linker.
1999-05-27 12:18:35 +00:00
mycroft f836f11767 Patch from Richard Earnshaw to work around the ldrb label-movement problem. 1999-05-05 22:02:58 +00:00
tsubai 81c1536f84 Support NetBSD/powerpc. 1999-05-03 10:27:23 +00:00
kleink 049da4c2ad Add an m68k-*-netbsdelf* target. 1999-04-30 15:08:33 +00:00
kleink 88ab2c1b48 Add an m68*-*-netbsdelf* target. 1999-04-30 15:04:49 +00:00
kleink 50e4501856 Set ELFSIZE=32. 1999-04-30 15:03:39 +00:00
kleink 89618f4b6a Add an m68*-*-netbsdelf* target. 1999-04-30 15:01:08 +00:00
mark 891c358faa Fix ASM_OUTPUT_IDENT macro to emit a suitable .ident for gas. 1999-04-26 07:04:08 +00:00
ragge b72c3b5451 Fix evil bitfield bug. 1999-04-25 00:10:44 +00:00
kristerw c0021573ef Fixed an off-by-one bug when trying to look up a line given an address.
This could cause segmentation fault for ld when writing messages from
warning symbols.
1999-04-23 21:34:53 +00:00
tv 250c4d44a4 So, I can't believe the shlib fix for alpha was actually this easy.
Gdb will now work with shared objects on Alpha, completely (the Linux
folks wrote the ELF64 support for us).
1999-04-21 00:20:20 +00:00
tv 74dfd62bad Recognize the egcs function prologue. Patch from thorpej. 1999-04-21 00:19:09 +00:00
pk b13e5d1469 Quote "AS IS" as in the majority of Carnegy Mellon notices. 1999-04-12 20:38:17 +00:00
kleink f60b17cd56 Correct comparison length botch in `deprecated unix' symbol check;
fixes PR bin/7343.
1999-04-10 15:14:11 +00:00
pk c40eb1cd97 Fix a pasto in copyright text which has been procreating like rabbits.. 1999-04-06 20:09:18 +00:00
mrg 3035dcf31a grep is no longer build as 3 programs, etc., and back to how it was before the latest update. we are not GNU. 1999-04-06 16:54:55 +00:00
tv c281a0b205 Import libstdc++ changes from egcs 1.1.2. 1999-04-06 16:28:42 +00:00
tv bcfc4147c3 Import libio changes from egcs 1.1.2. 1999-04-06 16:22:32 +00:00
tv 5a74f4e7d4 Import libf2c from egcs 1.1.2. 1999-04-06 16:20:26 +00:00