Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/uebayasi-xip]: src Sync with HEAD (-D20101022).



details:   https://anonhg.NetBSD.org/src/rev/bd63bffa3cc4
branches:  uebayasi-xip
changeset: 751809:bd63bffa3cc4
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Oct 22 07:11:52 2010 +0000

description:
Sync with HEAD (-D20101022).

diffstat:

 include/complex.h                                |   134 +-
 include/dirent.h                                 |     4 +-
 include/glob.h                                   |     3 +-
 include/link_elf.h                               |    31 +-
 include/math.h                                   |     6 +-
 include/rmt.h                                    |     3 +-
 include/signal.h                                 |     5 +-
 include/stdio.h                                  |    14 +-
 include/stdlib.h                                 |     4 +-
 include/unistd.h                                 |     4 +-
 share/man/man4/Makefile                          |     9 +-
 share/man/man4/acpi.4                            |    15 +-
 share/man/man4/acpicpu.4                         |    55 +-
 share/man/man4/acpivga.4                         |   119 +
 share/man/man4/agp.4                             |    36 +-
 share/man/man4/audio.4                           |     4 +-
 share/man/man4/aue.4                             |    39 +-
 share/man/man4/bthub.4                           |     8 +-
 share/man/man4/btmagic.4                         |    20 +-
 share/man/man4/fast_ipsec.4                      |     3 +-
 share/man/man4/g760a.4                           |    74 +
 share/man/man4/hdaudio.4                         |     9 +-
 share/man/man4/options.4                         |    19 +-
 share/man/man4/swsensor.4                        |    71 +
 share/man/man9/Makefile                          |     6 +-
 share/man/man9/man9.i386/Makefile                |     9 +
 share/man/man9/module.9                          |   117 +-
 share/man/man9/mutex.9                           |   273 ++
 share/man/man9/npf_ncode.9                       |   270 ++
 sys/arch/alpha/alpha/dec_6600.c                  |    99 +-
 sys/arch/alpha/common/sgmap_typedep.c            |    25 +-
 sys/arch/alpha/include/alpha_cpu.h               |     3 +-
 sys/arch/alpha/include/elf_machdep.h             |    11 +-
 sys/arch/alpha/include/logout.h                  |    40 +-
 sys/arch/alpha/pci/tsc.c                         |    33 +-
 sys/arch/alpha/pci/tsp_pci.c                     |    57 +-
 sys/arch/alpha/pci/tsreg.h                       |    13 +-
 sys/arch/alpha/pci/tsvar.h                       |     8 +-
 sys/arch/alpha/stand/common/boot.c               |     6 +-
 sys/arch/alpha/stand/ustarboot/Makefile          |     4 +-
 sys/arch/amd64/amd64/locore.S                    |    62 +-
 sys/arch/amd64/amd64/machdep.c                   |    29 +-
 sys/arch/amd64/amd64/netbsd32_machdep.c          |     8 +-
 sys/arch/amd64/conf/GENERIC                      |     9 +-
 sys/arch/amd64/include/segments.h                |     4 +-
 sys/arch/amiga/amiga/machdep.c                   |    12 +-
 sys/arch/amiga/conf/std.amiga                    |     8 +-
 sys/arch/amiga/dev/bzivsc.c                      |     6 +-
 sys/arch/amiga/dev/bzsc.c                        |     6 +-
 sys/arch/amiga/dev/bztzsc.c                      |     6 +-
 sys/arch/amiga/dev/cbiisc.c                      |     6 +-
 sys/arch/amiga/dev/cbsc.c                        |     6 +-
 sys/arch/amiga/dev/flsc.c                        |     6 +-
 sys/arch/amiga/dev/if_bah_zbus.c                 |     6 +-
 sys/arch/amiga/dev/sbic.c                        |     6 +-
 sys/arch/amigappc/conf/files.amigappc            |     4 +-
 sys/arch/arm/arm/cpufunc.c                       |   179 +-
 sys/arch/arm/arm/cpufunc_asm_sheeva.S            |   216 ++
 sys/arch/arm/arm32/cpu.c                         |    10 +-
 sys/arch/arm/conf/files.arm                      |    13 +-
 sys/arch/arm/include/armreg.h                    |    17 +-
 sys/arch/arm/include/cpuconf.h                   |    10 +-
 sys/arch/arm/include/cpufunc.h                   |    14 +-
 sys/arch/arm/omap/files.omap2                    |    35 +-
 sys/arch/arm/omap/omap2_gpmc.c                   |    21 +-
 sys/arch/arm/omap/omap2_gpmcreg.h                |    20 +-
 sys/arch/arm/omap/omap2_gpmcvar.h                |     8 +-
 sys/arch/arm/omap/omap2_intr.h                   |     4 +-
 sys/arch/arm/omap/omap2_obio.c                   |     7 +-
 sys/arch/arm/omap/omap2_prcm.c                   |   122 +
 sys/arch/arm/omap/omap2_prcm.h                   |    34 +
 sys/arch/arm/omap/omap2_reg.h                    |    47 +-
 sys/arch/arm/omap/omapfb.c                       |   690 +++++++
 sys/arch/arm/omap/omapfbreg.h                    |   310 +++
 sys/arch/arm/pic/pic.c                           |    34 +-
 sys/arch/arm/sa11x0/sa11x0_com.c                 |    20 +-
 sys/arch/arm/xscale/pxa2x0_mci.c                 |    16 +-
 sys/arch/atari/atari/machdep.c                   |    15 +-
 sys/arch/atari/conf/std.atari                    |     8 +-
 sys/arch/atari/conf/std.hades                    |     8 +-
 sys/arch/atari/conf/std.milan                    |     8 +-
 sys/arch/atari/stand/tostools/libtos/exec_elf.h  |     8 +-
 sys/arch/bebox/conf/GENERIC                      |    14 +-
 sys/arch/bebox/conf/INSTALL                      |   127 +-
 sys/arch/bebox/conf/files.bebox                  |     6 +-
 sys/arch/bebox/conf/majors.bebox                 |     9 +-
 sys/arch/bebox/conf/std.bebox                    |     4 +-
 sys/arch/bebox/stand/boot/Makefile               |     8 +-
 sys/arch/bebox/stand/boot/boot.c                 |    42 +-
 sys/arch/bebox/stand/boot/boot.h                 |    26 +-
 sys/arch/bebox/stand/boot/conf.c                 |    28 +-
 sys/arch/bebox/stand/boot/devopen.c              |   197 +-
 sys/arch/bebox/stand/boot/fd.c                   |     7 +-
 sys/arch/bebox/stand/boot/filesystem.c           |     7 +-
 sys/arch/bebox/stand/boot/io.c                   |   103 +-
 sys/arch/bebox/stand/boot/pci.c                  |   194 ++
 sys/arch/bebox/stand/boot/sd.c                   |   741 ++++++++
 sys/arch/bebox/stand/boot/sdvar.h                |   164 +
 sys/arch/bebox/stand/boot/siop.c                 |  1233 +++++++++++++
 sys/arch/bebox/stand/boot/version                |     8 +-
 sys/arch/bebox/stand/boot/vreset.c               |   167 +-
 sys/arch/bebox/stand/boot/wd.c                   |   320 +++
 sys/arch/bebox/stand/boot/wdc.c                  |   479 +++++
 sys/arch/bebox/stand/boot/wdvar.h                |    96 +
 sys/arch/cesfic/cesfic/machdep.c                 |    16 +-
 sys/arch/cesfic/conf/std.cesfic                  |     7 +-
 sys/arch/dreamcast/conf/GENERIC                  |     7 +-
 sys/arch/dreamcast/conf/Makefile.dreamcast.inc   |     7 +-
 sys/arch/dreamcast/conf/std.dreamcast            |     7 +-
 sys/arch/dreamcast/dev/g2/g2rtc.c                |    43 +-
 sys/arch/dreamcast/dev/gdrom.c                   |   362 ++-
 sys/arch/dreamcast/dev/maple/maple.c             |    77 +-
 sys/arch/dreamcast/dev/maple/maple.h             |    30 +-
 sys/arch/dreamcast/dev/maple/maplevar.h          |     4 +-
 sys/arch/dreamcast/dev/maple/mkbd.c              |    25 +-
 sys/arch/dreamcast/dev/maple/mkbdvar.h           |     8 +-
 sys/arch/dreamcast/dev/maple/mlcd.c              |    31 +-
 sys/arch/dreamcast/dev/maple/mmemcard.c          |    49 +-
 sys/arch/dreamcast/dev/maple/mms.c               |    51 +-
 sys/arch/dreamcast/dev/pvr.c                     |    19 +-
 sys/arch/dreamcast/dreamcast/machdep.c           |    16 +-
 sys/arch/evbarm/beagle/beagle_machdep.c          |    12 +-
 sys/arch/evbarm/conf/BEAGLEBOARD                 |    45 +-
 sys/arch/evbarm/conf/DEVKIT8000                  |    15 +
 sys/arch/evbarm/conf/DNS323                      |    35 +
 sys/arch/evbarm/conf/GUMSTIX                     |    15 +-
 sys/arch/evbarm/conf/KUROBOX_PRO                 |    40 +
 sys/arch/evbarm/conf/MARVELL_NAS                 |   332 +++
 sys/arch/evbarm/conf/OVERO                       |    39 +-
 sys/arch/evbarm/conf/SHEEVAPLUG                  |   517 +++++
 sys/arch/evbarm/conf/files.devkit8000            |     9 +
 sys/arch/evbarm/conf/files.evbarm                |     3 +-
 sys/arch/evbarm/conf/files.g42xxeb               |     5 +-
 sys/arch/evbarm/conf/files.gumstix               |     4 +-
 sys/arch/evbarm/conf/files.marvell               |     9 +
 sys/arch/evbarm/conf/files.overo                 |     7 +-
 sys/arch/evbarm/conf/mk.marvell                  |    39 +
 sys/arch/evbarm/conf/std.marvell                 |    22 +
 sys/arch/evbarm/gumstix/gumstix_machdep.c        |    91 +-
 sys/arch/evbarm/gumstix/gumstix_start.S          |     7 +-
 sys/arch/evbarm/gumstix/gumstixreg.h             |     3 +-
 sys/arch/evbarm/gumstix/gxio.c                   |   142 +-
 sys/arch/evbarm/gumstix/if_sm_gxio.c             |     6 +-
 sys/arch/evbarm/gumstix/if_smsh_gpmc.c           |   119 +
 sys/arch/evbarm/gumstix/if_smsh_gxio.c           |    30 +-
 sys/arch/hp300/conf/GENERIC                      |     8 +-
 sys/arch/hp300/conf/std.hp300                    |     7 +-
 sys/arch/hp300/hp300/machdep.c                   |    15 +-
 sys/arch/hp700/conf/GENERIC                      |     7 +-
 sys/arch/hpcarm/conf/INSTALL_JORNADA720          |    13 +
 sys/arch/hpcarm/conf/WZERO3                      |     6 +-
 sys/arch/hpcarm/dev/j720pcic.c                   |    13 +-
 sys/arch/hppa/include/ieee.h                     |    15 +-
 sys/arch/i386/conf/ALL                           |    13 +-
 sys/arch/i386/conf/GENERIC                       |    11 +-
 sys/arch/i386/conf/MONOLITHIC                    |     5 +-
 sys/arch/i386/i386/dumpsys.c                     |     8 +-
 sys/arch/i386/i386/machdep.c                     |    17 +-
 sys/arch/i386/include/kcore.h                    |    11 +-
 sys/arch/i386/include/pte.h                      |     6 +-
 sys/arch/i386/include/types.h                    |    28 +-
 sys/arch/i386/stand/boot/Makefile.boot           |     4 +-
 sys/arch/i386/stand/bootxx/Makefile              |     7 +-
 sys/arch/i386/stand/lib/exec.c                   |     4 +-
 sys/arch/luna68k/conf/std.luna68k                |     8 +-
 sys/arch/luna68k/luna68k/machdep.c               |    15 +-
 sys/arch/m68k/conf/files.m68k                    |     5 +-
 sys/arch/m68k/conf/std.m68k                      |     8 +
 sys/arch/m68k/include/ieee.h                     |    13 +-
 sys/arch/m68k/m68k/cpu_in_cksum.c                |   123 +
 sys/arch/m68k/m68k/in_cksum.c                    |   100 -
 sys/arch/m68k/m68k/kobj_machdep.c                |    15 +-
 sys/arch/m68k/m68k/m68k_syscall.c                |    48 +-
 sys/arch/mac68k/conf/std.mac68k                  |     9 +-
 sys/arch/mac68k/mac68k/machdep.c                 |    15 +-
 sys/arch/macppc/dev/awacs.c                      |    14 +-
 sys/arch/macppc/dev/deq.c                        |    22 +-
 sys/arch/macppc/dev/obio.c                       |    71 +-
 sys/arch/macppc/dev/pmu.c                        |    23 +-
 sys/arch/macppc/dev/smartbat.c                   |    85 +-
 sys/arch/macppc/dev/snapper.c                    |   150 +-
 sys/arch/macppc/macppc/machdep.c                 |    63 +-
 sys/arch/macppc/stand/ofwboot/boot.c             |     4 +-
 sys/arch/macppc/stand/ofwboot/ofdev.c            |   114 +-
 sys/arch/macppc/stand/ofwboot/version            |     4 +-
 sys/arch/mips/mips/in_cksum.c                    |    34 +-
 sys/arch/mvme68k/conf/std.mvme68k                |     7 +-
 sys/arch/mvme68k/mvme68k/machdep.c               |    15 +-
 sys/arch/news68k/conf/GENERIC                    |     7 +-
 sys/arch/news68k/conf/std.news68k                |     7 +-
 sys/arch/news68k/news68k/machdep.c               |    15 +-
 sys/arch/news68k/stand/boot/boot.c               |     5 +-
 sys/arch/newsmips/stand/boot/boot.c              |     5 +-
 sys/arch/next68k/conf/std.next68k                |     9 +-
 sys/arch/next68k/next68k/machdep.c               |    15 +-
 sys/arch/powerpc/include/cpu.h                   |     4 +-
 sys/arch/powerpc/oea/cpu_subr.c                  |    96 +-
 sys/arch/powerpc/stand/mkbootimage/mkbootimage.c |   220 +-
 sys/arch/powerpc/stand/mkbootimage/pef.h         |    78 +-
 sys/arch/sparc/conf/files.sparc                  |     3 +-
 sys/arch/sparc/conf/std.sparc                    |     4 +-
 sys/arch/sparc/dev/cgfourteen.c                  |    15 +-
 sys/arch/sparc/dev/cgfourteenvar.h               |    13 +-
 sys/arch/sparc/include/ieee.h                    |    14 +-
 sys/arch/sparc/sparc/cpu_in_cksum.c              |   285 +++
 sys/arch/sparc/sparc/in_cksum.c                  |   334 ---
 sys/arch/sparc/stand/Makefile.buildboot          |     4 +-
 sys/arch/sparc/stand/boot/boot.c                 |     9 +-
 sys/arch/sparc/stand/common/isfloppy.c           |    10 +
 sys/arch/sparc/stand/common/isfloppy.h           |     2 +
 sys/arch/sparc/stand/common/promdev.c            |    28 +-
 sys/arch/sparc/stand/ofwboot/Makefile            |     6 +-
 sys/arch/sparc/stand/ofwboot/boot.c              |    15 +-
 sys/arch/sparc64/conf/files.sparc64              |     4 +-
 sys/arch/sparc64/dev/ffb.c                       |   127 +-
 sys/arch/sparc64/dev/ffb_mainbus.c               |    15 +-
 sys/arch/sparc64/dev/ffbvar.h                    |     8 +-
 sys/arch/sparc64/dev/gfb.c                       |    32 +-
 sys/arch/sun2/conf/std.sun2                      |     8 +-
 sys/arch/sun3/conf/GENERIC                       |     7 +-
 sys/arch/sun3/conf/GENERIC3X                     |     7 +-
 sys/arch/sun3/conf/std.sun3                      |     8 +-
 sys/arch/sun3/conf/std.sun3x                     |     8 +-
 sys/arch/sun3/include/param.h                    |    19 +-
 sys/arch/sun3/include/param3.h                   |    10 +-
 sys/arch/sun3/include/param3x.h                  |    10 +-
 sys/arch/sun3/include/vmparam.h                  |    25 +-
 sys/arch/sun3/include/vmparam3.h                 |    12 +-
 sys/arch/sun3/include/vmparam3x.h                |    12 +-
 sys/arch/sun3/sun3/genassym.cf                   |     6 +-
 sys/arch/sun3/sun3/locore.s                      |     8 +-
 sys/arch/sun3/sun3/locore2.c                     |     6 +-
 sys/arch/sun3/sun3/machdep.c                     |    25 +-
 sys/arch/sun3/sun3/mem.c                         |     6 +-
 sys/arch/sun3/sun3/pmap.c                        |    14 +-
 sys/arch/sun3/sun3x/genassym.cf                  |     6 +-
 sys/arch/sun3/sun3x/locore.s                     |     8 +-
 sys/arch/sun3/sun3x/machdep.c                    |    23 +-
 sys/arch/sun3/sun3x/mem.c                        |     6 +-
 sys/arch/sun3/sun3x/pmap.c                       |    58 +-
 sys/arch/x68k/conf/std.x68k                      |     9 +-
 sys/arch/x68k/stand/boot/boot.c                  |     4 +-
 sys/arch/x68k/x68k/machdep.c                     |    15 +-
 sys/arch/x86/acpi/acpi_cpu_md.c                  |   896 +++++++--
 sys/arch/x86/include/cpu.h                       |     3 +-
 sys/arch/x86/include/cpuvar.h                    |     7 +-
 sys/arch/x86/include/ieee.h                      |    14 +-
 sys/arch/x86/include/machdep.h                   |     6 +-
 sys/arch/x86/include/specialreg.h                |    33 +-
 sys/arch/x86/pci/fwhrng.c                        |     8 +-
 sys/arch/x86/pci/i82802reg.h                     |     4 +-
 sys/arch/x86/pci/ichlpcib.c                      |     7 +-
 sys/arch/x86/x86/bus_dma.c                       |     6 +-
 sys/arch/x86/x86/coretemp.c                      |     6 +-
 sys/arch/x86/x86/cpu.c                           |     7 +-
 sys/arch/x86/x86/est.c                           |    31 +-
 sys/arch/x86/x86/platform.c                      |    58 +-
 sys/arch/x86/x86/tsc.c                           |     6 +-
 sys/arch/x86/x86/vga_post.c                      |    38 +-
 sys/arch/x86/x86/x86_autoconf.c                  |    18 +-
 sys/arch/x86/x86/x86_machdep.c                   |    39 +-
 sys/arch/xen/include/xen3-public/elfstructs.h    |    48 +-
 sys/arch/xen/include/xenio.h                     |     8 +-
 sys/arch/xen/include/xenio3.h                    |     8 +-
 sys/arch/xen/x86/cpu.c                           |     7 +-
 sys/arch/xen/xen/if_xennet_xenbus.c              |   305 ++-
 sys/compat/aoutm68k/aoutm68k_exec.c              |     6 +-
 sys/compat/linux/arch/alpha/linux_fcntl.h        |     3 +-
 sys/compat/linux/arch/amd64/linux_fcntl.h        |     3 +-
 sys/compat/linux/arch/arm/linux_fcntl.h          |     4 +-
 sys/compat/linux/arch/i386/linux_fcntl.h         |     4 +-
 sys/compat/linux/arch/mips/linux_fcntl.h         |     4 +-
 sys/compat/linux/arch/powerpc/linux_fcntl.h      |     4 +-
 sys/compat/linux/common/linux_dirent.h           |     6 +-
 sys/compat/linux/common/linux_exec_elf32.c       |     5 +-
 sys/compat/linux/common/linux_file.c             |     7 +-
 sys/compat/linux/common/linux_misc.c             |     5 +-
 sys/compat/linux32/common/linux32_dirent.c       |     5 +-
 sys/compat/linux32/common/linux32_exec_elf32.c   |     7 +-
 sys/compat/linux32/common/linux32_types.h        |     4 +-
 sys/compat/netbsd32/netbsd32_ioctl.c             |   120 +-
 sys/compat/netbsd32/netbsd32_ioctl.h             |    93 +-
 sys/conf/files                                   |    12 +-
 sys/conf/majors                                  |     3 +-
 sys/ddb/db_command.c                             |    12 +-
 sys/ddb/db_input.c                               |    63 +-
 sys/dev/DEVNAMES                                 |     7 +-
 sys/dev/acpi/acpi.c                              |    34 +-
 sys/dev/acpi/acpi_button.c                       |     9 +-
 sys/dev/acpi/acpi_cpu.c                          |   305 +-
 sys/dev/acpi/acpi_cpu.h                          |    32 +-
 sys/dev/acpi/acpi_cpu_cstate.c                   |    59 +-
 sys/dev/acpi/acpi_cpu_pstate.c                   |   254 ++-
 sys/dev/acpi/acpi_cpu_tstate.c                   |    61 +-
 sys/dev/acpi/acpi_display.c                      |  2006 ++++++++++++++++++++++
 sys/dev/acpi/acpi_lid.c                          |     9 +-
 sys/dev/firmload.c                               |     6 +-
 sys/dev/ld.c                                     |    27 +-
 sys/dev/ldvar.h                                  |     3 +-
 sys/dev/vnd.c                                    |    62 +-
 sys/dev/vndvar.h                                 |    47 +-
 301 files changed, 14513 insertions(+), 3219 deletions(-)

