Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src Catch up to -current.
details: https://anonhg.NetBSD.org/src/rev/577e6283dc09
branches: nathanw_sa
changeset: 506185:577e6283dc09
user: nathanw <nathanw%NetBSD.org@localhost>
date: Tue Aug 27 23:44:18 2002 +0000
description:
Catch up to -current.
diffstat:
include/netdb.h | 17 +-
include/util.h | 11 +-
lib/libc/Makefile | 7 +-
lib/libc/arch/arm/gen/__setjmp14.S | 14 +-
lib/libc/arch/arm/gen/__sigsetjmp14.S | 6 +-
lib/libc/arch/arm/gen/_setjmp.S | 8 +-
lib/libc/arch/arm/gen/divsi3.S | 232 +-
lib/libc/arch/arm/gen/setjmp.S | 8 +-
lib/libc/arch/arm/gen/sigsetjmp.S | 6 +-
lib/libc/arch/arm/string/_memcpy.S | 187 +-
lib/libc/arch/arm/string/ffs.S | 13 +-
lib/libc/arch/arm/string/memset.S | 26 +-
lib/libc/arch/arm/sys/__clone.S | 10 +-
lib/libc/arch/arm/sys/brk.S | 18 +-
lib/libc/arch/arm/sys/cerror.S | 12 +-
lib/libc/arch/arm/sys/ptrace.S | 12 +-
lib/libc/arch/arm/sys/sbrk.S | 12 +-
lib/libc/arch/sh3/string/Makefile.inc | 4 +-
lib/libc/arch/sh3/string/ffs.S | 111 +
lib/libc/citrus/Makefile.inc | 4 +-
lib/libc/dlfcn/Makefile.inc | 4 +-
lib/libc/gen/Makefile.inc | 14 +-
lib/libc/gen/humanize_number.3 | 134 +
lib/libc/gen/humanize_number.c | 140 +
lib/libc/gen/sysctl.3 | 4 +-
lib/libc/net/getaddrinfo.c | 65 +-
lib/libc/net/gethnamaddr.c | 73 +-
lib/libc/net/getnetnamadr.c | 65 +-
lib/libc/net/hesiod.c | 80 +-
lib/libc/net/inet_net_ntop.c | 77 +-
lib/libc/net/inet_neta.c | 40 +-
lib/libc/net/inet_ntop.c | 48 +-
lib/libc/net/res_debug.c | 19 +-
lib/libc/net/res_query.c | 10 +-
lib/libc/shlib_version | 4 +-
lib/libc/stdio/tmpnam.3 | 7 +-
lib/libc/stdlib/atoi.3 | 4 +-
lib/libc/stdlib/malloc.3 | 36 +-
lib/libc/string/strsep.3 | 6 +-
lib/libc/sys/getlogin.2 | 6 +-
lib/libc/sys/open.2 | 26 +-
lib/libc/sys/reboot.2 | 9 +-
lib/libc/sys/setuid.2 | 5 +-
lib/libc/sys/shutdown.2 | 9 +-
lib/libc/sys/socketpair.2 | 13 +-
lib/libc/sys/truncate.2 | 8 +-
lib/libc/sys/write.2 | 12 +-
lib/libc/time/strftime.3 | 22 +-
lib/libc/time/strptime.3 | 8 +-
sys/arch/algor/algor/machdep.c | 7 +-
sys/arch/alpha/alpha/machdep.c | 9 +-
sys/arch/alpha/alpha/pmap.c | 6 +-
sys/arch/alpha/stand/Makefile.inc | 4 +-
sys/arch/amiga/amiga/machdep.c | 9 +-
sys/arch/arc/arc/machdep.c | 7 +-
sys/arch/atari/atari/machdep.c | 7 +-
sys/arch/atari/stand/xxboot/Makefile.inc | 5 +-
sys/arch/cesfic/cesfic/machdep.c | 7 +-
sys/arch/cobalt/cobalt/machdep.c | 7 +-
sys/arch/evbmips/alchemy/machdep.c | 9 +-
sys/arch/evbmips/malta/machdep.c | 7 +-
sys/arch/hp300/hp300/machdep.c | 9 +-
sys/arch/hp300/stand/mkboot/Makefile | 7 +-
sys/arch/hpcarm/dev/j720kbdmap.c | 4 +-
sys/arch/hpcmips/hpcmips/machdep.c | 11 +-
sys/arch/hpcmips/stand/romboot/.cvsignore | 1 -
sys/arch/i386/conf/GENERIC_PS2TINY | 8 +-
sys/arch/i386/conf/GENERIC_TINY | 3 +-
sys/arch/i386/conf/NET4501 | 7 +-
sys/arch/i386/i386/machdep.c | 8 +-
sys/arch/i386/i386/microtime.s | 12 +-
sys/arch/i386/i386/mtrr_k6.c | 11 +-
sys/arch/i386/isa/clock.c | 30 +-
sys/arch/i386/isa/joy_timer.c | 14 +-
sys/arch/i386/isa/timerreg.h | 100 -
sys/arch/i386/stand/installboot/Makefile | 4 +-
sys/arch/luna68k/luna68k/machdep.c | 9 +-
sys/arch/mac68k/mac68k/machdep.c | 7 +-
sys/arch/macppc/conf/GENERIC | 9 +-
sys/arch/macppc/dev/akbd.c | 30 +-
sys/arch/macppc/dev/akbdvar.h | 9 +-
sys/arch/macppc/include/keyboard.h | 272 +-
sys/arch/macppc/macppc/machdep.c | 4 +-
sys/arch/macppc/pci/pci_machdep.c | 439 +++++
sys/arch/mips/bonito/bonito_pci.c | 203 ++
sys/arch/mips/bonito/bonitoreg.h | 106 +-
sys/arch/mips/mips/bus_space_alignstride_chipdep.c | 4 +-
sys/arch/mips/mips/mips_machdep.c | 6 +-
sys/arch/mipsco/mipsco/machdep.c | 9 +-
sys/arch/mipsco/stand/Makefile.inc | 4 +-
sys/arch/mmeye/stand/bootelf/Makefile | 24 +
sys/arch/mvme68k/mvme68k/machdep.c | 7 +-
sys/arch/mvme68k/stand/installboot/Makefile | 4 +-
sys/arch/news68k/conf/GENERIC_TINY | 6 +-
sys/arch/news68k/news68k/machdep.c | 7 +-
sys/arch/newsmips/newsmips/machdep.c | 9 +-
sys/arch/next68k/next68k/machdep.c | 7 +-
sys/arch/playstation2/include/bus.h | 26 +-
sys/arch/playstation2/playstation2/machdep.c | 7 +-
sys/arch/pmax/pmax/machdep.c | 9 +-
sys/arch/pmax/stand/Makefile.inc | 4 +-
sys/arch/powerpc/conf/Makefile.powerpc | 14 +-
sys/arch/powerpc/conf/files.ibm4xx | 39 +
sys/arch/powerpc/conf/files.powerpc | 3 +-
sys/arch/powerpc/ibm4xx/4xx_locore.S | 569 +++++++
sys/arch/powerpc/ibm4xx/clock.c | 6 +-
sys/arch/powerpc/ibm4xx/cpu.c | 170 +--
sys/arch/powerpc/ibm4xx/dev/com_opb.c | 29 +-
sys/arch/powerpc/ibm4xx/dev/ecc_plb.c | 277 +++
sys/arch/powerpc/ibm4xx/dev/emacreg.h | 198 ++
sys/arch/powerpc/ibm4xx/dev/gpioreg.h | 46 +
sys/arch/powerpc/ibm4xx/dev/if_emac.c | 51 +-
sys/arch/powerpc/ibm4xx/dev/iicreg.h | 57 +
sys/arch/powerpc/ibm4xx/dev/opb.c | 25 +-
sys/arch/powerpc/ibm4xx/dev/opbreg.h | 44 +
sys/arch/powerpc/ibm4xx/dev/pcicreg.h | 105 +
sys/arch/powerpc/ibm4xx/dev/plb.c | 17 +-
sys/arch/powerpc/ibm4xx/dev/plbvar.h | 3 +-
sys/arch/powerpc/include/ansi.h | 13 +-
sys/arch/powerpc/include/cpu.h | 10 +-
sys/arch/powerpc/include/ibm4xx/ibm405gp.h | 329 +---
sys/arch/powerpc/include/spr.h | 151 +-
sys/arch/powerpc/include/types.h | 21 +-
sys/arch/powerpc/mpc6xx/cpu_subr.c | 85 +-
sys/arch/powerpc/mpc6xx/mpc6xx_machdep.c | 6 +-
sys/arch/powerpc/mpc6xx/pmap.c | 357 +++-
sys/arch/powerpc/powerpc/pmap_subr.c | 96 +-
sys/arch/powerpc/powerpc/trap.c | 10 +-
sys/arch/sbmips/sbmips/machdep.c | 7 +-
sys/arch/sgimips/sgimips/machdep.c | 7 +-
sys/arch/sh3/dev/sci.c | 1420 ++++++++++++++++++
sys/arch/sh3/dev/scif.c | 1519 ++++++++++++++++++++
sys/arch/sh3/sh3/sh3_machdep.c | 6 +-
sys/arch/sparc/conf/files.sparc | 19 +-
sys/arch/sparc/dev/bootbus.c | 224 ++
sys/arch/sparc/dev/bootbusvar.h | 60 +
sys/arch/sparc/dev/cgfourteen.c | 8 +-
sys/arch/sparc/dev/cgfourteenvar.h | 4 +-
sys/arch/sparc/dev/obio.c | 4 +-
sys/arch/sparc/dev/sbus.c | 123 +-
sys/arch/sparc/dev/sbusvar.h | 5 +-
sys/arch/sparc/dev/vme_machdep.c | 22 +-
sys/arch/sparc/dev/zs.c | 64 +-
sys/arch/sparc/include/autoconf.h | 5 +-
sys/arch/sparc/include/bsd_openprom.h | 26 +-
sys/arch/sparc/include/bus.h | 10 +-
sys/arch/sparc/include/ctlreg.h | 4 +-
sys/arch/sparc/include/kbd.h | 99 +-
sys/arch/sparc/include/kbio.h | 121 +-
sys/arch/sparc/include/vuid_event.h | 88 +-
sys/arch/sparc/sparc/autoconf.c | 6 +-
sys/arch/sparc/sparc/cpu.c | 85 +-
sys/arch/sparc/sparc/cpuunit.c | 186 ++
sys/arch/sparc/sparc/cpuunitvar.h | 50 +
sys/arch/sparc/sparc/iommu.c | 120 +-
sys/arch/sparc/sparc/iommuvar.h | 13 +-
sys/arch/sparc/sparc/locore.s | 6 +-
sys/arch/sparc/sparc/machdep.c | 59 +-
sys/arch/sparc/sparc/msiiep.c | 8 +-
sys/arch/sparc/sparc/timer.c | 598 +-------
sys/arch/sparc/sparc/timer_msiiep.c | 224 ++
sys/arch/sparc/sparc/timer_sun4.c | 189 ++
sys/arch/sparc/sparc/timer_sun4m.c | 225 ++
sys/arch/sparc/sparc/timervar.h | 86 +
sys/arch/sparc64/conf/GENERIC32 | 8 +-
sys/arch/sparc64/conf/files.sparc64 | 14 +-
sys/arch/sparc64/dev/sab.c | 1350 +++++++++++++++++
sys/arch/sparc64/dev/sab82532reg.h | 320 ++++
sys/arch/sparc64/dev/sbus.c | 48 +-
sys/arch/sparc64/dev/sbusvar.h | 4 +-
sys/arch/sparc64/include/bsd_openprom.h | 43 +-
sys/arch/sparc64/include/conf.h | 4 +-
sys/arch/sparc64/include/kbd.h | 4 +-
sys/arch/sparc64/include/kbio.h | 4 +-
sys/arch/sparc64/include/vuid_event.h | 4 +-
sys/arch/sparc64/sparc64/conf.c | 5 +-
sys/arch/sparc64/sparc64/kgdb_stub.c | 4 +-
sys/arch/sparc64/sparc64/machdep.c | 7 +-
sys/arch/sparc64/sparc64/vm_machdep.c | 16 +-
sys/arch/sun2/conf/DISKLESS | 7 +-
sys/arch/sun2/conf/FOURMEG | 7 +-
sys/arch/sun2/sun2/machdep.c | 9 +-
sys/arch/sun3/include/kbd.h | 95 +-
sys/arch/sun3/include/kbio.h | 117 +-
sys/arch/sun3/include/vuid_event.h | 88 +-
sys/arch/sun3/sun3/machdep.c | 9 +-
sys/arch/sun3/sun3x/machdep.c | 9 +-
sys/arch/vax/conf/files.vax | 13 +-
sys/arch/vax/stand/Makefile.inc | 4 +-
sys/arch/vax/uba/uba_cmi.c | 141 +
sys/arch/vax/uba/uba_sbi.c | 3 +-
sys/arch/vax/vax/machdep.c | 8 +-
sys/arch/vax/vax/pmap.c | 6 +-
sys/arch/walnut/conf/WALNUT | 22 +-
sys/arch/walnut/conf/files.walnut | 34 +-
sys/arch/walnut/dev/ibm405gp.c | 139 +
sys/arch/walnut/dev/pbus.c | 16 +-
sys/arch/walnut/dev/pckbc_pbus.c | 13 +-
sys/arch/walnut/include/bus.h | 1037 +++++++++++++
sys/arch/walnut/include/intr.h | 9 +-
sys/arch/walnut/pci/pchb.c | 22 +-
sys/arch/walnut/pci/pci_machdep.c | 28 +-
sys/arch/walnut/walnut/autoconf.c | 7 +-
sys/arch/walnut/walnut/bus_dma.c | 12 +-
sys/arch/walnut/walnut/conf.c | 7 +-
sys/arch/walnut/walnut/consinit.c | 8 +-
sys/arch/walnut/walnut/locore.S | 492 +------
sys/arch/walnut/walnut/machdep.c | 25 +-
sys/arch/x68k/x68k/machdep.c | 7 +-
sys/compat/irix/irix_exec.c | 36 +-
sys/compat/irix/irix_exec.h | 17 +-
sys/compat/irix/irix_exec_elf32.c | 177 ++
sys/compat/irix/irix_ioctl.c | 6 +-
sys/compat/irix/irix_prctl.c | 24 +-
sys/compat/irix/irix_prctl.h | 9 +-
sys/compat/irix/irix_usema.c | 117 +-
sys/compat/irix/irix_usema.h | 9 +-
sys/compat/linux/arch/alpha/linux_exec.h | 10 +-
sys/compat/linux/arch/alpha/linux_exec_alpha.c | 10 +-
sys/compat/linux/arch/mips/linux_exec.h | 11 +-
sys/compat/linux/arch/powerpc/linux_exec.h | 4 +-
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c | 10 +-
sys/compat/linux/common/linux_exec.h | 6 +-
sys/compat/linux/common/linux_exec_aout.c | 11 +-
sys/compat/mach/mach_exec.c | 10 +-
sys/compat/mach/mach_exec.h | 4 +-
sys/compat/netbsd32/netbsd32_exec.h | 11 +-
sys/compat/netbsd32/netbsd32_exec_elf32.c | 26 +-
sys/compat/netbsd32/netbsd32_execve.c | 8 +-
sys/compat/osf1/osf1_exec.h | 5 +-
sys/compat/osf1/osf1_exec_ecoff.c | 10 +-
sys/compat/pecoff/pecoff_exec.c | 9 +-
sys/compat/pecoff/pecoff_exec.h | 6 +-
sys/compat/svr4/svr4_exec.h | 15 +-
sys/compat/svr4/svr4_exec_elf32.c | 41 +-
sys/compat/svr4/svr4_exec_elf64.c | 41 +-
sys/compat/svr4_32/svr4_32_exec.h | 4 +-
sys/compat/svr4_32/svr4_32_exec_elf32.c | 12 +-
sys/conf/files | 12 +-
sys/ddb/TODO | 8 +-
sys/ddb/db_command.c | 23 +-
sys/ddb/db_xxx.c | 7 +-
sys/dev/acpi/acpi_bat.c | 22 +-
sys/dev/eisa/mlx_eisa.c | 40 +-
sys/dev/ic/ad1848.c | 15 +-
sys/dev/ic/ad1848var.h | 93 +-
sys/dev/ic/cs4231.c | 73 +-
sys/dev/ic/isp.c | 78 +-
sys/dev/ic/ispmbox.h | 3 +-
sys/dev/ic/ispvar.h | 4 +-
sys/dev/ic/ld_mlx.c | 6 +-
sys/dev/ic/mlx.c | 109 +-
sys/dev/ic/mlxio.h | 14 +-
sys/dev/ic/mlxvar.h | 6 +-
sys/dev/ic/ncr53c9x.c | 64 +-
sys/dev/ic/ncr53c9xvar.h | 7 +-
sys/dev/ic/pcdisplay_chars.c | 6 +-
sys/dev/ic/pcdisplay_subr.c | 6 +-
sys/dev/ic/wdc.c | 6 +-
sys/dev/ic/wi.c | 175 +-
sys/dev/mii/sqphy.c | 50 +-
sys/dev/pci/auich.c | 12 +-
sys/dev/pci/ehci_pci.c | 6 +-
sys/dev/pci/if_sip.c | 63 +-
sys/dev/pci/if_wm.c | 20 +-
sys/dev/pci/mlx_pci.c | 8 +-
sys/dev/pci/pcidevs | 5 +-
sys/dev/pci/pcidevs.h | 5 +-
sys/dev/pci/pcidevs_data.h | 20 +-
sys/dev/pci/pciide.c | 161 +-
sys/dev/pci/pciide_apollo_reg.h | 7 +-
sys/dev/pci/pciide_hpt_reg.h | 11 +-
sys/dev/pcmcia/pcmcia_cis.c | 83 +-
sys/dev/pcmcia/pcmcia_cis_quirks.c | 16 +-
sys/dev/pcmcia/pcmciavar.h | 8 +-
sys/dev/qbus/files.uba | 15 +-
sys/dev/sbus/be.c | 22 +-
sys/dev/sbus/esp_sbus.c | 16 +-
sys/dev/sbus/if_hme_sbus.c | 34 +-
sys/dev/sbus/p9100.c | 28 +-
sys/dev/sbus/qe.c | 16 +-
sys/dev/sbus/qec.c | 32 +-
sys/dev/sbus/qecvar.h | 6 +-
sys/dev/sbus/sbusvar.h | 40 +-
sys/dev/sbus/tcx.c | 30 +-
sys/dev/tc/cfb.c | 8 +-
sys/dev/tc/sfb.c | 8 +-
sys/dev/tc/sfbplus.c | 8 +-
sys/dev/tc/stic.c | 8 +-
sys/dev/tc/tfb.c | 8 +-
sys/dev/tc/xcfb.c | 6 +-
sys/dev/usb/ehci.c | 17 +-
sys/dev/usb/files.usb | 14 +-
sys/dev/usb/ubt.c | 251 +++
sys/dev/usb/ubtbcmfw.c | 322 ++++
sys/dev/usb/ubtbcmfw.h | 48 +
sys/dev/usb/uirda.c | 6 +-
sys/dev/usb/ulpt.c | 11 +-
sys/dev/usb/usb.h | 33 +-
sys/dev/usb/usb_quirks.c | 5 +-
sys/dev/usb/usbdevs | 11 +-
sys/dev/usb/usbdevs.h | 13 +-
sys/dev/usb/usbdevs_data.h | 34 +-
sys/dev/usb/uvisor.c | 5 +-
sys/kern/exec_conf.c | 12 +-
sys/kern/exec_elf32.c | 26 +-
sys/kern/exec_subr.c | 6 +-
sys/kern/init_main.c | 42 +-
sys/kern/kern_allocsys.c | 15 +-
sys/kern/kern_exec.c | 16 +-
sys/kern/kern_exit.c | 16 +-
sys/kern/kern_malloc.c | 6 +-
sys/kern/kern_malloc_debug.c | 6 +-
sys/kern/kern_prot.c | 15 +-
sys/kern/kern_resource.c | 8 +-
sys/kern/kern_sig.c | 7 +-
sys/kern/kern_subr.c | 39 +-
sys/kern/kern_sysctl.c | 54 +-
sys/kern/kern_systrace.c | 6 +-
sys/kern/subr_pool.c | 7 +-
sys/kern/subr_prf.c | 6 +-
sys/kern/subr_prop.c | 28 +-
sys/kern/sys_generic.c | 16 +-
sys/kern/sys_pipe.c | 6 +-
sys/kern/sys_process.c | 22 +-
sys/kern/tty.c | 11 +-
sys/kern/uipc_socket.c | 10 +-
sys/kern/uipc_socket2.c | 6 +-
sys/kern/vfs_bio.c | 7 +-
sys/kern/vfs_cache.c | 10 +-
sys/kern/vfs_subr.c | 7 +-
sys/kern/vfs_syscalls.c | 10 +-
sys/lib/libkern/arch/arm/Makefile.inc | 4 +-
sys/lib/libkern/arch/arm/divsi3.S | 230 +-
sys/lib/libkern/arch/arm/ffs.S | 81 +
sys/lib/libkern/arch/arm/memcpy.S | 186 +-
sys/lib/libkern/arch/arm/memset.S | 26 +-
sys/lib/libkern/arch/sh3/Makefile.inc | 4 +-
sys/lib/libkern/arch/sh3/ffs.S | 111 +
sys/lib/libkern/libkern.h | 9 +-
sys/lkm/exec/svr4_elf/lkminit_exec.c | 15 +-
sys/miscfs/fifofs/fifo_vnops.c | 7 +-
sys/miscfs/specfs/spec_vnops.c | 8 +-
sys/net/if.c | 8 +-
sys/net/if.h | 4 +-
sys/net/if_bridge.c | 33 +-
sys/net/if_gre.c | 7 +-
sys/net/if_media.h | 7 +-
sys/net/if_pppoe.c | 6 +-
sys/net/if_stf.c | 6 +-
sys/net/route.c | 6 +-
sys/net/zlib.c | 44 +-
sys/netinet/igmp.c | 14 +-
sys/netinet/in_gif.c | 6 +-
sys/netinet/ip_frag.c | 8 +-
sys/netinet/ip_gre.c | 7 +-
sys/netinet/ip_icmp.c | 44 +-
sys/netinet/ip_input.c | 76 +-
sys/netinet/ip_mroute.c | 17 +-
sys/netinet/ip_output.c | 50 +-
sys/netinet/raw_ip.c | 20 +-
sys/netinet/tcp_input.c | 55 +-
sys/netinet/tcp_output.c | 24 +-
sys/netinet/tcp_subr.c | 6 +-
sys/netinet/udp_usrreq.c | 16 +-
sys/netinet6/ah_input.c | 10 +-
sys/netinet6/esp_input.c | 14 +-
sys/netinet6/in6_pcb.c | 18 +-
sys/netinet6/in6_pcb.h | 4 +-
sys/netinet6/in6_src.c | 9 +-
sys/netinet6/ipcomp_input.c | 6 +-
sys/netinet6/ipsec.c | 9 +-
sys/netinet6/nd6.c | 25 +-
sys/netinet6/udp6_output.c | 10 +-
sys/netiso/if_eon.c | 17 +-
sys/netiso/tp_inet.c | 11 +-
sys/netkey/key.c | 13 +-
sys/netns/ns_ip.c | 16 +-
sys/nfs/nfs_subs.c | 8 +-
sys/sys/buf.h | 8 +-
sys/sys/exec.h | 10 +-
sys/sys/exec_elf.h | 16 +-
sys/sys/exec_macho.h | 6 +-
sys/sys/param.h | 4 +-
sys/sys/pipe.h | 4 +-
sys/sys/pool.h | 4 +-
sys/sys/rnd.h | 5 +-
sys/sys/sysctl.h | 10 +-
sys/sys/systm.h | 6 +-
sys/sys/vnode.h | 9 +-
sys/ufs/ffs/ffs_softdep.c | 9 +-
sys/uvm/uvm_amap_i.h | 6 +-
sys/uvm/uvm_km.c | 6 +-
393 files changed, 15300 insertions(+), 5364 deletions(-)
diffs (truncated from 33675 to 300 lines):
diff -r 7b366ed8e1b2 -r 577e6283dc09 include/netdb.h
--- a/include/netdb.h Tue Aug 27 20:06:36 2002 +0000
+++ b/include/netdb.h Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netdb.h,v 1.20.2.2 2002/06/21 18:17:08 nathanw Exp $ */
+/* $NetBSD: netdb.h,v 1.20.2.3 2002/08/27 23:52:36 nathanw Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -233,21 +233,6 @@
#endif
#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
-#define AI_ALL 0x00000100 /* IPv6 and IPv4-mapped (with AI_V4MAPPED) */
-#endif
-#if !defined(_XOPEN_SOURCE)
-#define AI_V4MAPPED_CFG 0x00000200 /* accept IPv4-mapped if kernel supports */
-#endif
-#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
-#define AI_ADDRCONFIG 0x00000400 /* only if any address is assigned */
-#define AI_V4MAPPED 0x00000800 /* accept IPv4-mapped IPv6 address */
-#endif
-#if !defined(_XOPEN_SOURCE)
-/* special recommended flags for getipnodebyname */
-#define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
-#endif
-
-#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 520
/*
* Constants for getnameinfo()
*/
diff -r 7b366ed8e1b2 -r 577e6283dc09 include/util.h
--- a/include/util.h Tue Aug 27 20:06:36 2002 +0000
+++ b/include/util.h Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.h,v 1.19.2.5 2002/08/13 00:59:15 nathanw Exp $ */
+/* $NetBSD: util.h,v 1.19.2.6 2002/08/27 23:52:36 nathanw Exp $ */
/*-
* Copyright (c) 1995
@@ -34,7 +34,7 @@
*/
#ifndef _UTIL_H_
-#define _UTIL_H_
+#define _UTIL_H_
#include <sys/cdefs.h>
#include <sys/ttycom.h>
@@ -46,7 +46,7 @@
#include <utmpx.h>
#define PIDLOCK_NONBLOCK 1
-#define PIDLOCK_USEHOSTNAME 2
+#define PIDLOCK_USEHOSTNAME 2
#define FPARSELN_UNESCESC 0x01
#define FPARSELN_UNESCCONT 0x02
@@ -74,7 +74,8 @@
const char *getbootfile(void);
int getmaxpartitions(void);
int getrawpartition(void);
-int humanize_number(char *, size_t, int64_t, const char *, int, int);
+int humanize_number(char *, size_t, int64_t, const char *, int,
+ int);
void login(const struct utmp *);
void loginx(const struct utmpx *);
int login_tty(int);
@@ -84,7 +85,7 @@
void logwtmpx(const char *, const char *, const char *, int, int);
int opendisk(const char *, int, char *, size_t, int);
int openpty(int *, int *, char *, struct termios *,
- struct winsize *);
+ struct winsize *);
int pidfile(const char *);
int pidlock(const char *, int, pid_t *, const char *);
int pw_abort(void);
diff -r 7b366ed8e1b2 -r 577e6283dc09 lib/libc/Makefile
--- a/lib/libc/Makefile Tue Aug 27 20:06:36 2002 +0000
+++ b/lib/libc/Makefile Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98.2.8 2002/08/02 21:32:14 nathanw Exp $
+# $NetBSD: Makefile,v 1.98.2.9 2002/08/27 23:49:18 nathanw Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94
#
# All library objects contain sccsid strings by default; they may be
@@ -17,10 +17,11 @@
# The Hesiod functions are always in libc. To choose that getpwent() and friends
# actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below.
+USE_SHLIBDIR= yes
+
.include <bsd.own.mk>
LIB= c
-USE_SHLIBDIR= yes
CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
CPPFLAGS+= -I${.CURDIR}/include
@@ -99,7 +100,7 @@
NLS= C.msg Pig.msg cs.msg de.msg es.msg fi.msg fr.msg nl.msg no.msg \
sv.msg pl.msg
-LIBKERN= ${.CURDIR}/../../sys/lib/libkern
+LIBKERN= ${NETBSDSRCDIR}/sys/lib/libkern
KSRCS= bcopy.c bcmp.c bswap16.c bswap32.c bswap64.c bzero.c ffs.c \
strcat.c strchr.c strcmp.c strcpy.c strlen.c \
diff -r 7b366ed8e1b2 -r 577e6283dc09 lib/libc/arch/arm/gen/__setjmp14.S
--- a/lib/libc/arch/arm/gen/__setjmp14.S Tue Aug 27 20:06:36 2002 +0000
+++ b/lib/libc/arch/arm/gen/__setjmp14.S Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __setjmp14.S,v 1.1.2.2 2001/11/14 19:31:47 nathanw Exp $ */
+/* $NetBSD: __setjmp14.S,v 1.1.2.3 2002/08/27 23:49:19 nathanw Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@@ -54,7 +54,7 @@
bl PIC_SYM(_C_LABEL(__sigprocmask14), PLT)
ldmfd sp!, {r0-r2, r14}
- ldr r1, Lsetjmp_magic
+ ldr r1, .Lsetjmp_magic
str r1, [r0], #4
#ifdef SOFTFLOAT
@@ -75,15 +75,15 @@
mov r15, r14
#endif
-Lsetjmp_magic:
+.Lsetjmp_magic:
.word _JB_MAGIC_SETJMP
ENTRY(__longjmp14)
- ldr r2, Lsetjmp_magic
+ ldr r2, .Lsetjmp_magic
ldr r3, [r0]
teq r2, r3
- bne botch
+ bne .Lbotch
/* Restore the signal mask. */
stmfd sp!, {r0-r2, r14}
@@ -109,7 +109,7 @@
/* Validate sp and r14 */
teq sp, #0
teqne r14, #0
- beq botch
+ beq .Lbotch
/* Set return value */
@@ -123,7 +123,7 @@
#endif
/* validation failed, die die die. */
-botch:
+.Lbotch:
bl PIC_SYM(_C_LABEL(longjmperror), PLT)
bl PIC_SYM(_C_LABEL(abort), PLT)
b . - 8 /* Cannot get here */
diff -r 7b366ed8e1b2 -r 577e6283dc09 lib/libc/arch/arm/gen/__sigsetjmp14.S
--- a/lib/libc/arch/arm/gen/__sigsetjmp14.S Tue Aug 27 20:06:36 2002 +0000
+++ b/lib/libc/arch/arm/gen/__sigsetjmp14.S Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigsetjmp14.S,v 1.1.2.1 2001/10/08 20:16:59 nathanw Exp $ */
+/* $NetBSD: __sigsetjmp14.S,v 1.1.2.2 2002/08/27 23:49:20 nathanw Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@@ -50,11 +50,11 @@
beq PIC_SYM(_C_LABEL(_setjmp), PLT)
b PIC_SYM(_C_LABEL(__setjmp14), PLT)
-L_setjmp_magic:
+.L_setjmp_magic:
.word _JB_MAGIC__SETJMP
ENTRY(__siglongjmp14)
- ldr r2, L_setjmp_magic
+ ldr r2, .L_setjmp_magic
ldr r3, [r0]
teq r2, r3
beq PIC_SYM(_C_LABEL(_longjmp), PLT)
diff -r 7b366ed8e1b2 -r 577e6283dc09 lib/libc/arch/arm/gen/_setjmp.S
--- a/lib/libc/arch/arm/gen/_setjmp.S Tue Aug 27 20:06:36 2002 +0000
+++ b/lib/libc/arch/arm/gen/_setjmp.S Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: _setjmp.S,v 1.1.2.2 2001/11/14 19:31:47 nathanw Exp $ */
+/* $NetBSD: _setjmp.S,v 1.1.2.3 2002/08/27 23:49:20 nathanw Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@@ -49,7 +49,7 @@
*/
ENTRY(_setjmp)
- ldr r1, L_setjmp_magic
+ ldr r1, .L_setjmp_magic
str r1, [r0], #4
#ifdef SOFTFLOAT
add r0, r0, #52
@@ -70,11 +70,11 @@
mov r15, r14
#endif
-L_setjmp_magic:
+.L_setjmp_magic:
.word _JB_MAGIC__SETJMP
ENTRY(_longjmp)
- ldr r2, L_setjmp_magic
+ ldr r2, .L_setjmp_magic
ldr r3, [r0], #4
teq r2, r3
bne botch
diff -r 7b366ed8e1b2 -r 577e6283dc09 lib/libc/arch/arm/gen/divsi3.S
--- a/lib/libc/arch/arm/gen/divsi3.S Tue Aug 27 20:06:36 2002 +0000
+++ b/lib/libc/arch/arm/gen/divsi3.S Tue Aug 27 23:44:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: divsi3.S,v 1.1.2.2 2001/11/14 19:31:49 nathanw Exp $ */
+/* $NetBSD: divsi3.S,v 1.1.2.3 2002/08/27 23:49:21 nathanw Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -17,14 +17,14 @@
#include <machine/asm.h>
/*
- * stack is aligned as there's a possibility of branching to L_overflow
+ * stack is aligned as there's a possibility of branching to .L_overflow
* which makes a C call
*/
ENTRY(__umodsi3)
stmfd sp!, {lr}
sub sp, sp, #4 /* align stack */
- bl L_udivide
+ bl .L_udivide
add sp, sp, #4 /* unalign stack */
mov r0, r1
#ifdef __APCS_26__
@@ -36,7 +36,7 @@
ENTRY(__modsi3)
stmfd sp!, {lr}
sub sp, sp, #4 /* align stack */
- bl L_divide
+ bl .L_divide
add sp, sp, #4 /* unalign stack */
mov r0, r1
#ifdef __APCS_26__
@@ -45,7 +45,7 @@
ldmfd sp!, {pc}
#endif
-L_overflow:
+.L_overflow:
#if !defined(_KERNEL) && !defined(_STANDALONE)
mov r0, #8 /* SIGFPE */
bl PIC_SYM(_C_LABEL(raise), PLT) /* raise it */
@@ -61,23 +61,23 @@
#endif
ENTRY(__udivsi3)
-L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */
+.L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
eor r1, r0, r1
eor r0, r1, r0
/* r0 = r1 / r0; r1 = r1 % r0 */
cmp r0, #1
- bcc L_overflow
- beq L_divide_l0
+ bcc .L_overflow
+ beq .L_divide_l0
mov ip, #0
movs r1, r1
- bpl L_divide_l1
+ bpl .L_divide_l1
orr ip, ip, #0x20000000 /* ip bit 0x20000000 = -ve r1 */
movs r1, r1, lsr #1
orrcs ip, ip, #0x10000000 /* ip bit 0x10000000 = bit 0 of r1 */
- b L_divide_l1
+ b .L_divide_l1
-L_divide_l0: /* r0 == 1 */
+.L_divide_l0: /* r0 == 1 */
mov r0, r1
mov r1, #0
#ifdef __APCS_26__
@@ -87,14 +87,14 @@
#endif
ENTRY(__divsi3)
-L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
+.L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
eor r1, r0, r1
Home |
Main Index |
Thread Index |
Old Index