diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-06-23 21:55:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-06-23 21:55:26 +0000 |
commit | 478b92f03a640cba69e9508730abc00116c6940c (patch) | |
tree | c95ad2647c7092f437506d94a9c027dab78d00a6 /sysdeps/standalone | |
parent | 36775c3ba3cc21296f7248e761b8678ae0bf2fed (diff) | |
download | glibc-478b92f03a640cba69e9508730abc00116c6940c.zip glibc-478b92f03a640cba69e9508730abc00116c6940c.tar.gz glibc-478b92f03a640cba69e9508730abc00116c6940c.tar.bz2 |
Update.cvs/libc-ud-970623
1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com>
* string/Makefile (headers): Change bytesex.h to bits/endian.h.
* sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
bits/endian.h.
* math/libm-test.c (lgamma_test): Make sure the test of the ilogb
function will not fail because of exceptions.
* math/math.h: Add warning about use of M_* constants.
Pretty print.
1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* hurd/path-lookup.c: Change GPL to LGPL, update and reformat
copyright, remove trailing white spaces and send through unexpand.
* inet/netinet/icmp6.h: Likewise.
* inet/netinet/in.h: Likewise.
* inet/netinet/ip6.h: Likewise.
* locale/programs/xmalloc.c: Likewise.
* locale/programs/xstrdup.c: Likewise.
* sysdeps/generic/make_siglist.c: Likewise.
* sysdeps/generic/morecore.c: Likewise.
* sysdeps/generic/sbrk.c: Likewise.
* sysdeps/generic/signame.c: Likewise.
* sysdeps/generic/signame.h: Likewise.
* sysdeps/generic/netinet/inbits.h: Likewise.
* sysdeps/posix/getpagesize.c: Likewise.
* sysdeps/unix/errnos-tmpl.c: Likewise.
* sysdeps/unix/getpagesize.c: Likewise.
* sysdeps/unix/make_errlist.c: Likewise.
* sysdeps/unix/mkfifo.c: Likewise.
* sysdeps/unix/nlist.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
* munch-tmpl.c: Update and reformat copyright, remove trailing
white spaces and send through unexpand.
* libio/clearerr_u.c: Likewise.
* libio/memstream.c: Likewise.
* libio/putc_u.c: Likewise.
* libio/putchar_u.c: Likewise.
* stdio-common/scanf.c: Likewise.
* stdlib/longlong.h: Likewise.
* sysdeps/alpha/__longjmp.c: Likewise.
* sysdeps/alpha/divrem.h: Likewise.
* sysdeps/alpha/machine-gmon.h: Likewise.
* sysdeps/alpha/setjmp_aux.c: Likewise.
* sysdeps/alpha/bits/setjmp.h: Likewise.
* sysdeps/arm/fpu_control.h: Likewise.
* sysdeps/generic/_strerror.c: Likewise.
* sysdeps/generic/det_endian.c: Likewise.
* sysdeps/generic/fdatasync.c: Likewise.
* sysdeps/generic/fpu_control.c: Likewise.
* sysdeps/generic/ftime.c: Likewise.
* sysdeps/generic/getdomain.c: Likewise.
* sysdeps/generic/group_member.c: Likewise.
* sysdeps/generic/ldiv.c: Likewise.
* sysdeps/generic/lldiv.c: Likewise.
* sysdeps/generic/lxstat.c: Likewise.
* sysdeps/generic/memcmp.c: Likewise.
* sysdeps/generic/memmem.c: Likewise.
* sysdeps/generic/mig-reply.c: Likewise.
* sysdeps/generic/pagecopy.h: Likewise.
* sysdeps/generic/profil-counter.h: Likewise.
* sysdeps/generic/pselect.c: Likewise.
* sysdeps/generic/setfpucw.c: Likewise.
* sysdeps/generic/stpcpy.c: Likewise.
* sysdeps/generic/uname.c: Likewise.
* sysdeps/generic/varargs.h: Likewise.
* sysdeps/generic/vlimit.c: Likewise.
* sysdeps/generic/bits/sigaction.h: Likewise.
* sysdeps/generic/bits/ustat.h: Likewise.
* sysdeps/generic/netinet/if_ether.h: Likewise.
* sysdeps/generic/sys/swap.h: Likewise.
* sysdeps/generic/sys/sysinfo.h: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/i386/ldbl2mpn.c: Likewise.
* sysdeps/i386/memcopy.h: Likewise.
* sysdeps/i386/i586/memcopy.h: Likewise.
* sysdeps/i860/memcopy.h: Likewise.
* sysdeps/m68k/__longjmp.c: Likewise.
* sysdeps/m68k/fpu_control.h: Likewise.
* sysdeps/m68k/memcopy.h: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/s_isnanl.c: Likewise.
* sysdeps/m68k/setjmp.c: Likewise.
* sysdeps/mach/_strerror.c: Likewise.
* sysdeps/mach/getsysstats.c: Likewise.
* sysdeps/mach/mprotect.c: Likewise.
* sysdeps/mach/munmap.c: Likewise.
* sysdeps/mach/pagecopy.h: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mach/sysdep.h: Likewise.
* sysdeps/mach/alpha/machine-lock.h: Likewise.
* sysdeps/mach/alpha/machine-sp.h: Likewise.
* sysdeps/mach/alpha/sysdep.h: Likewise.
* sysdeps/mach/alpha/thread_state.h: Likewise.
* sysdeps/mach/hppa/machine-lock.h: Likewise.
* sysdeps/mach/hurd/access.c: Likewise.
* sysdeps/mach/hurd/closedir.c: Likewise.
* sysdeps/mach/hurd/dirstream.h: Likewise.
* sysdeps/mach/hurd/dl-cache.c: Likewise.
* sysdeps/mach/hurd/euidaccess.c: Likewise.
* sysdeps/mach/hurd/fdatasync.c: Likewise.
* sysdeps/mach/hurd/fexecve.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/fpathconf.c: Likewise.
* sysdeps/mach/hurd/fstatfs.c: Likewise.
* sysdeps/mach/hurd/fxstat.c: Likewise.
* sysdeps/mach/hurd/getcwd.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/mach/hurd/getrlimit.c: Likewise.
* sysdeps/mach/hurd/getsid.c: Likewise.
* sysdeps/mach/hurd/group_member.c: Likewise.
* sysdeps/mach/hurd/kill.c: Likewise.
* sysdeps/mach/hurd/lchown.c: Likewise.
* sysdeps/mach/hurd/lxstat.c: Likewise.
* sysdeps/mach/hurd/mig-reply.c: Likewise.
* sysdeps/mach/hurd/mmap.c: Likewise.
* sysdeps/mach/hurd/opendir.c: Likewise.
* sysdeps/mach/hurd/pathconf.c: Likewise.
* sysdeps/mach/hurd/profil.c: Likewise.
* sysdeps/mach/hurd/ptrace.c: Likewise.
* sysdeps/mach/hurd/readdir.c: Likewise.
* sysdeps/mach/hurd/readdir_r.c: Likewise.
* sysdeps/mach/hurd/send.c: Likewise.
* sysdeps/mach/hurd/sendto.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/statfs.c: Likewise.
* sysdeps/mach/hurd/ttyname.c: Likewise.
* sysdeps/mach/hurd/uname.c: Likewise.
* sysdeps/mach/hurd/xstat.c: Likewise.
* sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
* sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
* sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
* sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
* sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
* sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
* sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
* sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
* sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/sys/param.h: Likewise.
* sysdeps/mach/i386/machine-lock.h: Likewise.
* sysdeps/mach/i386/machine-sp.h: Likewise.
* sysdeps/mach/i386/sysdep.h: Likewise.
* sysdeps/mach/i386/thread_state.h: Likewise.
* sysdeps/posix/dup2.c: Likewise.
* sysdeps/posix/flock.c: Likewise.
* sysdeps/posix/getdtsz.c: Likewise.
* sysdeps/posix/gettimeofday.c: Likewise.
* sysdeps/posix/isatty.c: Likewise.
* sysdeps/posix/killpg.c: Likewise.
* sysdeps/posix/mk-stdiolim.c: Likewise.
* sysdeps/posix/profil.c: Likewise.
* sysdeps/posix/remove.c: Likewise.
* sysdeps/posix/rename.c: Likewise.
* sysdeps/posix/sigsuspend.c: Likewise.
* sysdeps/posix/tempname.c: Likewise.
* sysdeps/posix/truncate.c: Likewise.
* sysdeps/posix/utimes.c: Likewise.
* sysdeps/posix/wait.c: Likewise.
* sysdeps/posix/wait3.c: Likewise.
* sysdeps/rs6000/memcopy.h: Likewise.
* sysdeps/sparc/memcopy.h: Likewise.
* sysdeps/standalone/close.c: Likewise.
* sysdeps/standalone/dirstream.h: Likewise.
* sysdeps/standalone/filedesc.h: Likewise.
* sysdeps/standalone/open.c: Likewise.
* sysdeps/standalone/read.c: Likewise.
* sysdeps/standalone/standalone.h: Likewise.
* sysdeps/standalone/write.c: Likewise.
* sysdeps/standalone/bits/stdio_lim.h: Likewise.
* sysdeps/standalone/i386/i386.h: Likewise.
* sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
* sysdeps/stub/__longjmp.c: Likewise.
* sysdeps/stub/accept.c: Likewise.
* sysdeps/stub/access.c: Likewise.
* sysdeps/stub/acct.c: Likewise.
* sysdeps/stub/adjtime.c: Likewise.
* sysdeps/stub/alarm.c: Likewise.
* sysdeps/stub/bind.c: Likewise.
* sysdeps/stub/brk.c: Likewise.
* sysdeps/stub/bsd-_setjmp.c: Likewise.
* sysdeps/stub/bsd-setjmp.c: Likewise.
* sysdeps/stub/chdir.c: Likewise.
* sysdeps/stub/chflags.c: Likewise.
* sysdeps/stub/chmod.c: Likewise.
* sysdeps/stub/chown.c: Likewise.
* sysdeps/stub/chroot.c: Likewise.
* sysdeps/stub/clock.c: Likewise.
* sysdeps/stub/close.c: Likewise.
* sysdeps/stub/closedir.c: Likewise.
* sysdeps/stub/connect.c: Likewise.
* sysdeps/stub/ctermid.c: Likewise.
* sysdeps/stub/cuserid.c: Likewise.
* sysdeps/stub/dbl2mpn.c: Likewise.
* sysdeps/stub/dirstream.h: Likewise.
* sysdeps/stub/dup.c: Likewise.
* sysdeps/stub/dup2.c: Likewise.
* sysdeps/stub/exc2signal.c: Likewise.
* sysdeps/stub/execve.c: Likewise.
* sysdeps/stub/fchflags.c: Likewise.
* sysdeps/stub/fchown.c: Likewise.
* sysdeps/stub/fcntl.c: Likewise.
* sysdeps/stub/fdopen.c: Likewise.
* sysdeps/stub/fexecve.c: Likewise.
* sysdeps/stub/flock.c: Likewise.
* sysdeps/stub/fork.c: Likewise.
* sysdeps/stub/fpathconf.c: Likewise.
* sysdeps/stub/fpu_control.h: Likewise.
* sysdeps/stub/fstatfs.c: Likewise.
* sysdeps/stub/fsync.c: Likewise.
* sysdeps/stub/ftruncate.c: Likewise.
* sysdeps/stub/fxstat.c: Likewise.
* sysdeps/stub/getcwd.c: Likewise.
* sysdeps/stub/getdomain.c: Likewise.
* sysdeps/stub/getdtsz.c: Likewise.
* sysdeps/stub/getegid.c: Likewise.
* sysdeps/stub/geteuid.c: Likewise.
* sysdeps/stub/getgid.c: Likewise.
* sysdeps/stub/getgroups.c: Likewise.
* sysdeps/stub/gethostid.c: Likewise.
* sysdeps/stub/gethostname.c: Likewise.
* sysdeps/stub/getitimer.c: Likewise.
* sysdeps/stub/getpeername.c: Likewise.
* sysdeps/stub/getpgid.c: Likewise.
* sysdeps/stub/getpid.c: Likewise.
* sysdeps/stub/getppid.c: Likewise.
* sysdeps/stub/getpriority.c: Likewise.
* sysdeps/stub/getrlimit.c: Likewise.
* sysdeps/stub/getrusage.c: Likewise.
* sysdeps/stub/getsid.c: Likewise.
* sysdeps/stub/getsockname.c: Likewise.
* sysdeps/stub/getsockopt.c: Likewise.
* sysdeps/stub/getsysstats.c: Likewise.
* sysdeps/stub/gettimeofday.c: Likewise.
* sysdeps/stub/getuid.c: Likewise.
* sysdeps/stub/gtty.c: Likewise.
* sysdeps/stub/if_index.c: Likewise.
* sysdeps/stub/init-posix.c: Likewise.
* sysdeps/stub/ioctl.c: Likewise.
* sysdeps/stub/isatty.c: Likewise.
* sysdeps/stub/isfdtype.c: Likewise.
* sysdeps/stub/jmp-unwind.c: Likewise.
* sysdeps/stub/kill.c: Likewise.
* sysdeps/stub/killpg.c: Likewise.
* sysdeps/stub/ldbl2mpn.c: Likewise.
* sysdeps/stub/link.c: Likewise.
* sysdeps/stub/listen.c: Likewise.
* sysdeps/stub/lockfile.c: Likewise.
* sysdeps/stub/longjmp-ts.c: Likewise.
* sysdeps/stub/lseek.c: Likewise.
* sysdeps/stub/lxstat.c: Likewise.
* sysdeps/stub/machine-lock.h: Likewise.
* sysdeps/stub/machine-sp.h: Likewise.
* sysdeps/stub/madvise.c: Likewise.
* sysdeps/stub/mkdir.c: Likewise.
* sysdeps/stub/mkfifo.c: Likewise.
* sysdeps/stub/mmap.c: Likewise.
* sysdeps/stub/morecore.c: Likewise.
* sysdeps/stub/mpn2dbl.c: Likewise.
* sysdeps/stub/mpn2flt.c: Likewise.
* sysdeps/stub/mpn2ldbl.c: Likewise.
* sysdeps/stub/mprotect.c: Likewise.
* sysdeps/stub/msgctl.c: Likewise.
* sysdeps/stub/msgget.c: Likewise.
* sysdeps/stub/msgrcv.c: Likewise.
* sysdeps/stub/msgsnd.c: Likewise.
* sysdeps/stub/munmap.c: Likewise.
* sysdeps/stub/nanosleep.c: Likewise.
* sysdeps/stub/nice.c: Likewise.
* sysdeps/stub/nlist.c: Likewise.
* sysdeps/stub/open.c: Likewise.
* sysdeps/stub/opendir.c: Likewise.
* sysdeps/stub/pathconf.c: Likewise.
* sysdeps/stub/pause.c: Likewise.
* sysdeps/stub/pipestream.c: Likewise.
* sysdeps/stub/poll.c: Likewise.
* sysdeps/stub/profil.c: Likewise.
* sysdeps/stub/ptrace.c: Likewise.
* sysdeps/stub/putenv.c: Likewise.
* sysdeps/stub/read.c: Likewise.
* sysdeps/stub/readdir.c: Likewise.
* sysdeps/stub/readdir_r.c: Likewise.
* sysdeps/stub/readlink.c: Likewise.
* sysdeps/stub/reboot.c: Likewise.
* sysdeps/stub/recv.c: Likewise.
* sysdeps/stub/recvfrom.c: Likewise.
* sysdeps/stub/recvmsg.c: Likewise.
* sysdeps/stub/remove.c: Likewise.
* sysdeps/stub/rename.c: Likewise.
* sysdeps/stub/revoke.c: Likewise.
* sysdeps/stub/rewinddir.c: Likewise.
* sysdeps/stub/rmdir.c: Likewise.
* sysdeps/stub/sbrk.c: Likewise.
* sysdeps/stub/sched_getp.c: Likewise.
* sysdeps/stub/sched_gets.c: Likewise.
* sysdeps/stub/sched_primax.c: Likewise.
* sysdeps/stub/sched_primin.c: Likewise.
* sysdeps/stub/sched_rr_gi.c: Likewise.
* sysdeps/stub/sched_setp.c: Likewise.
* sysdeps/stub/sched_sets.c: Likewise.
* sysdeps/stub/sched_yield.c: Likewise.
* sysdeps/stub/seekdir.c: Likewise.
* sysdeps/stub/select.c: Likewise.
* sysdeps/stub/semctl.c: Likewise.
* sysdeps/stub/semget.c: Likewise.
* sysdeps/stub/semop.c: Likewise.
* sysdeps/stub/send.c: Likewise.
* sysdeps/stub/sendmsg.c: Likewise.
* sysdeps/stub/sendto.c: Likewise.
* sysdeps/stub/setdomain.c: Likewise.
* sysdeps/stub/setegid.c: Likewise.
* sysdeps/stub/setenv.c: Likewise.
* sysdeps/stub/seteuid.c: Likewise.
* sysdeps/stub/setgid.c: Likewise.
* sysdeps/stub/setgroups.c: Likewise.
* sysdeps/stub/sethostid.c: Likewise.
* sysdeps/stub/sethostname.c: Likewise.
* sysdeps/stub/setjmp.c: Likewise.
* sysdeps/stub/setlogin.c: Likewise.
* sysdeps/stub/setpgid.c: Likewise.
* sysdeps/stub/setpriority.c: Likewise.
* sysdeps/stub/setregid.c: Likewise.
* sysdeps/stub/setreuid.c: Likewise.
* sysdeps/stub/setrlimit.c: Likewise.
* sysdeps/stub/setsid.c: Likewise.
* sysdeps/stub/setsockopt.c: Likewise.
* sysdeps/stub/settimeofday.c: Likewise.
* sysdeps/stub/setuid.c: Likewise.
* sysdeps/stub/shmctl.c: Likewise.
* sysdeps/stub/shmget.c: Likewise.
* sysdeps/stub/shutdown.c: Likewise.
* sysdeps/stub/sigaction.c: Likewise.
* sysdeps/stub/sigaltstack.c: Likewise.
* sysdeps/stub/sigblock.c: Likewise.
* sysdeps/stub/sigintr.c: Likewise.
* sysdeps/stub/sigpending.c: Likewise.
* sysdeps/stub/sigprocmask.c: Likewise.
* sysdeps/stub/sigreturn.c: Likewise.
* sysdeps/stub/sigsetmask.c: Likewise.
* sysdeps/stub/sigstack.c: Likewise.
* sysdeps/stub/sigsuspend.c: Likewise.
* sysdeps/stub/sigvec.c: Likewise.
* sysdeps/stub/socket.c: Likewise.
* sysdeps/stub/socketpair.c: Likewise.
* sysdeps/stub/sstk.c: Likewise.
* sysdeps/stub/statfs.c: Likewise.
* sysdeps/stub/stdio_init.c: Likewise.
* sysdeps/stub/stime.c: Likewise.
* sysdeps/stub/stty.c: Likewise.
* sysdeps/stub/swapoff.c: Likewise.
* sysdeps/stub/swapon.c: Likewise.
* sysdeps/stub/symlink.c: Likewise.
* sysdeps/stub/sync.c: Likewise.
* sysdeps/stub/syscall.c: Likewise.
* sysdeps/stub/sysd-stdio.c: Likewise.
* sysdeps/stub/system.c: Likewise.
* sysdeps/stub/tcdrain.c: Likewise.
* sysdeps/stub/tcflow.c: Likewise.
* sysdeps/stub/tcflush.c: Likewise.
* sysdeps/stub/tcgetattr.c: Likewise.
* sysdeps/stub/tcgetpgrp.c: Likewise.
* sysdeps/stub/tcsendbrk.c: Likewise.
* sysdeps/stub/tcsetpgrp.c: Likewise.
* sysdeps/stub/telldir.c: Likewise.
* sysdeps/stub/thread_state.h: Likewise.
* sysdeps/stub/time.c: Likewise.
* sysdeps/stub/times.c: Likewise.
* sysdeps/stub/trampoline.c: Likewise.
* sysdeps/stub/truncate.c: Likewise.
* sysdeps/stub/ttyname.c: Likewise.
* sysdeps/stub/ttyname_r.c: Likewise.
* sysdeps/stub/ualarm.c: Likewise.
* sysdeps/stub/ulimit.c: Likewise.
* sysdeps/stub/umask.c: Likewise.
* sysdeps/stub/unlink.c: Likewise.
* sysdeps/stub/usleep.c: Likewise.
* sysdeps/stub/ustat.c: Likewise.
* sysdeps/stub/utime.c: Likewise.
* sysdeps/stub/utimes.c: Likewise.
* sysdeps/stub/vdprintf.c: Likewise.
* sysdeps/stub/vhangup.c: Likewise.
* sysdeps/stub/wait.c: Likewise.
* sysdeps/stub/wait3.c: Likewise.
* sysdeps/stub/wait4.c: Likewise.
* sysdeps/stub/waitpid.c: Likewise.
* sysdeps/stub/write.c: Likewise.
* sysdeps/stub/xmknod.c: Likewise.
* sysdeps/stub/xstat.c: Likewise.
* sysdeps/stub/bits/errno.h: Likewise.
* sysdeps/stub/bits/sigcontext.h: Likewise.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/mk-local_lim.c: Likewise.
* sysdeps/unix/mkdir.c: Likewise.
* sysdeps/unix/nice.c: Likewise.
* sysdeps/unix/rmdir.c: Likewise.
* sysdeps/unix/stime.c: Likewise.
* sysdeps/unix/telldir.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/bsd/ftime.c: Likewise.
* sysdeps/unix/bsd/isatty.c: Likewise.
* sysdeps/unix/bsd/setegid.c: Likewise.
* sysdeps/unix/bsd/seteuid.c: Likewise.
* sysdeps/unix/bsd/setsid.c: Likewise.
* sysdeps/unix/bsd/sigaction.c: Likewise.
* sysdeps/unix/bsd/sigprocmask.c: Likewise.
* sysdeps/unix/bsd/tcgetattr.c: Likewise.
* sysdeps/unix/bsd/tcsetattr.c: Likewise.
* sysdeps/unix/bsd/times.c: Likewise.
* sysdeps/unix/bsd/ulimit.c: Likewise.
* sysdeps/unix/bsd/bits/dirent.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
* sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
* sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
* sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
* sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
* sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
* sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
* sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
* sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
* sysdeps/unix/bsd/vax/sysdep.h: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/common/tcsendbrk.c: Likewise.
* sysdeps/unix/common/bits/dirent.h: Likewise.
* sysdeps/unix/i386/sysdep.h: Likewise.
* sysdeps/unix/mips/sysdep.h: Likewise.
* sysdeps/unix/sysv/setrlimit.c: Likewise.
* sysdeps/unix/sysv/settimeofday.c: Likewise.
* sysdeps/unix/sysv/sigaction.c: Likewise.
* sysdeps/unix/sysv/sysv_termio.h: Likewise.
* sysdeps/unix/sysv/tcdrain.c: Likewise.
* sysdeps/unix/sysv/tcflow.c: Likewise.
* sysdeps/unix/sysv/tcflush.c: Likewise.
* sysdeps/unix/sysv/tcgetattr.c: Likewise.
* sysdeps/unix/sysv/tcsendbrk.c: Likewise.
* sysdeps/unix/sysv/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/bits/dirent.h: Likewise.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
* sysdeps/unix/sysv/linux/adjtime.c: Likewise.
* sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/gethostname.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/reboot.c: Likewise.
* sysdeps/unix/sysv/linux/speed.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
* sysdeps/unix/sysv/linux/ulimit.c: Likewise.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
* sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
* sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
* sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
* sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
* sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
* sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
* sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
* sysdeps/vax/fl.h: Likewise.
* sysdeps/vax/setjmp.c: Likewise.
1997-06-21 16:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
and NaN strings.
1997-06-20 21:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
argument.
(__ilogb): Remove special case for zero, add stupid special case
for NaN.
(__ieee754_scalb): Remove definition.
* sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
* sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
* sysdeps/m68k/fpu/e_scalb.c: Rewritten.
* sysdeps/m68k/fpu/e_scalbf.c: Adapted.
* sysdeps/m68k/fpu/e_scalbl.c: Adapted.
* sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
returning NaN. Handle zero specially.
* sysdeps/libm-ieee754/e_scalbf.c: Likewise.
* sysdeps/libm-ieee754/e_scalbl.c: Likewise.
* math/libm-test.c (ilogb_test): Don't require exceptions for zero
and NaN.
(gamma_test): Use different argument when checking whether
function is implemented.
(scalb_test): Remove duplicate tests.
1997-06-03 15:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (+depfiles): Add dependencies for $(test-srcs).
(distinfo-vars): Add test-srcs.
Diffstat (limited to 'sysdeps/standalone')
-rw-r--r-- | sysdeps/standalone/bits/stdio_lim.h | 35 | ||||
-rw-r--r-- | sysdeps/standalone/close.c | 35 | ||||
-rw-r--r-- | sysdeps/standalone/dirstream.h | 34 | ||||
-rw-r--r-- | sysdeps/standalone/filedesc.h | 37 | ||||
-rw-r--r-- | sysdeps/standalone/i386/i386.h | 167 | ||||
-rw-r--r-- | sysdeps/standalone/m68k/m68020/m68020.h | 69 | ||||
-rw-r--r-- | sysdeps/standalone/open.c | 35 | ||||
-rw-r--r-- | sysdeps/standalone/read.c | 35 | ||||
-rw-r--r-- | sysdeps/standalone/standalone.h | 35 | ||||
-rw-r--r-- | sysdeps/standalone/write.c | 29 |
10 files changed, 251 insertions, 260 deletions
diff --git a/sysdeps/standalone/bits/stdio_lim.h b/sysdeps/standalone/bits/stdio_lim.h index 5552bc4..f5a5034 100644 --- a/sysdeps/standalone/bits/stdio_lim.h +++ b/sysdeps/standalone/bits/stdio_lim.h @@ -1,23 +1,22 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #define L_tmpnam 1 #define TMPMAX 0 diff --git a/sysdeps/standalone/close.c b/sysdeps/standalone/close.c index 2d92937..2e33b3c 100644 --- a/sysdeps/standalone/close.c +++ b/sysdeps/standalone/close.c @@ -1,23 +1,22 @@ -/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include <errno.h> #include <unistd.h> diff --git a/sysdeps/standalone/dirstream.h b/sysdeps/standalone/dirstream.h index 0645132..d7cb9bc 100644 --- a/sysdeps/standalone/dirstream.h +++ b/sysdeps/standalone/dirstream.h @@ -1,20 +1,20 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ +/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef _DIRSTREAM_H diff --git a/sysdeps/standalone/filedesc.h b/sysdeps/standalone/filedesc.h index e4b8d65..a35d1cf 100644 --- a/sysdeps/standalone/filedesc.h +++ b/sysdeps/standalone/filedesc.h @@ -1,23 +1,22 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* * This is the file descriptor used by the no OS implementation @@ -32,7 +31,7 @@ Cambridge, MA 02139, USA. */ #ifndef __DECLARE_FILE_DESCRIPTORS__ #define FILEDESC_EXTERN extern #else -#define FILEDESC_EXTERN +#define FILEDESC_EXTERN #endif typedef struct { diff --git a/sysdeps/standalone/i386/i386.h b/sysdeps/standalone/i386/i386.h index 8302773..20d7f01 100644 --- a/sysdeps/standalone/i386/i386.h +++ b/sysdeps/standalone/i386/i386.h @@ -1,29 +1,28 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* i386.h * - * This file contains macros which are used to access i80386 + * This file contains macros which are used to access i80386 * registers which are not addressable by C. This file contains - * functions which are useful to those developing target + * functions which are useful to those developing target * specific support routines. */ @@ -37,16 +36,16 @@ typedef unsigned int unsigned32; #define disable_intr( isrlevel ) \ { (isrlevel) = 0; \ asm volatile ( "pushf ; \ - pop %0 ; \ - cli " \ - : "=r" ((isrlevel)) : "0" ((isrlevel)) ); \ + pop %0 ; \ + cli " \ + : "=r" ((isrlevel)) : "0" ((isrlevel)) ); \ } #define enable_intr( isrlevel ) \ { asm volatile ( "push %0 ; \ - popf " \ - : "=r" ((isrlevel)) : "0" ((isrlevel)) ); \ + popf " \ + : "=r" ((isrlevel)) : "0" ((isrlevel)) ); \ } #define delay( _microseconds ) \ @@ -56,10 +55,10 @@ typedef unsigned int unsigned32; _counter = (_microseconds); \ \ asm volatile ( "0: nop;" \ - " mov %0,%0 ;" \ - " loop 0" : "=c" (_counter) \ - : "0" (_counter) \ - ); \ + " mov %0,%0 ;" \ + " loop 0" : "=c" (_counter) \ + : "0" (_counter) \ + ); \ \ } @@ -69,7 +68,7 @@ static inline unsigned16 get_cs() { register unsigned16 segment = 0; - asm volatile ( "movw %%cs,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%cs,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -78,7 +77,7 @@ static inline unsigned16 get_ds() { register unsigned16 segment = 0; - asm volatile ( "movw %%ds,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%ds,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -87,7 +86,7 @@ static inline unsigned16 get_es() { register unsigned16 segment = 0; - asm volatile ( "movw %%es,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%es,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -96,7 +95,7 @@ static inline unsigned16 get_ss() { register unsigned16 segment = 0; - asm volatile ( "movw %%ss,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%ss,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -105,7 +104,7 @@ static inline unsigned16 get_fs() { register unsigned16 segment = 0; - asm volatile ( "movw %%fs,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%fs,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -114,7 +113,7 @@ static inline unsigned16 get_gs() { register unsigned16 segment = 0; - asm volatile ( "movw %%gs,%0" : "=r" (segment) : "0" (segment) ); + asm volatile ( "movw %%gs,%0" : "=r" (segment) : "0" (segment) ); return segment; } @@ -126,8 +125,8 @@ static inline unsigned16 get_gs() register unsigned8 __value = _value; \ \ asm volatile ( "outb %0,%1" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ } #define outport_word( _port, _value ) \ @@ -135,8 +134,8 @@ static inline unsigned16 get_gs() register unsigned16 __value = _value; \ \ asm volatile ( "outw %0,%1" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ } #define outport_long( _port, _value ) \ @@ -144,8 +143,8 @@ static inline unsigned16 get_gs() register unsigned32 __value = _value; \ \ asm volatile ( "outl %0,%1" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ } #define inport_byte( _port, _value ) \ @@ -153,8 +152,8 @@ static inline unsigned16 get_gs() register unsigned8 __value = 0; \ \ asm volatile ( "inb %1,%0" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ _value = __value; \ } @@ -163,8 +162,8 @@ static inline unsigned16 get_gs() register unsigned16 __value = 0; \ \ asm volatile ( "inw %1,%0" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ _value = __value; \ } @@ -173,8 +172,8 @@ static inline unsigned16 get_gs() register unsigned32 __value = 0; \ \ asm volatile ( "inl %1,%0" : "=a" (__value), "=d" (__port) \ - : "0" (__value), "1" (__port) \ - ); \ + : "0" (__value), "1" (__port) \ + ); \ _value = __value; \ } @@ -191,7 +190,7 @@ struct GDT_slot { unsigned8 base_24_31; }; -/* See Chapter 9 - Exceptions and Interrupts in i386 manual +/* See Chapter 9 - Exceptions and Interrupts in i386 manual * * NOTE: This is the IDT entry for interrupt gates ONLY. */ @@ -249,12 +248,12 @@ void *Physical_to_logical( register unsigned32 _temporary = 0; \ \ asm volatile( "movl %%gs:(%0),%1 ; \ - movl %1,(%2) ; \ - movl %%gs:4(%0),%1 ; \ - movl %1,4(%2)" \ - : "=r" (_gdt_slot), "=r" (_temporary), "=r" (_slot) \ - : "0" (_gdt_slot), "1" (_temporary), "2" (_slot) \ - ); \ + movl %1,(%2) ; \ + movl %%gs:4(%0),%1 ; \ + movl %1,4(%2)" \ + : "=r" (_gdt_slot), "=r" (_temporary), "=r" (_slot) \ + : "0" (_gdt_slot), "1" (_temporary), "2" (_slot) \ + ); \ } #define set_GDT_slot( _gdtr_base, _segment, _slot_address ) \ @@ -264,63 +263,63 @@ void *Physical_to_logical( register unsigned32 _temporary = 0; \ \ asm volatile( "movl (%2),%1 ; \ - movl %1,%%gs:(%0) ; \ - movl 4(%2),%1 ; \ - movl %1,%%gs:4(%0) \ - " \ - : "=r" (_gdt_slot), "=r" (_temporary), "=r" (_slot) \ - : "0" (_gdt_slot), "1" (_temporary), "2" (_slot) \ - ); \ + movl %1,%%gs:(%0) ; \ + movl 4(%2),%1 ; \ + movl %1,%%gs:4(%0) \ + " \ + : "=r" (_gdt_slot), "=r" (_temporary), "=r" (_slot) \ + : "0" (_gdt_slot), "1" (_temporary), "2" (_slot) \ + ); \ } -static inline void set_segment( - unsigned16 segment, +static inline void set_segment( + unsigned16 segment, unsigned32 base, - unsigned32 limit -) -{ - struct DTR_load_save_format gdtr; + unsigned32 limit +) +{ + struct DTR_load_save_format gdtr; volatile struct GDT_slot Gdt_slot; volatile struct GDT_slot *gdt_slot = &Gdt_slot; unsigned16 tmp_segment = 0; unsigned32 limit_adjusted; - - + + /* load physical address of the GDT */ get_GDTR( &gdtr ); - + gdt_slot->type_dt_dpl_p = 0x92; /* present, dpl=0, */ - /* application=1, */ - /* type=data read/write */ + /* application=1, */ + /* type=data read/write */ gdt_slot->limit_16_19_granularity = 0x40; /* 32 bit segment */ limit_adjusted = limit; if ( limit > 4095 ) { gdt_slot->limit_16_19_granularity |= 0x80; /* set granularity bit */ limit_adjusted /= 4096; - } - + } + gdt_slot->limit_16_19_granularity |= (limit_adjusted >> 16) & 0xff; gdt_slot->limit_0_15 = limit_adjusted & 0xffff; - + gdt_slot->base_0_15 = base & 0xffff; gdt_slot->base_16_23 = (base >> 16) & 0xff; gdt_slot->base_24_31 = (base >> 24); - + set_GDT_slot( gdtr.physical_address, segment, gdt_slot ); /* Now, reload all segment registers so the limit takes effect. */ asm volatile( "movw %%ds,%0 ; movw %0,%%ds - movw %%es,%0 ; movw %0,%%es - movw %%fs,%0 ; movw %0,%%fs - movw %%gs,%0 ; movw %0,%%gs - movw %%ss,%0 ; movw %0,%%ss" - : "=r" (tmp_segment) - : "0" (tmp_segment) - ); - + movw %%es,%0 ; movw %0,%%es + movw %%fs,%0 ; movw %0,%%fs + movw %%gs,%0 ; movw %0,%%gs + movw %%ss,%0 ; movw %0,%%ss" + : "=r" (tmp_segment) + : "0" (tmp_segment) + ); + } #endif diff --git a/sysdeps/standalone/m68k/m68020/m68020.h b/sysdeps/standalone/m68k/m68020/m68020.h index e9e6f7d..8fce423 100644 --- a/sysdeps/standalone/m68k/m68020/m68020.h +++ b/sysdeps/standalone/m68k/m68020/m68020.h @@ -1,27 +1,26 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* m68020.h * - * This file contains macros which are used to access MC68020 + * This file contains macros which are used to access MC68020 * registers which are not addressable by C. These are * useful when developing the board specific support. */ @@ -34,53 +33,53 @@ typedef void ( *mc68020_isr )( void ); #define disable_intr( level ) \ { (level) = 0; \ asm volatile ( "movew %%sr,%0 ; \ - orw #0x0700,%%sr" \ - : "=d" ((level)) : "0" ((level)) ); \ + orw #0x0700,%%sr" \ + : "=d" ((level)) : "0" ((level)) ); \ } #define enable_intr( level ) \ { asm volatile ( "movew %0,%%sr " \ - : "=d" ((level)) : "0" ((level)) ); \ + : "=d" ((level)) : "0" ((level)) ); \ } #define flash_intr( level ) \ { asm volatile ( "movew %0,%%sr ; \ - orw #0x0700,%%sr" \ - : "=d" ((level)) : "0" ((level)) ); \ + orw #0x0700,%%sr" \ + : "=d" ((level)) : "0" ((level)) ); \ } #define get_vbr( vbr ) \ { (vbr) = 0; \ asm volatile ( "movec %%vbr,%0 " \ - : "=a" (vbr) : "0" (vbr) ); \ + : "=a" (vbr) : "0" (vbr) ); \ } #define set_vbr( vbr ) \ { register mc68020_isr *_vbr= (mc68020_isr *)(vbr); \ asm volatile ( "movec %0,%%vbr " \ - : "=a" (_vbr) : "0" (_vbr) ); \ + : "=a" (_vbr) : "0" (_vbr) ); \ } #define enable_caching() \ { register unsigned int _ctl=0x01; \ asm volatile ( "movec %0,%%cacr" \ - : "=d" (_ctl) : "0" (_ctl) ); \ + : "=d" (_ctl) : "0" (_ctl) ); \ } #define delay( microseconds ) \ { register unsigned int _delay=(microseconds); \ register unsigned int _tmp=123; \ asm volatile( "0: \ - nbcd %0 ; \ - nbcd %0 ; \ - dbf %1,0 " \ - : "=d" (_tmp), "=d" (_delay) \ - : "0" (_tmp), "1" (_delay) ); \ + nbcd %0 ; \ + nbcd %0 ; \ + dbf %1,0 " \ + : "=d" (_tmp), "=d" (_delay) \ + : "0" (_tmp), "1" (_delay) ); \ } -#define enable_tracing() -#define cause_intr( X ) -#define clear_intr( X ) +#define enable_tracing() +#define cause_intr( X ) +#define clear_intr( X ) extern mc68020_isr M68Kvec[]; /* vector table address */ diff --git a/sysdeps/standalone/open.c b/sysdeps/standalone/open.c index b61b729..25e2610 100644 --- a/sysdeps/standalone/open.c +++ b/sysdeps/standalone/open.c @@ -1,23 +1,22 @@ -/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include <errno.h> #include <fcntl.h> diff --git a/sysdeps/standalone/read.c b/sysdeps/standalone/read.c index 40322a5..43bc0d6 100644 --- a/sysdeps/standalone/read.c +++ b/sysdeps/standalone/read.c @@ -1,23 +1,22 @@ -/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include <errno.h> #include <unistd.h> diff --git a/sysdeps/standalone/standalone.h b/sysdeps/standalone/standalone.h index 13d58f0..57687da 100644 --- a/sysdeps/standalone/standalone.h +++ b/sysdeps/standalone/standalone.h @@ -1,23 +1,22 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil), On-Line Applications Research Corporation. - -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef _STANDALONE_H #define _STANDALONE_H diff --git a/sysdeps/standalone/write.c b/sysdeps/standalone/write.c index d377dd5..9226bcc 100644 --- a/sysdeps/standalone/write.c +++ b/sysdeps/standalone/write.c @@ -1,23 +1,22 @@ -/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil, On-Line Applications Research Corporation. + This file is part of the GNU C Library. -This file is part of the GNU C Library. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library 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 + Library General Public License for more details. -The GNU C Library 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include <sysdep.h> #include <errno.h> |