diffs (truncated from 27349 to 300 lines):

diff -r 5bb238942219 -r bd63bffa3cc4 include/complex.h
--- a/include/complex.h Thu Oct 21 17:45:21 2010 +0000
+++ b/include/complex.h Fri Oct 22 07:11:52 2010 +0000
@@ -1,10 +1,13 @@
-/* $NetBSD: complex.h,v 1.2 2009/07/22 15:09:57 drochner Exp $ */
+/* $NetBSD: complex.h,v 1.2.2.1 2010/10/22 07:11:52 uebayasi Exp $ */
 
 /*
  * Written by Matthias Drochner.
  * Public domain.
  */
 
+#ifndef        _COMPLEX_H
+#define        _COMPLEX_H
+
 #define complex _Complex
 #define _Complex_I 1.0fi
 #define I _Complex_I
@@ -13,57 +16,106 @@
 
 __BEGIN_DECLS
 
-double creal(double complex);
-double cimag(double complex);
-double complex conj(double complex);
-float crealf(float complex);
-float cimagf(float complex);
-float complex conjf(float complex);
+/* 7.3.5 Trigonometric functions */
+/* 7.3.5.1 The cacos functions */
+double complex cacos(double complex);
+float complex cacosf(float complex);
+
+/* 7.3.5.2 The casin functions */
+double complex casin(double complex);
+float complex casinf(float complex);
+
+/* 7.3.5.1 The catan functions */
+double complex catan(double complex);
+float complex catanf(float complex);
+
+/* 7.3.5.1 The ccos functions */
+double complex ccos(double complex);
+float complex ccosf(float complex);
+
+/* 7.3.5.1 The csin functions */
+double complex csin(double complex);
+float complex csinf(float complex);
+
+/* 7.3.5.1 The ctan functions */
+double complex ctan(double complex);
+float complex ctanf(float complex);
+
+/* 7.3.6 Hyperbolic functions */
+/* 7.3.6.1 The cacosh functions */
+double complex cacosh(double complex);
+float complex cacoshf(float complex);
 
