Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src update branch to NetBSD 1.4, (NetBSD constant to 1.4_AL...
details: https://anonhg.NetBSD.org/src/rev/edf4b3879079
branches: netbsd-1-4
changeset: 468018:edf4b3879079
user: perry <perry%NetBSD.org@localhost>
date: Fri Apr 02 03:02:19 1999 +0000
description:
update branch to NetBSD 1.4, (NetBSD constant to 1.4_ALPHA date)
diffstat:
gnu/dist/bfd/ecofflink.c | 2499 -----------
libexec/cron/INSTALL | 87 -
libexec/ld.aout_so/arch/m68k/md.c | 382 -
share/man/man8/man8.alpha/Makefile | 6 -
share/man/man8/man8.alpha/installboot.8 | 170 -
share/man/man8/man8.alpha/setnetbootinfo.8 | 133 -
share/termcap/reorder | 62 -
share/termcap/tck | 91 -
sys/arch/alpha/alpha/machdep.c | 2218 ----------
sys/arch/alpha/include/disklabel.h | 48 -
sys/arch/alpha/pci/cia.c | 397 -
sys/arch/alpha/stand/Makefile | 5 -
sys/arch/alpha/stand/Makefile.bootprogs | 62 -
sys/arch/alpha/stand/Makefile.inc | 10 -
sys/arch/alpha/stand/boot/Makefile | 30 -
sys/arch/alpha/stand/boot/conf.c | 54 -
sys/arch/alpha/stand/boot/devopen.c | 159 -
sys/arch/alpha/stand/boot/disk.c | 170 -
sys/arch/alpha/stand/boot/disk.h | 9 -
sys/arch/alpha/stand/boot/newvers.sh | 44 -
sys/arch/alpha/stand/boot/version | 14 -
sys/arch/alpha/stand/bootxx/Makefile | 31 -
sys/arch/alpha/stand/bootxx/bootxx.c | 206 -
sys/arch/alpha/stand/bootxx/puts.c | 14 -
sys/arch/alpha/stand/common/boot.c | 151 -
sys/arch/alpha/stand/common/common.h | 9 -
sys/arch/alpha/stand/common/headersize.c | 86 -
sys/arch/alpha/stand/common/prom.c | 126 -
sys/arch/alpha/stand/common/start.S | 93 -
sys/arch/alpha/stand/installboot/Makefile | 22 -
sys/arch/alpha/stand/installboot/cd9660.c | 278 -
sys/arch/alpha/stand/installboot/extern.h | 43 -
sys/arch/alpha/stand/installboot/installboot.c | 643 --
sys/arch/alpha/stand/netboot/Makefile | 32 -
sys/arch/alpha/stand/netboot/if_prom.c | 266 -
sys/arch/alpha/stand/netboot/newvers.sh | 44 -
sys/arch/alpha/stand/netboot/version | 8 -
sys/arch/alpha/stand/setnetbootinfo/Makefile | 13 -
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c | 248 -
sys/arch/amiga/dev/device.h | 226 -
sys/arch/bebox/isa/wd.c | 1807 --------
sys/arch/i386/stand/lib/netif/3c509.h | 390 -
sys/arch/m68k/m68k/db_trace.c | 574 --
sys/arch/sun3/conf/DISKLESS | 151 -
sys/arch/sun3/conf/DISKLESS3X | 136 -
sys/arch/sun3/conf/FOUR_TTYS | 184 -
sys/arch/sun3/conf/GENERIC3X | 216 -
sys/arch/sun3/conf/INSTALL | 182 -
sys/arch/sun3/conf/INSTALL3X | 179 -
sys/arch/sun3/conf/KGDB | 196 -
sys/arch/sun3/conf/KGDB3X | 197 -
sys/arch/sun3/conf/RAMDISK3X | 129 -
sys/arch/sun3/conf/files.sun3 | 270 -
sys/arch/sun3/dev/dma.c | 395 -
sys/arch/sun3/dev/dmareg.h | 83 -
sys/arch/sun3/dev/dmavar.h | 67 -
sys/arch/sun3/dev/esp.c | 396 -
sys/arch/sun3/dev/sebuf.c | 173 -
sys/arch/sun3/dev/si_sebuf.c | 771 ---
sys/arch/sun3/include/param.h | 90 -
sys/arch/sun3/include/vmparam.h | 76 -
sys/arch/sun3/include/vmparam3.h | 126 -
sys/arch/sun3/include/vmparam3x.h | 114 -
sys/arch/sun3/sun3/idprom.c | 118 -
sys/arch/sun3/sun3/machdep.c | 874 ----
sys/arch/sun3/sun3/machdep.h | 192 -
sys/arch/sun3/sun3/vm_machdep.c | 401 -
sys/arch/sun3/sun3x/idprom.c | 131 -
sys/arch/sun3/sun3x/machdep.c | 881 ----
sys/arch/sun3/sun3x/obio.c | 344 -
sys/arch/sun3/sun3x/obio.h | 94 -
sys/arch/sun3/sun3x/pmap.c | 3904 ------------------
sys/arch/vax/vax/yyyin_cksum.c | 149 -
sys/arch/x68k/include/cdefs.h | 2 +-
sys/arch/x68k/include/cpufunc.h | 2 +-
sys/arch/x68k/include/ieeefp.h | 2 +-
sys/arch/x68k/include/kbio.h | 2 +-
sys/arch/x68k/include/pci_machdep.h | 2 +-
sys/arch/x68k/include/powioctl.h | 2 +-
sys/arch/x68k/include/profile.h | 2 +-
sys/arch/x68k/include/setjmp.h | 2 +-
sys/arch/x68k/include/vuid_event.h | 2 +-
sys/arch/x68k/usr.bin/Makefile | 2 +-
sys/arch/x68k/usr.sbin/Makefile | 2 +-
sys/arch/x68k/x68k/clockioctl.h | 2 +-
sys/arch/x68k/x68k/kgdb_glue.c | 4 +-
sys/arch/x68k/x68k/kgdb_proto.h | 2 +-
sys/dev/dec/qbus/dl.c | 524 --
sys/dev/dec/qbus/dlreg.h | 82 -
sys/dev/dec/qbus/dz.c | 703 ---
sys/dev/dec/qbus/dz_uba.c | 142 -
sys/dev/dec/qbus/dzreg.h | 120 -
sys/dev/dec/qbus/dzvar.h | 70 -
sys/dev/dec/qbus/uba.c | 917 ----
sys/dev/dec/qbus/ubareg.h | 238 -
sys/dev/dec/qbus/ubavar.h | 184 -
sys/sys/param.h | 8 +-
usr.bin/vi/docs/spell.ok | 93 -
usr.bin/vi/docs/vi.0.ps | 668 ---
usr.bin/vi/docs/vi.0.txt | 399 -
usr.bin/yacc/yyfix.1 | 112 -
usr.sbin/sendmail/cf/cf/boat-anchor.mc | 2 +-
usr.sbin/sendmail/cf/ostype/bsdi1.0.m4 | 38 -
usr.sbin/sendmail/cf/ostype/dgux.m4 | 41 -
usr.sbin/sendmail/cf/ostype/domainos.m4 | 42 -
usr.sbin/sendmail/cf/ostype/dynix3.2.m4 | 39 -
usr.sbin/sendmail/cf/ostype/sco3.2.m4 | 45 -
usr.sbin/sendmail/makemap/Makefile.dist | 85 -
usr.sbin/sendmail/praliases/Makefile.dist | 85 -
usr.sbin/sendmail/src/Makefile.DGUX | 101 -
usr.sbin/sendmail/src/Makefile.Dynix | 113 -
usr.sbin/sendmail/src/Makefile.FreeBSD | 50 -
usr.sbin/sendmail/src/Makefile.Mach386 | 107 -
usr.sbin/sendmail/src/Makefile.RISCos | 117 -
usr.sbin/sendmail/src/Makefile.SCO | 104 -
usr.sbin/sendmail/src/Makefile.SVR4 | 113 -
usr.sbin/sendmail/src/Makefile.Titan | 114 -
usr.sbin/traceroute/README | 30 -
118 files changed, 20 insertions(+), 28675 deletions(-)
diffs (truncated from 29236 to 300 lines):
diff -r 630ba5dea718 -r edf4b3879079 gnu/dist/bfd/ecofflink.c
--- a/gnu/dist/bfd/ecofflink.c Thu Apr 01 23:28:09 1999 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2499 +0,0 @@
-/* Routines to link ECOFF debugging information.
- Copyright 1993, 94, 95, 96, 1997 Free Software Foundation, Inc.
- Written by Ian Lance Taylor, Cygnus Support, <ian%cygnus.com@localhost>.
-
-This file is part of BFD, the Binary File Descriptor library.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
-#include "bfd.h"
-#include "sysdep.h"
-#include "bfdlink.h"
-#include "libbfd.h"
-#include "objalloc.h"
-#include "aout/stab_gnu.h"
-#include "coff/internal.h"
-#include "coff/sym.h"
-#include "coff/symconst.h"
-#include "coff/ecoff.h"
-#include "libcoff.h"
-#include "libecoff.h"
-
-static boolean ecoff_add_bytes PARAMS ((char **buf, char **bufend,
- size_t need));
-static struct bfd_hash_entry *string_hash_newfunc
- PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *,
- const char *));
-static void ecoff_align_debug PARAMS ((bfd *abfd,
- struct ecoff_debug_info *debug,
- const struct ecoff_debug_swap *swap));
-static boolean ecoff_write_symhdr PARAMS ((bfd *, struct ecoff_debug_info *,
- const struct ecoff_debug_swap *,
- file_ptr where));
-static int cmp_fdrtab_entry PARAMS ((const PTR, const PTR));
-static boolean mk_fdrtab PARAMS ((bfd *,
- struct ecoff_debug_info * const,
- const struct ecoff_debug_swap * const,
- struct ecoff_find_line *));
-static long fdrtab_lookup PARAMS ((struct ecoff_find_line *, bfd_vma));
-static boolean lookup_line
- PARAMS ((bfd *, struct ecoff_debug_info * const,
- const struct ecoff_debug_swap * const, struct ecoff_find_line *));
-
-/* Routines to swap auxiliary information in and out. I am assuming
- that the auxiliary information format is always going to be target
- independent. */
-
-/* Swap in a type information record.
- BIGEND says whether AUX symbols are big-endian or little-endian; this
- info comes from the file header record (fh-fBigendian). */
-
-void
-_bfd_ecoff_swap_tir_in (bigend, ext_copy, intern)
- int bigend;
- const struct tir_ext *ext_copy;
- TIR *intern;
-{
- struct tir_ext ext[1];
-
- *ext = *ext_copy; /* Make it reasonable to do in-place. */
-
- /* now the fun stuff... */
- if (bigend) {
- intern->fBitfield = 0 != (ext->t_bits1[0] & TIR_BITS1_FBITFIELD_BIG);
- intern->continued = 0 != (ext->t_bits1[0] & TIR_BITS1_CONTINUED_BIG);
- intern->bt = (ext->t_bits1[0] & TIR_BITS1_BT_BIG)
- >> TIR_BITS1_BT_SH_BIG;
- intern->tq4 = (ext->t_tq45[0] & TIR_BITS_TQ4_BIG)
- >> TIR_BITS_TQ4_SH_BIG;
- intern->tq5 = (ext->t_tq45[0] & TIR_BITS_TQ5_BIG)
- >> TIR_BITS_TQ5_SH_BIG;
- intern->tq0 = (ext->t_tq01[0] & TIR_BITS_TQ0_BIG)
- >> TIR_BITS_TQ0_SH_BIG;
- intern->tq1 = (ext->t_tq01[0] & TIR_BITS_TQ1_BIG)
- >> TIR_BITS_TQ1_SH_BIG;
- intern->tq2 = (ext->t_tq23[0] & TIR_BITS_TQ2_BIG)
- >> TIR_BITS_TQ2_SH_BIG;
- intern->tq3 = (ext->t_tq23[0] & TIR_BITS_TQ3_BIG)
- >> TIR_BITS_TQ3_SH_BIG;
- } else {
- intern->fBitfield = 0 != (ext->t_bits1[0] & TIR_BITS1_FBITFIELD_LITTLE);
- intern->continued = 0 != (ext->t_bits1[0] & TIR_BITS1_CONTINUED_LITTLE);
- intern->bt = (ext->t_bits1[0] & TIR_BITS1_BT_LITTLE)
- >> TIR_BITS1_BT_SH_LITTLE;
- intern->tq4 = (ext->t_tq45[0] & TIR_BITS_TQ4_LITTLE)
- >> TIR_BITS_TQ4_SH_LITTLE;
- intern->tq5 = (ext->t_tq45[0] & TIR_BITS_TQ5_LITTLE)
- >> TIR_BITS_TQ5_SH_LITTLE;
- intern->tq0 = (ext->t_tq01[0] & TIR_BITS_TQ0_LITTLE)
- >> TIR_BITS_TQ0_SH_LITTLE;
- intern->tq1 = (ext->t_tq01[0] & TIR_BITS_TQ1_LITTLE)
- >> TIR_BITS_TQ1_SH_LITTLE;
- intern->tq2 = (ext->t_tq23[0] & TIR_BITS_TQ2_LITTLE)
- >> TIR_BITS_TQ2_SH_LITTLE;
- intern->tq3 = (ext->t_tq23[0] & TIR_BITS_TQ3_LITTLE)
- >> TIR_BITS_TQ3_SH_LITTLE;
- }
-
-#ifdef TEST
- if (memcmp ((char *)ext, (char *)intern, sizeof (*intern)) != 0)
- abort();
-#endif
-}
-
-/* Swap out a type information record.
- BIGEND says whether AUX symbols are big-endian or little-endian; this
- info comes from the file header record (fh-fBigendian). */
-
-void
-_bfd_ecoff_swap_tir_out (bigend, intern_copy, ext)
- int bigend;
- const TIR *intern_copy;
- struct tir_ext *ext;
-{
- TIR intern[1];
-
- *intern = *intern_copy; /* Make it reasonable to do in-place. */
-
- /* now the fun stuff... */
- if (bigend) {
- ext->t_bits1[0] = ((intern->fBitfield ? TIR_BITS1_FBITFIELD_BIG : 0)
- | (intern->continued ? TIR_BITS1_CONTINUED_BIG : 0)
- | ((intern->bt << TIR_BITS1_BT_SH_BIG)
- & TIR_BITS1_BT_BIG));
- ext->t_tq45[0] = (((intern->tq4 << TIR_BITS_TQ4_SH_BIG)
- & TIR_BITS_TQ4_BIG)
- | ((intern->tq5 << TIR_BITS_TQ5_SH_BIG)
- & TIR_BITS_TQ5_BIG));
- ext->t_tq01[0] = (((intern->tq0 << TIR_BITS_TQ0_SH_BIG)
- & TIR_BITS_TQ0_BIG)
- | ((intern->tq1 << TIR_BITS_TQ1_SH_BIG)
- & TIR_BITS_TQ1_BIG));
- ext->t_tq23[0] = (((intern->tq2 << TIR_BITS_TQ2_SH_BIG)
- & TIR_BITS_TQ2_BIG)
- | ((intern->tq3 << TIR_BITS_TQ3_SH_BIG)
- & TIR_BITS_TQ3_BIG));
- } else {
- ext->t_bits1[0] = ((intern->fBitfield ? TIR_BITS1_FBITFIELD_LITTLE : 0)
- | (intern->continued ? TIR_BITS1_CONTINUED_LITTLE : 0)
- | ((intern->bt << TIR_BITS1_BT_SH_LITTLE)
- & TIR_BITS1_BT_LITTLE));
- ext->t_tq45[0] = (((intern->tq4 << TIR_BITS_TQ4_SH_LITTLE)
- & TIR_BITS_TQ4_LITTLE)
- | ((intern->tq5 << TIR_BITS_TQ5_SH_LITTLE)
- & TIR_BITS_TQ5_LITTLE));
- ext->t_tq01[0] = (((intern->tq0 << TIR_BITS_TQ0_SH_LITTLE)
- & TIR_BITS_TQ0_LITTLE)
- | ((intern->tq1 << TIR_BITS_TQ1_SH_LITTLE)
- & TIR_BITS_TQ1_LITTLE));
- ext->t_tq23[0] = (((intern->tq2 << TIR_BITS_TQ2_SH_LITTLE)
- & TIR_BITS_TQ2_LITTLE)
- | ((intern->tq3 << TIR_BITS_TQ3_SH_LITTLE)
- & TIR_BITS_TQ3_LITTLE));
- }
-
-#ifdef TEST
- if (memcmp ((char *)ext, (char *)intern, sizeof (*intern)) != 0)
- abort();
-#endif
-}
-
-/* Swap in a relative symbol record. BIGEND says whether it is in
- big-endian or little-endian format.*/
-
-void
-_bfd_ecoff_swap_rndx_in (bigend, ext_copy, intern)
- int bigend;
- const struct rndx_ext *ext_copy;
- RNDXR *intern;
-{
- struct rndx_ext ext[1];
-
- *ext = *ext_copy; /* Make it reasonable to do in-place. */
-
- /* now the fun stuff... */
- if (bigend) {
- intern->rfd = (ext->r_bits[0] << RNDX_BITS0_RFD_SH_LEFT_BIG)
- | ((ext->r_bits[1] & RNDX_BITS1_RFD_BIG)
- >> RNDX_BITS1_RFD_SH_BIG);
- intern->index = ((ext->r_bits[1] & RNDX_BITS1_INDEX_BIG)
- << RNDX_BITS1_INDEX_SH_LEFT_BIG)
- | (ext->r_bits[2] << RNDX_BITS2_INDEX_SH_LEFT_BIG)
- | (ext->r_bits[3] << RNDX_BITS3_INDEX_SH_LEFT_BIG);
- } else {
- intern->rfd = (ext->r_bits[0] << RNDX_BITS0_RFD_SH_LEFT_LITTLE)
- | ((ext->r_bits[1] & RNDX_BITS1_RFD_LITTLE)
- << RNDX_BITS1_RFD_SH_LEFT_LITTLE);
- intern->index = ((ext->r_bits[1] & RNDX_BITS1_INDEX_LITTLE)
- >> RNDX_BITS1_INDEX_SH_LITTLE)
- | (ext->r_bits[2] << RNDX_BITS2_INDEX_SH_LEFT_LITTLE)
- | ((unsigned int) ext->r_bits[3]
- << RNDX_BITS3_INDEX_SH_LEFT_LITTLE);
- }
-
-#ifdef TEST
- if (memcmp ((char *)ext, (char *)intern, sizeof (*intern)) != 0)
- abort();
-#endif
-}
-
-/* Swap out a relative symbol record. BIGEND says whether it is in
- big-endian or little-endian format.*/
-
-void
-_bfd_ecoff_swap_rndx_out (bigend, intern_copy, ext)
- int bigend;
- const RNDXR *intern_copy;
- struct rndx_ext *ext;
-{
- RNDXR intern[1];
-
- *intern = *intern_copy; /* Make it reasonable to do in-place. */
-
- /* now the fun stuff... */
- if (bigend) {
- ext->r_bits[0] = intern->rfd >> RNDX_BITS0_RFD_SH_LEFT_BIG;
- ext->r_bits[1] = (((intern->rfd << RNDX_BITS1_RFD_SH_BIG)
- & RNDX_BITS1_RFD_BIG)
- | ((intern->index >> RNDX_BITS1_INDEX_SH_LEFT_BIG)
- & RNDX_BITS1_INDEX_BIG));
- ext->r_bits[2] = intern->index >> RNDX_BITS2_INDEX_SH_LEFT_BIG;
- ext->r_bits[3] = intern->index >> RNDX_BITS3_INDEX_SH_LEFT_BIG;
- } else {
- ext->r_bits[0] = intern->rfd >> RNDX_BITS0_RFD_SH_LEFT_LITTLE;
- ext->r_bits[1] = (((intern->rfd >> RNDX_BITS1_RFD_SH_LEFT_LITTLE)
- & RNDX_BITS1_RFD_LITTLE)
- | ((intern->index << RNDX_BITS1_INDEX_SH_LITTLE)
- & RNDX_BITS1_INDEX_LITTLE));
- ext->r_bits[2] = intern->index >> RNDX_BITS2_INDEX_SH_LEFT_LITTLE;
- ext->r_bits[3] = intern->index >> RNDX_BITS3_INDEX_SH_LEFT_LITTLE;
- }
-
-#ifdef TEST
- if (memcmp ((char *)ext, (char *)intern, sizeof (*intern)) != 0)
- abort();
-#endif
-}
-
-/* The minimum amount of data to allocate. */
-#define ALLOC_SIZE (4064)
-
-/* Add bytes to a buffer. Return success. */
-
-static boolean
-ecoff_add_bytes (buf, bufend, need)
- char **buf;
- char **bufend;
- size_t need;
-{
- size_t have;
- size_t want;
- char *newbuf;
-
- have = *bufend - *buf;
- if (have > need)
- want = ALLOC_SIZE;
- else
- {
- want = need - have;
- if (want < ALLOC_SIZE)
- want = ALLOC_SIZE;
- }
- newbuf = (char *) bfd_realloc (*buf, have + want);
- if (newbuf == NULL)
- return false;
- *buf = newbuf;
- *bufend = *buf + have + want;
- return true;
-}
-
-/* We keep a hash table which maps strings to numbers. We use it to
- map FDR names to indices in the output file, and to map local
- strings when combining stabs debugging information. */
-
-struct string_hash_entry
-{
- struct bfd_hash_entry root;
- /* FDR index or string table offset. */
- long val;
- /* Next entry in string table. */
- struct string_hash_entry *next;
-};
-
-struct string_hash_table
-{
Home |
Main Index |
Thread Index |
Old Index