Date: Mon, 22 Feb 2010 18:07:41 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r204217 - in projects/ppc64: . bin/rmail contrib/bc contrib/gdb/gdb contrib/gdb/gdb/config/mips etc/defaults etc/mtree etc/ppp etc/rc.d games games/bcd games/caesar games/fortune/fortun... Message-ID: <201002221807.o1MI7fEO019023@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Mon Feb 22 18:07:41 2010 New Revision: 204217 URL: http://svn.freebsd.org/changeset/base/204217 Log: MFH @ 204214 Added: projects/ppc64/contrib/gdb/gdb/config/mips/nm-fbsd.h - copied unchanged from r204216, head/contrib/gdb/gdb/config/mips/nm-fbsd.h projects/ppc64/contrib/gdb/gdb/config/mips/tm-fbsd.h - copied unchanged from r204216, head/contrib/gdb/gdb/config/mips/tm-fbsd.h projects/ppc64/contrib/gdb/gdb/mipsfbsd-nat.c - copied unchanged from r204216, head/contrib/gdb/gdb/mipsfbsd-nat.c projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.c - copied unchanged from r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.c projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.h - copied unchanged from r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.h projects/ppc64/etc/rc.d/hastd - copied unchanged from r204216, head/etc/rc.d/hastd projects/ppc64/release/scripts/make-memstick.sh - copied unchanged from r204216, head/release/scripts/make-memstick.sh projects/ppc64/sbin/hastctl/ - copied from r204216, head/sbin/hastctl/ projects/ppc64/sbin/hastd/ - copied from r204216, head/sbin/hastd/ projects/ppc64/share/examples/hast/ - copied from r204216, head/share/examples/hast/ projects/ppc64/share/man/man4/bwn.4 - copied unchanged from r204216, head/share/man/man4/bwn.4 projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9285.c - copied unchanged from r204216, head/sys/dev/ath/ath_hal/ar5416/ar9285.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9285.h - copied unchanged from r204216, head/sys/dev/ath/ath_hal/ar5416/ar9285.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c - copied unchanged from r204216, head/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9285_reset.c - copied unchanged from r204216, head/sys/dev/ath/ath_hal/ar5416/ar9285_reset.c projects/ppc64/sys/dev/bwn/ - copied from r204216, head/sys/dev/bwn/ projects/ppc64/sys/kern/subr_hash.c - copied unchanged from r204216, head/sys/kern/subr_hash.c projects/ppc64/sys/kern/subr_uio.c - copied unchanged from r204216, head/sys/kern/subr_uio.c projects/ppc64/sys/mips/rmi/bus_space_rmi_pci.c - copied unchanged from r204216, head/sys/mips/rmi/bus_space_rmi_pci.c projects/ppc64/sys/mips/sibyte/sb_bus_space.h - copied unchanged from r204216, head/sys/mips/sibyte/sb_bus_space.h projects/ppc64/sys/modules/bwn/ - copied from r204216, head/sys/modules/bwn/ projects/ppc64/sys/modules/nfs_common/ - copied from r204216, head/sys/modules/nfs_common/ projects/ppc64/tools/regression/bin/sh/expansion/arith3.0 - copied unchanged from r204216, head/tools/regression/bin/sh/expansion/arith3.0 projects/ppc64/tools/regression/kthread/ - copied from r204216, head/tools/regression/kthread/ projects/ppc64/usr.bin/netstat/netisr.c - copied unchanged from r204216, head/usr.bin/netstat/netisr.c projects/ppc64/usr.bin/seq/ - copied from r204216, head/usr.bin/seq/ Deleted: projects/ppc64/contrib/bc/ projects/ppc64/gnu/usr.bin/bc/ projects/ppc64/gnu/usr.bin/dc/ projects/ppc64/sys/kern/kern_subr.c Modified: projects/ppc64/MAINTAINERS projects/ppc64/bin/rmail/Makefile projects/ppc64/contrib/gdb/gdb/mips-tdep.h projects/ppc64/etc/defaults/rc.conf projects/ppc64/etc/mtree/BSD.usr.dist projects/ppc64/etc/ppp/ppp.conf projects/ppc64/etc/rc.d/Makefile projects/ppc64/games/Makefile.inc projects/ppc64/games/bcd/Makefile projects/ppc64/games/bcd/bcd.c projects/ppc64/games/caesar/Makefile projects/ppc64/games/caesar/caesar.c projects/ppc64/games/fortune/fortune/Makefile projects/ppc64/games/fortune/fortune/fortune.6 projects/ppc64/games/fortune/fortune/fortune.c projects/ppc64/games/fortune/fortune/pathnames.h projects/ppc64/games/fortune/strfile/Makefile projects/ppc64/games/fortune/strfile/strfile.8 projects/ppc64/games/fortune/strfile/strfile.c projects/ppc64/games/fortune/strfile/strfile.h projects/ppc64/games/fortune/unstr/Makefile projects/ppc64/games/fortune/unstr/unstr.c projects/ppc64/games/grdc/Makefile projects/ppc64/games/grdc/grdc.c projects/ppc64/games/morse/morse.c projects/ppc64/games/number/Makefile projects/ppc64/games/number/number.c projects/ppc64/games/pom/Makefile projects/ppc64/games/pom/pom.c projects/ppc64/games/ppt/Makefile projects/ppc64/games/ppt/ppt.c projects/ppc64/games/primes/pattern.c projects/ppc64/games/primes/pr_tbl.c projects/ppc64/games/primes/primes.c projects/ppc64/games/primes/primes.h projects/ppc64/games/random/Makefile projects/ppc64/games/random/random.c projects/ppc64/gnu/usr.bin/Makefile projects/ppc64/gnu/usr.bin/gdb/arch/ia64/Makefile projects/ppc64/gnu/usr.bin/gdb/arch/ia64/init.c projects/ppc64/gnu/usr.bin/gdb/arch/mips/Makefile projects/ppc64/gnu/usr.bin/gdb/arch/mips/init.c projects/ppc64/gnu/usr.bin/gdb/kgdb/trgt_mips.c projects/ppc64/include/_ctype.h projects/ppc64/include/a.out.h projects/ppc64/include/ar.h projects/ppc64/include/arpa/ftp.h projects/ppc64/include/arpa/inet.h projects/ppc64/include/arpa/nameser.h projects/ppc64/include/arpa/nameser_compat.h projects/ppc64/include/arpa/telnet.h projects/ppc64/include/arpa/tftp.h projects/ppc64/include/assert.h projects/ppc64/include/ctype.h projects/ppc64/include/db.h projects/ppc64/include/dirent.h projects/ppc64/include/dlfcn.h projects/ppc64/include/err.h projects/ppc64/include/fnmatch.h projects/ppc64/include/fstab.h projects/ppc64/include/fts.h projects/ppc64/include/getopt.h projects/ppc64/include/glob.h projects/ppc64/include/grp.h projects/ppc64/include/hesiod.h projects/ppc64/include/limits.h projects/ppc64/include/locale.h projects/ppc64/include/memory.h projects/ppc64/include/mpool.h projects/ppc64/include/ndbm.h projects/ppc64/include/netdb.h projects/ppc64/include/nl_types.h projects/ppc64/include/nlist.h projects/ppc64/include/nsswitch.h projects/ppc64/include/paths.h projects/ppc64/include/protocols/dumprestore.h projects/ppc64/include/protocols/routed.h projects/ppc64/include/protocols/rwhod.h projects/ppc64/include/protocols/talkd.h projects/ppc64/include/protocols/timed.h projects/ppc64/include/pwd.h projects/ppc64/include/ranlib.h projects/ppc64/include/regex.h projects/ppc64/include/regexp.h projects/ppc64/include/resolv.h projects/ppc64/include/runetype.h projects/ppc64/include/setjmp.h projects/ppc64/include/signal.h projects/ppc64/include/stab.h projects/ppc64/include/stddef.h projects/ppc64/include/stdio.h projects/ppc64/include/stdlib.h projects/ppc64/include/string.h projects/ppc64/include/sysexits.h projects/ppc64/include/tar.h projects/ppc64/include/termios.h projects/ppc64/include/time.h projects/ppc64/include/timeconv.h projects/ppc64/include/ttyent.h projects/ppc64/include/unistd.h projects/ppc64/include/utime.h projects/ppc64/include/vis.h projects/ppc64/include/wchar.h projects/ppc64/lib/libarchive/archive_write_disk.3 projects/ppc64/lib/libc/gen/sysctl.3 projects/ppc64/lib/libc/gen/sysctl.c projects/ppc64/lib/libc/gen/sysctlbyname.c projects/ppc64/lib/libc/gen/sysctlnametomib.c projects/ppc64/lib/libc/gen/tls.c projects/ppc64/lib/libc/nls/msgcat.c projects/ppc64/lib/libc/stdio/printf.3 projects/ppc64/lib/libc/stdlib/malloc.c projects/ppc64/lib/libc/stdtime/strptime.3 projects/ppc64/lib/libc/sys/unlink.2 projects/ppc64/lib/libc_r/Makefile projects/ppc64/lib/libjail/jail.c projects/ppc64/lib/libkse/Makefile projects/ppc64/lib/libpam/modules/pam_echo/pam_echo.8 projects/ppc64/libexec/rtld-elf/arm/rtld_start.S projects/ppc64/libexec/rtld-elf/powerpc/reloc.c projects/ppc64/libexec/rtld-elf/powerpc/rtld_machdep.h projects/ppc64/libexec/rtld-elf/powerpc/rtld_start.S projects/ppc64/libexec/rtld-elf/rtld.c projects/ppc64/sbin/Makefile projects/ppc64/sbin/atacontrol/atacontrol.c projects/ppc64/sbin/camcontrol/camcontrol.c projects/ppc64/sbin/devd/Makefile projects/ppc64/sbin/devfs/Makefile projects/ppc64/sbin/devfs/devfs.8 projects/ppc64/sbin/ffsinfo/Makefile projects/ppc64/sbin/gbde/Makefile projects/ppc64/sbin/ggate/ggatec/ggatec.c projects/ppc64/sbin/ggate/ggated/ggated.c projects/ppc64/sbin/ggate/ggatel/ggatel.c projects/ppc64/sbin/ggate/shared/ggate.c projects/ppc64/sbin/ifconfig/ifconfig.8 projects/ppc64/sbin/ifconfig/ifconfig.c projects/ppc64/sbin/ifconfig/ifieee80211.c projects/ppc64/sbin/ifconfig/ifvlan.c projects/ppc64/sbin/mknod/Makefile projects/ppc64/sbin/mount_std/Makefile projects/ppc64/sbin/restore/restore.h projects/ppc64/sbin/sunlabel/Makefile projects/ppc64/sbin/sysctl/Makefile projects/ppc64/sbin/sysctl/sysctl.c projects/ppc64/share/examples/Makefile projects/ppc64/share/man/man5/devfs.rules.5 projects/ppc64/share/man/man5/rc.conf.5 projects/ppc64/share/man/man5/tmpfs.5 projects/ppc64/share/man/man9/ieee80211_scan.9 projects/ppc64/share/man/man9/locking.9 projects/ppc64/share/man/man9/netisr.9 projects/ppc64/share/misc/committers-src.dot projects/ppc64/share/mk/bsd.cpu.mk projects/ppc64/share/mk/bsd.prog.mk projects/ppc64/share/mk/bsd.sys.mk projects/ppc64/share/mk/sys.mk projects/ppc64/share/syscons/keymaps/fr.dvorak.acc.kbd projects/ppc64/sys/amd64/amd64/busdma_machdep.c projects/ppc64/sys/amd64/amd64/pmap.c projects/ppc64/sys/amd64/conf/GENERIC projects/ppc64/sys/amd64/conf/XENHVM projects/ppc64/sys/amd64/include/sysarch.h projects/ppc64/sys/arm/arm/cpufunc.c projects/ppc64/sys/arm/arm/identcpu.c projects/ppc64/sys/arm/arm/pmap.c projects/ppc64/sys/arm/arm/support.S projects/ppc64/sys/arm/conf/AVILA projects/ppc64/sys/arm/conf/BWCT projects/ppc64/sys/arm/conf/CAMBRIA projects/ppc64/sys/arm/conf/CNS11XXNAS projects/ppc64/sys/arm/conf/CRB projects/ppc64/sys/arm/conf/DB-88F5XXX projects/ppc64/sys/arm/conf/DB-88F6XXX projects/ppc64/sys/arm/conf/EP80219 projects/ppc64/sys/arm/conf/GUMSTIX projects/ppc64/sys/arm/conf/HL200 projects/ppc64/sys/arm/conf/IQ31244 projects/ppc64/sys/arm/conf/KB920X projects/ppc64/sys/arm/conf/NSLU projects/ppc64/sys/arm/conf/SKYEYE projects/ppc64/sys/arm/include/_inttypes.h projects/ppc64/sys/arm/include/_stdint.h projects/ppc64/sys/arm/include/armreg.h projects/ppc64/sys/arm/include/bus.h projects/ppc64/sys/arm/include/bus_dma.h projects/ppc64/sys/arm/include/md_var.h projects/ppc64/sys/arm/include/ucontext.h projects/ppc64/sys/arm/sa11x0/sa11x0.c projects/ppc64/sys/arm/sa11x0/sa11x0_dmacreg.h projects/ppc64/sys/arm/sa11x0/sa11x0_gpioreg.h projects/ppc64/sys/arm/sa11x0/sa11x0_irq.S projects/ppc64/sys/arm/sa11x0/sa11x0_irqhandler.c projects/ppc64/sys/arm/sa11x0/sa11x0_ostreg.h projects/ppc64/sys/arm/sa11x0/sa11x0_ppcreg.h projects/ppc64/sys/arm/sa11x0/sa11x0_reg.h projects/ppc64/sys/arm/sa11x0/sa11x0_var.h projects/ppc64/sys/arm/xscale/ixp425/cambria_fled.c projects/ppc64/sys/boot/powerpc/ofw/Makefile projects/ppc64/sys/boot/sparc64/loader/main.c projects/ppc64/sys/boot/zfs/zfs.c projects/ppc64/sys/cam/cam_xpt.c projects/ppc64/sys/cam/scsi/scsi_cd.c projects/ppc64/sys/cddl/contrib/opensolaris/common/atomic/ia64/opensolaris_atomic.S projects/ppc64/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c projects/ppc64/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c projects/ppc64/sys/compat/linux/linux_stats.c projects/ppc64/sys/conf/NOTES projects/ppc64/sys/conf/files projects/ppc64/sys/conf/files.mips projects/ppc64/sys/conf/kmod.mk projects/ppc64/sys/conf/ldscript.mips.cfe projects/ppc64/sys/conf/options.mips projects/ppc64/sys/dev/aac/aac.c projects/ppc64/sys/dev/aac/aac_cam.c projects/ppc64/sys/dev/aac/aacreg.h projects/ppc64/sys/dev/aac/aacvar.h projects/ppc64/sys/dev/acpica/acpi_video.c projects/ppc64/sys/dev/ata/ata-all.c projects/ppc64/sys/dev/ata/ata-pci.c projects/ppc64/sys/dev/ata/ata-sata.c projects/ppc64/sys/dev/ata/chipsets/ata-intel.c projects/ppc64/sys/dev/ath/ath_hal/ah.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416_cal.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar5416reg.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9280.c projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9280.h projects/ppc64/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c projects/ppc64/sys/dev/ath/if_ath.c projects/ppc64/sys/dev/bge/if_bge.c projects/ppc64/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c projects/ppc64/sys/dev/isp/isp.c projects/ppc64/sys/dev/iwn/if_iwn.c projects/ppc64/sys/dev/mge/if_mge.c projects/ppc64/sys/dev/mii/brgphy.c projects/ppc64/sys/dev/mii/miidevs projects/ppc64/sys/dev/msk/if_msk.c projects/ppc64/sys/dev/mxge/if_mxge.c projects/ppc64/sys/dev/re/if_re.c projects/ppc64/sys/dev/siba/siba_core.c projects/ppc64/sys/dev/siba/sibareg.h projects/ppc64/sys/dev/siba/sibavar.h projects/ppc64/sys/dev/usb/input/ukbd.c projects/ppc64/sys/dev/usb/quirk/usb_quirk.c projects/ppc64/sys/dev/usb/quirk/usb_quirk.h projects/ppc64/sys/dev/usb/serial/u3g.c projects/ppc64/sys/dev/usb/serial/uftdi.c projects/ppc64/sys/dev/usb/serial/umodem.c projects/ppc64/sys/dev/usb/usb_msctest.c projects/ppc64/sys/dev/usb/usb_msctest.h projects/ppc64/sys/dev/usb/usbdevs projects/ppc64/sys/dev/xen/netfront/netfront.c projects/ppc64/sys/fs/ext2fs/ext2_vnops.c projects/ppc64/sys/fs/msdosfs/msdosfs_vnops.c projects/ppc64/sys/geom/gate/g_gate.c projects/ppc64/sys/geom/gate/g_gate.h projects/ppc64/sys/geom/geom_subr.c projects/ppc64/sys/geom/multipath/g_multipath.c projects/ppc64/sys/geom/stripe/g_stripe.c projects/ppc64/sys/i386/conf/GENERIC projects/ppc64/sys/i386/conf/XEN projects/ppc64/sys/i386/i386/pmap.c projects/ppc64/sys/i386/xen/pmap.c projects/ppc64/sys/i386/xen/xen_machdep.c projects/ppc64/sys/ia64/acpica/madt.c projects/ppc64/sys/ia64/conf/GENERIC projects/ppc64/sys/ia64/ia64/bus_machdep.c projects/ppc64/sys/ia64/ia64/context.S projects/ppc64/sys/ia64/ia64/efi.c projects/ppc64/sys/ia64/ia64/exception.S projects/ppc64/sys/ia64/ia64/interrupt.c projects/ppc64/sys/ia64/ia64/locore.S projects/ppc64/sys/ia64/ia64/machdep.c projects/ppc64/sys/ia64/ia64/mp_machdep.c projects/ppc64/sys/ia64/ia64/pmap.c projects/ppc64/sys/ia64/ia64/sapic.c projects/ppc64/sys/ia64/ia64/support.S projects/ppc64/sys/ia64/ia64/syscall.S projects/ppc64/sys/ia64/include/bus.h projects/ppc64/sys/ia64/include/intr.h projects/ppc64/sys/ia64/include/md_var.h projects/ppc64/sys/ia64/include/pci_cfgreg.h projects/ppc64/sys/ia64/include/pmap.h projects/ppc64/sys/ia64/include/vmparam.h projects/ppc64/sys/kern/kern_kthread.c projects/ppc64/sys/kern/link_elf_obj.c projects/ppc64/sys/kern/uipc_socket.c projects/ppc64/sys/kern/uipc_syscalls.c projects/ppc64/sys/kern/vfs_default.c projects/ppc64/sys/kern/vfs_mount.c projects/ppc64/sys/mips/alchemy/obio.c projects/ppc64/sys/mips/atheros/ar71xxreg.h projects/ppc64/sys/mips/cavium/dev/rgmii/octeon_fpa.c projects/ppc64/sys/mips/cavium/octeon_machdep.c projects/ppc64/sys/mips/cavium/octeon_pcmap_regs.h projects/ppc64/sys/mips/conf/ADM5120 projects/ppc64/sys/mips/conf/ALCHEMY projects/ppc64/sys/mips/conf/IDT projects/ppc64/sys/mips/conf/MALTA projects/ppc64/sys/mips/conf/MALTA64 projects/ppc64/sys/mips/conf/OCTEON1 projects/ppc64/sys/mips/conf/OCTEON1-32 projects/ppc64/sys/mips/conf/QEMU projects/ppc64/sys/mips/conf/SENTRY5 projects/ppc64/sys/mips/conf/SWARM projects/ppc64/sys/mips/conf/XLR projects/ppc64/sys/mips/include/intr_machdep.h projects/ppc64/sys/mips/mips/bus_space_generic.c projects/ppc64/sys/mips/mips/elf_machdep.c projects/ppc64/sys/mips/mips/elf_trampoline.c projects/ppc64/sys/mips/mips/exception.S projects/ppc64/sys/mips/rmi/board.c projects/ppc64/sys/mips/rmi/bus_space_rmi.c projects/ppc64/sys/mips/rmi/files.xlr projects/ppc64/sys/mips/rmi/interrupt.h projects/ppc64/sys/mips/rmi/intr_machdep.c projects/ppc64/sys/mips/rmi/iodi.c projects/ppc64/sys/mips/rmi/pcibus.h projects/ppc64/sys/mips/rmi/xlr_pci.c projects/ppc64/sys/mips/sibyte/sb_asm.S projects/ppc64/sys/mips/sibyte/sb_zbpci.c projects/ppc64/sys/modules/Makefile projects/ppc64/sys/modules/nfsclient/Makefile projects/ppc64/sys/modules/nfsserver/Makefile projects/ppc64/sys/net/bpf.c projects/ppc64/sys/net/if.c projects/ppc64/sys/net/if.h projects/ppc64/sys/net/if_loop.c projects/ppc64/sys/net/if_vlan.c projects/ppc64/sys/net/netisr.c projects/ppc64/sys/net/netisr.h projects/ppc64/sys/netinet/in_proto.c projects/ppc64/sys/netinet/ip_input.c projects/ppc64/sys/netinet/ip_mroute.c projects/ppc64/sys/netinet/ip_options.c projects/ppc64/sys/netinet/ip_var.h projects/ppc64/sys/netinet/ipfw/ip_fw_sockopt.c projects/ppc64/sys/netinet/sctp_indata.c projects/ppc64/sys/netinet/sctp_input.c projects/ppc64/sys/netinet/sctp_output.c projects/ppc64/sys/netinet/sctp_output.h projects/ppc64/sys/netinet/sctp_usrreq.c projects/ppc64/sys/netinet/sctputil.c projects/ppc64/sys/netinet/tcp_syncache.c projects/ppc64/sys/netinet6/in6_pcb.c projects/ppc64/sys/netipsec/keydb.h projects/ppc64/sys/nfs/nfs_common.c projects/ppc64/sys/nfsclient/nfs_kdtrace.c projects/ppc64/sys/nfsclient/nfs_vfsops.c projects/ppc64/sys/nfsserver/nfs_srvsubs.c projects/ppc64/sys/pc98/conf/GENERIC projects/ppc64/sys/powerpc/aim/machdep.c projects/ppc64/sys/powerpc/aim/mmu_oea.c projects/ppc64/sys/powerpc/aim/mmu_oea64.c projects/ppc64/sys/powerpc/aim/trap.c projects/ppc64/sys/powerpc/aim/uma_machdep.c projects/ppc64/sys/powerpc/booke/copyinout.c projects/ppc64/sys/powerpc/booke/machdep.c projects/ppc64/sys/powerpc/conf/GENERIC projects/ppc64/sys/powerpc/conf/MPC85XX projects/ppc64/sys/powerpc/include/sr.h projects/ppc64/sys/powerpc/include/vmparam.h projects/ppc64/sys/powerpc/powermac/smu.c projects/ppc64/sys/powerpc/powerpc/cpu.c projects/ppc64/sys/sparc64/include/cache.h projects/ppc64/sys/sparc64/include/cpu.h projects/ppc64/sys/sparc64/include/md_var.h projects/ppc64/sys/sparc64/include/pcpu.h projects/ppc64/sys/sparc64/include/pmap.h projects/ppc64/sys/sparc64/include/smp.h projects/ppc64/sys/sparc64/include/tick.h projects/ppc64/sys/sparc64/include/ver.h projects/ppc64/sys/sparc64/sparc64/cache.c projects/ppc64/sys/sparc64/sparc64/cheetah.c projects/ppc64/sys/sparc64/sparc64/identcpu.c projects/ppc64/sys/sparc64/sparc64/iommu.c projects/ppc64/sys/sparc64/sparc64/machdep.c projects/ppc64/sys/sparc64/sparc64/mp_locore.S projects/ppc64/sys/sparc64/sparc64/mp_machdep.c projects/ppc64/sys/sparc64/sparc64/nexus.c projects/ppc64/sys/sparc64/sparc64/pmap.c projects/ppc64/sys/sparc64/sparc64/spitfire.c projects/ppc64/sys/sparc64/sparc64/tick.c projects/ppc64/sys/sparc64/sparc64/trap.c projects/ppc64/sys/sun4v/conf/GENERIC projects/ppc64/sys/sys/queue.h projects/ppc64/sys/sys/sysctl.h projects/ppc64/sys/sys/systm.h projects/ppc64/sys/sys/user.h projects/ppc64/sys/vm/vm_init.c projects/ppc64/sys/vm/vnode_pager.c projects/ppc64/sys/xen/evtchn/evtchn_dev.c projects/ppc64/tools/regression/bin/sh/expansion/arith2.0 projects/ppc64/tools/regression/usr.bin/env/Makefile projects/ppc64/usr.bin/Makefile projects/ppc64/usr.bin/cpio/bsdcpio.1 projects/ppc64/usr.bin/gencat/gencat.c projects/ppc64/usr.bin/getent/getent.1 projects/ppc64/usr.bin/getent/getent.c projects/ppc64/usr.bin/hexdump/hexdump.1 projects/ppc64/usr.bin/hexdump/od.1 projects/ppc64/usr.bin/jot/jot.1 projects/ppc64/usr.bin/kdump/kdump.c projects/ppc64/usr.bin/netstat/Makefile projects/ppc64/usr.bin/netstat/main.c projects/ppc64/usr.bin/netstat/netstat.1 projects/ppc64/usr.bin/netstat/netstat.h projects/ppc64/usr.bin/nl/nl.1 projects/ppc64/usr.bin/nl/nl.c projects/ppc64/usr.bin/stat/stat.1 projects/ppc64/usr.bin/stat/stat.c projects/ppc64/usr.bin/tar/test/test_option_T.c projects/ppc64/usr.bin/tar/test/test_option_s.c projects/ppc64/usr.bin/tar/tree.c projects/ppc64/usr.bin/unifdef/unifdef.1 projects/ppc64/usr.bin/unifdef/unifdef.c projects/ppc64/usr.bin/unzip/unzip.1 projects/ppc64/usr.bin/unzip/unzip.c projects/ppc64/usr.bin/usbhidaction/usbhidaction.1 projects/ppc64/usr.bin/usbhidaction/usbhidaction.c projects/ppc64/usr.bin/usbhidctl/usbhid.c projects/ppc64/usr.bin/usbhidctl/usbhidctl.1 projects/ppc64/usr.bin/xinstall/xinstall.c projects/ppc64/usr.bin/xlint/lint1/makeman projects/ppc64/usr.sbin/arp/arp.c projects/ppc64/usr.sbin/chown/chgrp.1 projects/ppc64/usr.sbin/chown/chown.8 projects/ppc64/usr.sbin/chown/chown.c projects/ppc64/usr.sbin/cxgbtool/Makefile projects/ppc64/usr.sbin/eeprom/eeprom.8 projects/ppc64/usr.sbin/eeprom/eeprom.c projects/ppc64/usr.sbin/ftp-proxy/Makefile.inc projects/ppc64/usr.sbin/makefs/compat/pwcache.c projects/ppc64/usr.sbin/makefs/compat/strsuftoll.c projects/ppc64/usr.sbin/makefs/getid.c projects/ppc64/usr.sbin/mptable/mptable.c projects/ppc64/usr.sbin/mptutil/mpt_cam.c projects/ppc64/usr.sbin/mptutil/mpt_show.c projects/ppc64/usr.sbin/mtree/mtree.5 projects/ppc64/usr.sbin/rpcbind/util.c projects/ppc64/usr.sbin/usbdevs/usbdevs.8 projects/ppc64/usr.sbin/usbdevs/usbdevs.c projects/ppc64/usr.sbin/yppoll/yppoll.8 Directory Properties: projects/ppc64/ (props changed) projects/ppc64/contrib/expat/ (props changed) projects/ppc64/contrib/groff/ (props changed) projects/ppc64/contrib/one-true-awk/ (props changed) projects/ppc64/sys/ (props changed) projects/ppc64/sys/dev/xen/xenpci/ (props changed) Modified: projects/ppc64/MAINTAINERS ============================================================================== --- projects/ppc64/MAINTAINERS Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/MAINTAINERS Mon Feb 22 18:07:41 2010 (r204217) @@ -125,6 +125,12 @@ gnu/usr.bin/send-pr bugmaster Pre-commit ncurses rafan Heads-up appreciated, try not to break it. *env(3) secteam Due to the problematic security history of this code, please have patches reviewed by secteam. +share/zoneinfo edwin Heads-up appreciated, since our data is coming + from a third party source. +usr.sbin/zic edwin Heads-up appreciated, since this code is + maintained by a third party source. +lib/libc/stdtime edwin Heads-up appreciated, since parts of this code + is maintained by a third party source. Following are the entries from the Makefiles, and a few other sources. Please remove stale entries from both their origin, and this file. Modified: projects/ppc64/bin/rmail/Makefile ============================================================================== --- projects/ppc64/bin/rmail/Makefile Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/bin/rmail/Makefile Mon Feb 22 18:07:41 2010 (r204217) @@ -11,7 +11,7 @@ PROG= rmail SRCS= rmail.c MAN= rmail.8 -WARNS?= 0 +WARNS?= 2 CFLAGS+=-I${SENDMAIL_DIR}/include -I. LIBSMDIR= ${.OBJDIR}/../../lib/libsm Copied: projects/ppc64/contrib/gdb/gdb/config/mips/nm-fbsd.h (from r204216, head/contrib/gdb/gdb/config/mips/nm-fbsd.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/contrib/gdb/gdb/config/mips/nm-fbsd.h Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/contrib/gdb/gdb/config/mips/nm-fbsd.h) @@ -0,0 +1,48 @@ +/*********************************************************************** +Copyright 2003-2006 Raza Microelectronics, Inc.(RMI). +This is a derived work from software originally provided by the external +entity identified below. The licensing terms and warranties specified in +the header of the original work apply to this derived work. +Contribution by RMI: +*****************************#RMI_1#**********************************/ +/* Native-dependent definitions for NetBSD/mips. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + 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. */ + +#ifndef NM_FBSD_H +#define NM_FBSD_H + +/* Override child_pid_to_exec_file in 'inftarg.c'. */ +#define CHILD_PID_TO_EXEC_FILE + +/* Type of the third argument to the `ptrace' system call. */ +#define PTRACE_ARG3_TYPE caddr_t + +/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ +#define FETCH_INFERIOR_REGISTERS + +/* We can attach and detach. */ +#define ATTACH_DETACH + +/* Shared library support. */ + +#include "solib.h" + +#endif /* NM_FBSD_H */ Copied: projects/ppc64/contrib/gdb/gdb/config/mips/tm-fbsd.h (from r204216, head/contrib/gdb/gdb/config/mips/tm-fbsd.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/contrib/gdb/gdb/config/mips/tm-fbsd.h Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/contrib/gdb/gdb/config/mips/tm-fbsd.h) @@ -0,0 +1,43 @@ +/*********************************************************************** +Copyright 2003-2006 Raza Microelectronics, Inc.(RMI). +This is a derived work from software originally provided by the external +entity identified below. The licensing terms and warranties specified in +the header of the original work apply to this derived work. +Contribution by RMI: +*****************************#RMI_1#**********************************/ +/* Target-dependent definitions for NetBSD/mips. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + 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. */ + +#ifndef TM_FBSD_H +#define TM_FBSD_H + +#include "mips/tm-mips.h" +#include "solib.h" + +/* We don't want to inherit tm-mips.h's shared library trampoline code. */ +#undef IN_SOLIB_CALL_TRAMPOLINE +#undef IN_SOLIB_RETURN_TRAMPOLINE +#undef SKIP_TRAMPOLINE_CODE +#undef IGNORE_HELPER_CALL + +/* XXX undef a bunch of stuff we want to use multi-arch */ +#undef IN_SIGTRAMP +#endif /* TM_FBSD_H */ Modified: projects/ppc64/contrib/gdb/gdb/mips-tdep.h ============================================================================== --- projects/ppc64/contrib/gdb/gdb/mips-tdep.h Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/contrib/gdb/gdb/mips-tdep.h Mon Feb 22 18:07:41 2010 (r204217) @@ -62,6 +62,17 @@ struct mips_regnum extern const struct mips_regnum *mips_regnum (struct gdbarch *gdbarch); enum { + MIPS_S0_REGNUM = 16, + MIPS_S1_REGNUM = 17, + MIPS_S2_REGNUM = 18, + MIPS_S3_REGNUM = 19, + MIPS_S4_REGNUM = 20, + MIPS_S5_REGNUM = 21, + MIPS_S6_REGNUM = 22, + MIPS_S7_REGNUM = 23, + MIPS_SP_REGNUM = 29, + MIPS_FP_REGNUM = 30, + MIPS_RA_REGNUM = 31, MIPS_EMBED_LO_REGNUM = 33, MIPS_EMBED_HI_REGNUM = 34, MIPS_EMBED_BADVADDR_REGNUM = 35, Copied: projects/ppc64/contrib/gdb/gdb/mipsfbsd-nat.c (from r204216, head/contrib/gdb/gdb/mipsfbsd-nat.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/contrib/gdb/gdb/mipsfbsd-nat.c Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/contrib/gdb/gdb/mipsfbsd-nat.c) @@ -0,0 +1,108 @@ +/*********************************************************************** +Copyright 2003-2006 Raza Microelectronics, Inc.(RMI). +This is a derived work from software originally provided by the external +entity identified below. The licensing terms and warranties specified in +the header of the original work apply to this derived work. +Contribution by RMI: +*****************************#RMI_1#**********************************/ +/* Native-dependent code for MIPS systems running NetBSD. + Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + + This file is part of GDB. + + 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 "defs.h" +#include "inferior.h" +#include "regcache.h" + +#include "mipsfbsd-tdep.h" + +#include <sys/types.h> +#include <sys/ptrace.h> +#include <machine/reg.h> + +/* Determine if PT_GETREGS fetches this register. */ +static int +getregs_supplies (int regno) +{ + return ((regno) >= ZERO_REGNUM && (regno) <= PC_REGNUM); +} + +void +fetch_inferior_registers (int regno) +{ + if (regno == -1 || getregs_supplies (regno)) + { + struct reg regs; + + if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) ®s, 0) == -1) + perror_with_name ("Couldn't get registers"); + + mipsfbsd_supply_reg ((char *) ®s, regno); + if (regno != -1) + return; + } + + if (regno == -1 || regno >= FP0_REGNUM) + { + struct fpreg fpregs; + + if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) + perror_with_name ("Couldn't get floating point status"); + + mipsfbsd_supply_fpreg ((char *) &fpregs, regno); + } +} + +void +store_inferior_registers (int regno) +{ + if (regno == -1 || getregs_supplies (regno)) + { + struct reg regs; + + if (ptrace (PT_GETREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) ®s, 0) == -1) + perror_with_name ("Couldn't get registers"); + + mipsfbsd_fill_reg ((char *) ®s, regno); + + if (ptrace (PT_SETREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) ®s, 0) == -1) + perror_with_name ("Couldn't write registers"); + + if (regno != -1) + return; + } + + if (regno == -1 || regno >= FP0_REGNUM) + { + struct fpreg fpregs; + + if (ptrace (PT_GETFPREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) + perror_with_name ("Couldn't get floating point status"); + + mipsfbsd_fill_fpreg ((char *) &fpregs, regno); + + if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), + (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) + perror_with_name ("Couldn't write floating point status"); + } +} Copied: projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.c (from r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.c Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.c) @@ -0,0 +1,579 @@ +/*********************************************************************** +Copyright 2003-2006 Raza Microelectronics, Inc.(RMI). +This is a derived work from software originally provided by the external +entity identified below. The licensing terms and warranties specified in +the header of the original work apply to this derived work. +Contribution by RMI: +*****************************#RMI_1#**********************************/ +/* Target-dependent code for MIPS systems running NetBSD. + Copyright 2002, 2003 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + 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 "defs.h" +#include "gdbcore.h" +#include "regcache.h" +#include "target.h" +#include "value.h" +#include "osabi.h" + +#include "nbsd-tdep.h" +#include "mipsfbsd-tdep.h" +#include "mips-tdep.h" + +#include "solib-svr4.h" + +#include <sys/procfs.h> +#include "gregset.h" +#include "trad-frame.h" +#include "frame.h" +#include "frame-unwind.h" +#include "bfd.h" +#include "objfiles.h" + +/* Conveniently, GDB uses the same register numbering as the + ptrace register structure used by NetBSD/mips. */ + +void +mipsfbsd_supply_reg (char *regs, int regno) +{ + int i; + + for (i = 0; i <= PC_REGNUM; i++) + { + if (regno == i || regno == -1) + { + if (CANNOT_FETCH_REGISTER (i)) + supply_register (i, NULL); + else + supply_register (i, regs + (i * mips_regsize (current_gdbarch))); + } + } +} +void +supply_gregset (gdb_gregset_t *gregs) +{ + mipsfbsd_supply_reg((char *)gregs, -1); +} + +void +mipsfbsd_fill_reg (char *regs, int regno) +{ + int i; + + for (i = 0; i <= PC_REGNUM; i++) + if ((regno == i || regno == -1) && ! CANNOT_STORE_REGISTER (i)) + regcache_collect (i, regs + (i * mips_regsize (current_gdbarch))); +} + +void +fill_gregset (gdb_gregset_t *gregs, int regno) +{ + mipsfbsd_fill_reg ((char *)gregs, regno); +} + +void +mipsfbsd_supply_fpreg (char *fpregs, int regno) +{ + int i; + + for (i = FP0_REGNUM; + i <= mips_regnum (current_gdbarch)->fp_implementation_revision; + i++) + { + if (regno == i || regno == -1) + { + if (CANNOT_FETCH_REGISTER (i)) + supply_register (i, NULL); + else + supply_register (i, + fpregs + ((i - FP0_REGNUM) * mips_regsize (current_gdbarch))); + } + } +} + +void +supply_fpregset (gdb_fpregset_t *fpregs) +{ + mipsfbsd_supply_fpreg((char *)fpregs, -1); +} + +void +mipsfbsd_fill_fpreg (char *fpregs, int regno) +{ + int i; + + for (i = FP0_REGNUM; i <= mips_regnum (current_gdbarch)->fp_control_status; + i++) + if ((regno == i || regno == -1) && ! CANNOT_STORE_REGISTER (i)) + regcache_collect (i, + fpregs + ((i - FP0_REGNUM) * mips_regsize (current_gdbarch))); +} + +void +fill_fpregset (gdb_fpregset_t *fpregs, int regno) +{ + mipsfbsd_fill_fpreg ((char *)fpregs, regno); +} + +static void +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which, + CORE_ADDR ignore) +{ + char *regs, *fpregs; + + /* We get everything from one section. */ + if (which != 0) + return; + + regs = core_reg_sect; + fpregs = core_reg_sect + SIZEOF_STRUCT_REG; + + /* Integer registers. */ + mipsfbsd_supply_reg (regs, -1); + + /* Floating point registers. */ + mipsfbsd_supply_fpreg (fpregs, -1); +} + +static void +fetch_elfcore_registers (char *core_reg_sect, unsigned core_reg_size, int which, + CORE_ADDR ignore) +{ + switch (which) + { + case 0: /* Integer registers. */ + if (core_reg_size != SIZEOF_STRUCT_REG) + warning ("Wrong size register set in core file."); + else + mipsfbsd_supply_reg (core_reg_sect, -1); + break; + + case 2: /* Floating point registers. */ + if (core_reg_size != SIZEOF_STRUCT_FPREG) + warning ("Wrong size register set in core file."); + else + mipsfbsd_supply_fpreg (core_reg_sect, -1); + break; + + default: + /* Don't know what kind of register request this is; just ignore it. */ + break; + } +} + +static struct core_fns mipsfbsd_core_fns = +{ + bfd_target_unknown_flavour, /* core_flavour */ + default_check_format, /* check_format */ + default_core_sniffer, /* core_sniffer */ + fetch_core_registers, /* core_read_registers */ + NULL /* next */ +}; + + +/* + * MIPSFBSD Offsets + * 0x7fff0000 User high mem -> USRSTACK [64K] + * + * 0x7ffefff0 ps_strings -> 16 bytes + * + * 0x7ffeffec sigcode -> 44 bytes + * + * 0x7ffeffc4 sigcode end env strings etc start + */ +#define MIPS_FBSD_SIGTRAMP_START (0x7ffeffc4) +#define MIPS_FBSD_SIGTRAMP_END (0x7ffeffec) +#define MIPS_FBSD_SIGTRAMP_STACK_MOD_START (0x7ffeffc8) +#define MIPS_FBSD_SIGTRAMP_STACK_MOD_END (0x7ffeffd8) + +static LONGEST +mipsfbsd_sigtramp_offset (CORE_ADDR pc) +{ + return pc < MIPS_FBSD_SIGTRAMP_END && + pc >= MIPS_FBSD_SIGTRAMP_START ? 1 : -1; +} + +static int +fbsd_pc_in_sigtramp (CORE_ADDR pc, char *name) +{ + return (name && strcmp (name, "__sigtramp") == 0); +} + +static int +mipsfbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name) +{ + return (fbsd_pc_in_sigtramp (pc, func_name) + || mipsfbsd_sigtramp_offset (pc) >= 0); +} + +static int +is_sigtramp_sp_modified (CORE_ADDR pc) +{ + return (pc >= MIPS_FBSD_SIGTRAMP_STACK_MOD_START && + pc <= MIPS_FBSD_SIGTRAMP_STACK_MOD_END); +} + + +/* Figure out where the longjmp will land. We expect that we have + just entered longjmp and haven't yet setup the stack frame, so + the args are still in the argument regs. A0_REGNUM points at the + jmp_buf structure from which we extract the PC that we will land + at. The PC is copied into *pc. This routine returns true on + success. */ + +#define FBSD_MIPS_JB_PC (12) +#define FBSD_MIPS_JB_ELEMENT_SIZE mips_regsize (current_gdbarch) +#define FBSD_MIPS_JB_OFFSET (FBSD_MIPS_JB_PC * \ + FBSD_MIPS_JB_ELEMENT_SIZE) + +static int +mipsfbsd_get_longjmp_target (CORE_ADDR *pc) +{ + CORE_ADDR jb_addr; + char *buf; + + buf = alloca (FBSD_MIPS_JB_ELEMENT_SIZE); + + jb_addr = read_register (A0_REGNUM); + + if (target_read_memory (jb_addr + FBSD_MIPS_JB_OFFSET, buf, + FBSD_MIPS_JB_ELEMENT_SIZE)) + return 0; + + *pc = extract_unsigned_integer (buf, FBSD_MIPS_JB_ELEMENT_SIZE); + + return 1; +} + +static int +mipsfbsd_cannot_fetch_register (int regno) +{ + return (regno == ZERO_REGNUM + || regno == mips_regnum (current_gdbarch)->fp_implementation_revision); + /* XXX TODO: Are there other registers that we cannot fetch ? */ +} + +static int +mipsfbsd_cannot_store_register (int regno) +{ + return (regno == ZERO_REGNUM + || regno == mips_regnum (current_gdbarch)->fp_implementation_revision); + /* XXX TODO: Are there other registers that we cannot write ? */ +} + +/* + * This structure is defined in mips-tdep.c. + */ +struct mips_frame_cache +{ + CORE_ADDR base; + struct trad_frame_saved_reg *saved_regs; +}; + +/* + * Prologue cache for sigtramp frame + * When we land in sigtramp, sigcontext is saved on the + * stack just below the sigtramp's stack frame. We have + * the Registers saved at fixed offsets on the stack. + */ + +#define MIPS_FBSD_SIGTRAMP_STACK_SIZE (48) +#define MIPS_FBSD_SIGCONTEXT_REG_OFFSET (32) + +static struct mips_frame_cache * +mipsfbsd_sigtramp_frame_cache (struct frame_info *next_frame, + void **this_cache) +{ + struct mips_frame_cache *cache; + CORE_ADDR gregs_addr, sp, pc; + int regnum; + int sigtramp_stack_size; + + if (*this_cache) + return *this_cache; + + cache = FRAME_OBSTACK_ZALLOC (struct mips_frame_cache); + *this_cache = cache; + + cache->saved_regs = trad_frame_alloc_saved_regs (next_frame); + + /* + * Get sp of next frame which is the adjusted sp of + * tramp code. + */ + sp = frame_unwind_register_unsigned(next_frame, NUM_REGS + SP_REGNUM); + pc = frame_unwind_register_unsigned(next_frame, NUM_REGS + PC_REGNUM); + sigtramp_stack_size = is_sigtramp_sp_modified(pc) ? + MIPS_FBSD_SIGTRAMP_STACK_SIZE : 0; + gregs_addr = sp + sigtramp_stack_size + MIPS_FBSD_SIGCONTEXT_REG_OFFSET; + + for (regnum = 0; regnum < PC_REGNUM; regnum++) { + cache->saved_regs[NUM_REGS + regnum].addr = gregs_addr + + regnum * mips_regsize (current_gdbarch); + } + /* Only retrieve PC and SP */ + cache->saved_regs[NUM_REGS + SP_REGNUM].addr = gregs_addr + + SP_REGNUM * ( mips_regsize (current_gdbarch)); + + cache->saved_regs[NUM_REGS + RA_REGNUM].addr = gregs_addr + + RA_REGNUM * ( mips_regsize (current_gdbarch)); + + cache->base = get_frame_memory_unsigned (next_frame, + cache->saved_regs[NUM_REGS + SP_REGNUM].addr, + mips_regsize (current_gdbarch)); + + /* Todo: Floating point registers */ + + cache->saved_regs[NUM_REGS + mips_regnum (current_gdbarch)->pc] + = cache->saved_regs[NUM_REGS + RA_REGNUM]; + + return *this_cache; +} + +static void +mipsfbsd_sigtramp_frame_this_id (struct frame_info *next_frame, + void **this_cache, + struct frame_id *this_id) +{ + struct mips_frame_cache *cache = + mipsfbsd_sigtramp_frame_cache (next_frame, this_cache); + + (*this_id) = frame_id_build (cache->base, + cache->saved_regs[NUM_REGS + mips_regnum (current_gdbarch)->pc].addr); +} + +static void +mipsfbsd_sigtramp_frame_prev_register (struct frame_info *next_frame, + void **this_cache, + int regnum, int *optimizedp, + enum lval_type *lvalp, + CORE_ADDR *addrp, + int *realnump, void *valuep) +{ + struct mips_frame_cache *cache = + mipsfbsd_sigtramp_frame_cache (next_frame, this_cache); + + trad_frame_prev_register (next_frame, cache->saved_regs, regnum, + optimizedp, lvalp, addrp, realnump, valuep); +} + + +static const struct frame_unwind mipsfbsd_sigtramp_frame_unwind = +{ + SIGTRAMP_FRAME, + mipsfbsd_sigtramp_frame_this_id, + mipsfbsd_sigtramp_frame_prev_register +}; + +static const struct frame_unwind * +mipsfbsd_sigtramp_frame_sniffer (struct frame_info *next_frame) +{ + CORE_ADDR pc = frame_pc_unwind (next_frame); + char *name; + + find_pc_partial_function (pc, &name, NULL, NULL); + if (mipsfbsd_pc_in_sigtramp (pc, name) ) + return &mipsfbsd_sigtramp_frame_unwind; + + return NULL; +} + +/* + * Find out if PC has landed into dynamic library stub. + * We can find it by seeing if the name of the object + * file section where the PC lies is "MIPS.stubs" + */ + +int +mipsfbsd_in_stub_section (CORE_ADDR pc, char *name) +{ + struct obj_section *s; + int retval = 0; + + s = find_pc_section (pc); + + retval = (s != NULL + && s->the_bfd_section->name != NULL + && strcmp (s->the_bfd_section->name, ".MIPS.stubs") == 0); + return (retval); +} + + +/* + * Prologue cache for dynamic library stub frame. + * This stub does not modify the SP, so we set the + * cache base to calling frame's SP + */ +static struct mips_frame_cache * +mipsfbsd_stub_frame_cache (struct frame_info *next_frame, + void **this_cache) +{ + struct mips_frame_cache *cache; + + if (*this_cache) + return *this_cache; + + cache = FRAME_OBSTACK_ZALLOC (struct mips_frame_cache); + *this_cache = cache; + + cache->saved_regs = trad_frame_alloc_saved_regs (next_frame); + + + cache->saved_regs[NUM_REGS + mips_regnum (current_gdbarch)->pc].realreg = + NUM_REGS + RA_REGNUM; + cache->base = frame_unwind_register_unsigned (next_frame, + NUM_REGS + SP_REGNUM); + + return (*this_cache); +} + + +static void +mipsfbsd_stub_frame_this_id (struct frame_info *next_frame, + void **this_cache, + struct frame_id *this_id) +{ + struct mips_frame_cache *cache = + mipsfbsd_stub_frame_cache (next_frame, this_cache); + + (*this_id) = frame_id_build (cache->base, + cache->saved_regs[NUM_REGS + mips_regnum (current_gdbarch)->pc].addr); +} + +static void +mipsfbsd_stub_frame_prev_register (struct frame_info *next_frame, + void **this_cache, + int regnum, int *optimizedp, + enum lval_type *lvalp, CORE_ADDR *addrp, + int *realnump, void *valuep) +{ + struct mips_frame_cache *cache = + mipsfbsd_stub_frame_cache (next_frame, this_cache); + + trad_frame_prev_register (next_frame, cache->saved_regs, regnum, + optimizedp, lvalp, addrp, realnump, valuep); +} + + + +static const struct frame_unwind mipsfbsd_stub_frame_unwind = { + NORMAL_FRAME, + mipsfbsd_stub_frame_this_id, + mipsfbsd_stub_frame_prev_register +}; + +static const struct frame_unwind * +mipsfbsd_stub_frame_sniffer (struct frame_info *next_frame) +{ + CORE_ADDR pc = frame_pc_unwind (next_frame); + + if (mipsfbsd_in_stub_section(pc, NULL)) + return &mipsfbsd_stub_frame_unwind; + + return NULL; +} + +/* + * typedef struct link_map { + * caddr_t l_addr; /* Base Address of library + * #ifdef __mips__ + * caddr_t l_offs; /* Load Offset of library + * #endif + * const char *l_name; /* Absolute Path to Library + * const void *l_ld; /* Pointer to .dynamic in memory + * struct link_map *l_next, *l_prev; /* linked list of of mapped libs + * } Link_map; + * + * struct r_debug { + * int r_version; /* not used + * struct link_map *r_map; /* list of loaded images + * void (*r_brk)(struct r_debug *, struct link_map *); + * /* pointer to break point + * enum { + * RT_CONSISTENT, /* things are stable + * RT_ADD, /* adding a shared library + * RT_DELETE /* removing a shared library + * } r_state; + * }; + * + */ + +static struct link_map_offsets * +mipsfbsd_ilp32_solib_svr4_fetch_link_map_offsets (void) +{ + static struct link_map_offsets lmo; + static struct link_map_offsets *lmp = NULL; + + if (lmp == NULL) + { + lmp = &lmo; + + lmo.r_debug_size = 16; + + lmo.r_map_offset = 4; + lmo.r_map_size = 4; + + lmo.link_map_size = 24; + + lmo.l_addr_offset = 0; + lmo.l_addr_size = 4; + + lmo.l_name_offset = 8; + lmo.l_name_size = 4; + + lmo.l_next_offset = 16; + lmo.l_next_size = 4; + + lmo.l_prev_offset = 20; + lmo.l_prev_size = 4; + } + + return lmp; +} + +static void +mipsfbsd_init_abi (struct gdbarch_info info, + struct gdbarch *gdbarch) +{ + set_gdbarch_pc_in_sigtramp (gdbarch, mipsfbsd_pc_in_sigtramp); + + set_gdbarch_get_longjmp_target (gdbarch, mipsfbsd_get_longjmp_target); + + set_gdbarch_cannot_fetch_register (gdbarch, mipsfbsd_cannot_fetch_register); + set_gdbarch_cannot_store_register (gdbarch, mipsfbsd_cannot_store_register); + + set_gdbarch_software_single_step (gdbarch, mips_software_single_step); + set_solib_svr4_fetch_link_map_offsets (gdbarch, + mipsfbsd_ilp32_solib_svr4_fetch_link_map_offsets); + set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); + set_gdbarch_in_solib_call_trampoline (gdbarch, mipsfbsd_in_stub_section); + + /* frame sniffers */ + frame_unwind_append_sniffer (gdbarch, mipsfbsd_sigtramp_frame_sniffer); + frame_unwind_append_sniffer (gdbarch, mipsfbsd_stub_frame_sniffer); + +} + +void +_initialize_mipsfbsd_tdep (void) +{ + gdbarch_register_osabi (bfd_arch_mips, 0, GDB_OSABI_FREEBSD_ELF, + mipsfbsd_init_abi); +} Copied: projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.h (from r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/contrib/gdb/gdb/mipsfbsd-tdep.h Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/contrib/gdb/gdb/mipsfbsd-tdep.h) @@ -0,0 +1,40 @@ +/*********************************************************************** +Copyright 2003-2006 Raza Microelectronics, Inc.(RMI). +This is a derived work from software originally provided by the external +entity identified below. The licensing terms and warranties specified in +the header of the original work apply to this derived work. +Contribution by RMI: +*****************************#RMI_1#**********************************/ +/* Common target dependent code for GDB on MIPS systems running NetBSD. + Copyright 2002 Free Software Foundation, Inc. + + This file is part of GDB. + + 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. */ + +#ifndef mipsfbsd_TDEP_H +#define mipsfbsd_TDEP_H + +void mipsfbsd_supply_reg (char *, int); +void mipsfbsd_fill_reg (char *, int); + +void mipsfbsd_supply_fpreg (char *, int); +void mipsfbsd_fill_fpreg (char *, int); + +#define SIZEOF_STRUCT_REG (38 * mips_regsize (current_gdbarch)) +#define SIZEOF_STRUCT_FPREG (33 * mips_regsize (current_gdbarch)) + +#endif /* mipsfbsd_TDEP_H */ Modified: projects/ppc64/etc/defaults/rc.conf ============================================================================== --- projects/ppc64/etc/defaults/rc.conf Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/etc/defaults/rc.conf Mon Feb 22 18:07:41 2010 (r204217) @@ -260,6 +260,9 @@ syslogd_flags="-s" # Flags to syslogd ( inetd_enable="NO" # Run the network daemon dispatcher (YES/NO). inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one. inetd_flags="-wW -C 60" # Optional flags to inetd +hastd_enable="NO" # Run the HAST daemon (YES/NO). +hastd_program="/sbin/hastd" # path to hastd, if you want a different one. +hastd_flags="" # Optional flags to hastd. # # named. It may be possible to run named in a sandbox, man security for # details. Modified: projects/ppc64/etc/mtree/BSD.usr.dist ============================================================================== --- projects/ppc64/etc/mtree/BSD.usr.dist Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/etc/mtree/BSD.usr.dist Mon Feb 22 18:07:41 2010 (r204217) @@ -215,6 +215,8 @@ .. find_interface .. + hast + .. hostapd .. ibcs2 Modified: projects/ppc64/etc/ppp/ppp.conf ============================================================================== --- projects/ppc64/etc/ppp/ppp.conf Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/etc/ppp/ppp.conf Mon Feb 22 18:07:41 2010 (r204217) @@ -10,7 +10,7 @@ default: set log Phase Chat LCP IPCP CCP tun command - ident user-ppp VERSION (built COMPILATIONDATE) + ident user-ppp VERSION # Ensure that "device" references the correct serial port # for your modem. (cuau0 = COM1, cuau1 = COM2) Modified: projects/ppc64/etc/rc.d/Makefile ============================================================================== --- projects/ppc64/etc/rc.d/Makefile Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/etc/rc.d/Makefile Mon Feb 22 18:07:41 2010 (r204217) @@ -12,7 +12,7 @@ FILES= DAEMON FILESYSTEMS LOGIN NETWORKI encswap \ faith fsck ftp-proxy ftpd \ gbde geli geli2 gssd \ - hcsecd \ + hastd hcsecd \ hostapd hostid hostid_save hostname \ inetd initrandom \ ip6addrctl ipfilter ipfs ipfw ipmon \ Copied: projects/ppc64/etc/rc.d/hastd (from r204216, head/etc/rc.d/hastd) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/ppc64/etc/rc.d/hastd Mon Feb 22 18:07:41 2010 (r204217, copy of r204216, head/etc/rc.d/hastd) @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: hastd +# REQUIRE: NETWORKING syslogd +# BEFORE: DAEMON +# KEYWORD: nojail shutdown + +. /etc/rc.subr + +name="hastd" +rcvar=`set_rcvar` +pidfile="/var/run/${name}.pid" +command="/sbin/${name}" +hastctl="/sbin/hastctl" +required_files="/etc/hast.conf" +stop_precmd="hastd_stop_precmd" +required_modules="geom_gate:g_gate" + +hastd_stop_precmd() +{ + ${hastctl} role init all +} + +load_rc_config $name +run_rc_command "$1" Modified: projects/ppc64/games/Makefile.inc ============================================================================== --- projects/ppc64/games/Makefile.inc Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/games/Makefile.inc Mon Feb 22 18:07:41 2010 (r204217) @@ -3,3 +3,4 @@ BINDIR?= /usr/games FILESDIR?= ${SHAREDIR}/games +WARNS?= 6 Modified: projects/ppc64/games/bcd/Makefile ============================================================================== --- projects/ppc64/games/bcd/Makefile Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/games/bcd/Makefile Mon Feb 22 18:07:41 2010 (r204217) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= bcd -WARNS?= 6 MAN= bcd.6 MLINKS= bcd.6 ppt.6 Modified: projects/ppc64/games/bcd/bcd.c ============================================================================== --- projects/ppc64/games/bcd/bcd.c Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/games/bcd/bcd.c Mon Feb 22 18:07:41 2010 (r204217) @@ -13,11 +13,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * Modified: projects/ppc64/games/caesar/Makefile ============================================================================== --- projects/ppc64/games/caesar/Makefile Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/games/caesar/Makefile Mon Feb 22 18:07:41 2010 (r204217) @@ -8,6 +8,4 @@ SCRIPTS=rot13.sh MAN= caesar.6 MLINKS= caesar.6 rot13.6 -WARNS?= 6 - .include <bsd.prog.mk> Modified: projects/ppc64/games/caesar/caesar.c ============================================================================== --- projects/ppc64/games/caesar/caesar.c Mon Feb 22 17:34:35 2010 (r204216) +++ projects/ppc64/games/caesar/caesar.c Mon Feb 22 18:07:41 2010 (r204217) @@ -18,11 +18,7 @@ * 2. Redistributions in binary form must reproduce the above copyright *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002221807.o1MI7fEO019023>