+/* 7.3.6.2 The casinh functions */
+double complex casinh(double complex);
+float complex casinhf(float complex);
+
+/* 7.3.6.3 The catanh functions */
+double complex catanh(double complex);
+float complex catanhf(float complex);
+
+/* 7.3.6.4 The ccosh functions */
+double complex ccosh(double complex);
+float complex ccoshf(float complex);
+
+/* 7.3.6.5 The csinh functions */
+double complex csinh(double complex);
+float complex csinhf(float complex);
+
+/* 7.3.6.6 The ctanh functions */
+double complex ctanh(double complex);
+float complex ctanhf(float complex);
+
+/* 7.3.7 Exponential and logarithmic functions */
+/* 7.3.7.1 The cexp functions */
+double complex cexp(double complex);
+float complex cexpf(float complex);
+
+/* 7.3.7.2 The clog functions */
+double complex clog(double complex);
+float complex clogf(float complex);
+
+/* 7.3.8 Power and absolute-value functions */
+/* 7.3.8.1 The cabs functions */
 #ifndef __LIBM0_SOURCE__
 /* avoid conflict with historical cabs(struct complex) */
 double cabs(double complex) __RENAME(__c99_cabs);
 float cabsf(float complex) __RENAME(__c99_cabsf);
 #endif
+
+/* 7.3.8.2 The cpow functions */
+double complex cpow(double complex, double complex);
+float complex cpowf(float complex, float complex);
+
+/* 7.3.8.3 The csqrt functions */
+double complex csqrt(double complex);
+float complex csqrtf(float complex);
+
+/* 7.3.9 Manipulation functions */
+/* 7.3.9.1 The carg functions */ 
 double carg(double complex);
 float cargf(float complex);
 
-double complex csqrt(double complex);
-double complex cexp(double complex);
-double complex clog(double complex);
-double complex cpow(double complex, double complex);
+/* 7.3.9.2 The cimag functions */
+double cimag(double complex);
+float cimagf(float complex);
+long double cimagl(long double complex);
 
-double complex csin(double complex);
-double complex ccos(double complex);
-double complex ctan(double complex);
-double complex csinh(double complex);
-double complex ccosh(double complex);
-double complex ctanh(double complex);
-
-double complex casin(double complex);
-double complex cacos(double complex);
-double complex catan(double complex);
-double complex casinh(double complex);
-double complex cacosh(double complex);
-double complex catanh(double complex);
+/* 7.3.9.3 The conj functions */
+double complex conj(double complex);
+float complex conjf(float complex);
+long double complex conjl(long double complex);
 
-float complex csqrtf(float complex);
-float complex cexpf(float complex);
-float complex clogf(float complex);
-float complex cpowf(float complex, float complex);
+/* 7.3.9.4 The cproj functions */
+double complex cproj(double complex);
+float complex cprojf(float complex);
+long double complex cprojl(long double complex);
 
-float complex csinf(float complex);
-float complex ccosf(float complex);
-float complex ctanf(float complex);
-float complex csinhf(float complex);
-float complex ccoshf(float complex);
-float complex ctanhf(float complex);
-
-float complex casinf(float complex);
-float complex cacosf(float complex);
-float complex catanf(float complex);
-float complex casinhf(float complex);
-float complex cacoshf(float complex);
-float complex catanhf(float complex);
+/* 7.3.9.5 The creal functions */
+double creal(double complex);
+float crealf(float complex);
+long double creall(long double complex);
 
 __END_DECLS
+
+#endif /* ! _COMPLEX_H */
diff -r 5bb238942219 -r bd63bffa3cc4 include/dirent.h
--- a/include/dirent.h  Thu Oct 21 17:45:21 2010 +0000
+++ b/include/dirent.h  Fri Oct 22 07:11:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dirent.h,v 1.33 2009/02/24 18:41:40 christos Exp $     */
+/*     $NetBSD: dirent.h,v 1.33.2.1 2010/10/22 07:11:52 uebayasi Exp $ */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -74,6 +74,8 @@
 #define DTF_NODUP      0x0002  /* don't return duplicate names */
 #define DTF_REWIND     0x0004  /* rewind after reading union stack */
 #define __DTF_READALL  0x0008  /* everything has been read */
+#define __DTF_RETRY_ON_BADCOOKIE 0x0001        /* retry on EINVAL
+                                       (only valid with __DTF_READALL) */
 
 #include <sys/null.h>
 
diff -r 5bb238942219 -r bd63bffa3cc4 include/glob.h
--- a/include/glob.h    Thu Oct 21 17:45:21 2010 +0000
+++ b/include/glob.h    Fri Oct 22 07:11:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: glob.h,v 1.25 2009/04/08 16:28:50 christos Exp $       */
+/*     $NetBSD: glob.h,v 1.25.2.1 2010/10/22 07:11:52 uebayasi Exp $   */
 
 /*
  * Copyright (c) 1989, 1993
@@ -93,6 +93,7 @@
 /*     GLOB_NOESCAPE   0x1000  above */
 #define        GLOB_PERIOD     0x2000  /* Allow metachars to match leading periods. */
 #define        GLOB_NO_DOTDIRS 0x4000  /* Make . and .. vanish from wildcards. */
+#define        GLOB_STAR       0x8000  /* Use glob ** to recurse directories */
 #define        GLOB_QUOTE      0       /* source compatibility */
 
 #define        GLOB_ABEND      GLOB_ABORTED    /* source compatibility */
diff -r 5bb238942219 -r bd63bffa3cc4 include/link_elf.h
--- a/include/link_elf.h        Thu Oct 21 17:45:21 2010 +0000
+++ b/include/link_elf.h        Fri Oct 22 07:11:52 2010 +0000
@@ -1,15 +1,10 @@
-/*     $NetBSD: link_elf.h,v 1.8 2009/11/04 19:28:03 pooka Exp $       */
-
-/*
- * This only exists for GDB.
- */
+/*     $NetBSD: link_elf.h,v 1.8.2.1 2010/10/22 07:11:52 uebayasi Exp $        */
 
 #ifndef _LINK_ELF_H_
 #define        _LINK_ELF_H_
 
 #include <sys/types.h>
-
-#include <machine/elf_machdep.h>
+#include <sys/exec_elf.h>
 
 typedef struct link_map {
        caddr_t          l_addr;        /* Base Address of library */
@@ -22,6 +17,9 @@
        struct link_map *l_prev;
 } Link_map;
 
+/*
+ * This only exists for GDB.
+ */
 struct r_debug {
        int r_version;                  /* not used */
        struct link_map *r_map;         /* list of loaded images */
@@ -33,4 +31,23 @@
        } r_state;
 };
 
+struct dl_phdr_info
+{
+       Elf_Addr dlpi_addr;                     /* module relocation base */
+       const char *dlpi_name;                  /* module name */
+       const Elf_Phdr *dlpi_phdr;              /* pointer to module's phdr */
+       Elf_Half dlpi_phnum;                    /* number of entries in phdr */
+       unsigned long long int dlpi_adds;       /* total # of loads */
+       unsigned long long int dlpi_subs;       /* total # of unloads */
+       size_t dlpi_tls_modid;
+       void *dlpi_tls_data;
+};
+
+__BEGIN_DECLS
+
+int dl_iterate_phdr(int (*)(struct dl_phdr_info *, size_t, void *),
+    void *);
+
+__END_DECLS
+
 #endif /* _LINK_ELF_H_ */
diff -r 5bb238942219 -r bd63bffa3cc4 include/math.h
--- a/include/math.h    Thu Oct 21 17:45:21 2010 +0000
+++ b/include/math.h    Fri Oct 22 07:11:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: math.h,v 1.50.2.2 2010/08/17 06:40:00 uebayasi Exp $   */
+/*     $NetBSD: math.h,v 1.50.2.3 2010/10/22 07:11:52 uebayasi Exp $   */
 
 /*
  * ====================================================
@@ -311,6 +311,7 @@
 
 float  cbrtf(float);
 float  fabsf(float);
+long double    fabsl(long double);
 float  hypotf(float, float);
 float  powf(float, float);
 float  sqrtf(float);
@@ -351,10 +352,13 @@
 /* 7.12.11 manipulation */
 
 float  copysignf(float, float);
+long double    copysignl(long double, long double);
 double nan(const char *);
 float  nanf(const char *);
 long double    nanl(const char *);
 float  nextafterf(float, float);
+long double     nextafterl(long double, long double);
+double nexttoward(double, long double);
 
 /* 7.12.14 comparison */
 
diff -r 5bb238942219 -r bd63bffa3cc4 include/rmt.h
--- a/include/rmt.h     Thu Oct 21 17:45:21 2010 +0000
+++ b/include/rmt.h     Fri Oct 22 07:11:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmt.h,v 1.5 2005/02/03 04:39:32 perry Exp $    */
+/*     $NetBSD: rmt.h,v 1.5.44.1 2010/10/22 07:11:52 uebayasi Exp $    */
 
 /*
  *     rmt.h
@@ -20,6 +20,7 @@
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
+int    isrmt(int);



Home | Main Index | Thread Index | Old Index