summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-07-02 11:21:44 +0200
committerAndreas Schwab <schwab@redhat.com>2010-07-02 11:25:12 +0200
commitce7d1719493b21690826ed0f64ab70b513f145b5 (patch)
tree267a62315efc29d8fca3d539d42674dbd5aa345b
parentFix PLT reference (diff)
parentAdd missing file (diff)
downloadglibc-ce7d1719493b21690826ed0f64ab70b513f145b5.tar.gz
glibc-ce7d1719493b21690826ed0f64ab70b513f145b5.tar.bz2
glibc-ce7d1719493b21690826ed0f64ab70b513f145b5.zip
Merge remote branch 'origin/master' into fedora/master
-rw-r--r--ChangeLog105
-rw-r--r--ChangeLog.1793
-rw-r--r--NEWS8
-rw-r--r--debug/memmove_chk.c6
-rw-r--r--dlfcn/Makefile2
-rw-r--r--elf/Makefile20
-rw-r--r--elf/dl-close.c4
-rw-r--r--nptl/ChangeLog29
-rw-r--r--nptl/Makefile4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S8
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S9
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S9
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S6
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S18
-rw-r--r--nptl/tst-abstime.c65
-rw-r--r--posix/group_member.c9
-rw-r--r--string/memmove.c5
-rw-r--r--sunrpc/auth_des.c51
-rw-r--r--sunrpc/auth_none.c51
-rw-r--r--sunrpc/auth_unix.c51
-rw-r--r--sunrpc/authdes_prot.c51
-rw-r--r--sunrpc/authuxprot.c51
-rw-r--r--sunrpc/bindrsvprt.c51
-rw-r--r--sunrpc/clnt_gen.c51
-rw-r--r--sunrpc/clnt_perr.c59
-rw-r--r--sunrpc/clnt_raw.c58
-rw-r--r--sunrpc/clnt_simp.c60
-rw-r--r--sunrpc/clnt_tcp.c58
-rw-r--r--sunrpc/clnt_udp.c58
-rw-r--r--sunrpc/clnt_unix.c54
-rw-r--r--sunrpc/des_crypt.c56
-rw-r--r--sunrpc/des_soft.c48
-rw-r--r--sunrpc/get_myaddr.c60
-rw-r--r--sunrpc/getrpcport.c56
-rw-r--r--sunrpc/key_call.c51
-rw-r--r--sunrpc/key_prot.c54
-rw-r--r--sunrpc/openchild.c52
-rw-r--r--sunrpc/pm_getmaps.c60
-rw-r--r--sunrpc/pm_getport.c60
-rw-r--r--sunrpc/pmap_clnt.c51
-rw-r--r--sunrpc/pmap_prot.c60
-rw-r--r--sunrpc/pmap_prot2.c60
-rw-r--r--sunrpc/pmap_rmt.c60
-rw-r--r--sunrpc/rpc/auth.h55
-rw-r--r--sunrpc/rpc/auth_unix.h56
-rw-r--r--sunrpc/rpc/clnt.h55
-rw-r--r--sunrpc/rpc/des_crypt.h49
-rw-r--r--sunrpc/rpc/key_prot.h53
-rw-r--r--sunrpc/rpc/netdb.h48
-rw-r--r--sunrpc/rpc/pmap_clnt.h57
-rw-r--r--sunrpc/rpc/pmap_prot.h57
-rw-r--r--sunrpc/rpc/pmap_rmt.h57
-rw-r--r--sunrpc/rpc/rpc.h57
-rw-r--r--sunrpc/rpc/rpc_des.h55
-rw-r--r--sunrpc/rpc/rpc_msg.h58
-rw-r--r--sunrpc/rpc/svc.h54
-rw-r--r--sunrpc/rpc/svc_auth.h56
-rw-r--r--sunrpc/rpc/types.h48
-rw-r--r--sunrpc/rpc/xdr.h54
-rw-r--r--sunrpc/rpc_clntout.c59
-rw-r--r--sunrpc/rpc_cmsg.c59
-rw-r--r--sunrpc/rpc_common.c48
-rw-r--r--sunrpc/rpc_cout.c53
-rw-r--r--sunrpc/rpc_dtable.c51
-rw-r--r--sunrpc/rpc_hout.c53
-rw-r--r--sunrpc/rpc_main.c53
-rw-r--r--sunrpc/rpc_parse.c53
-rw-r--r--sunrpc/rpc_parse.h55
-rw-r--r--sunrpc/rpc_prot.c58
-rw-r--r--sunrpc/rpc_sample.c53
-rw-r--r--sunrpc/rpc_scan.c53
-rw-r--r--sunrpc/rpc_scan.h55
-rw-r--r--sunrpc/rpc_svcout.c53
-rw-r--r--sunrpc/rpc_tblout.c53
-rw-r--r--sunrpc/rpc_util.c53
-rw-r--r--sunrpc/rpc_util.h55
-rw-r--r--sunrpc/rpcinfo.c62
-rw-r--r--sunrpc/rpcsvc/bootparam_prot.x48
-rw-r--r--sunrpc/rpcsvc/key_prot.x55
-rw-r--r--sunrpc/rpcsvc/klm_prot.x54
-rw-r--r--sunrpc/rpcsvc/mount.x48
-rw-r--r--sunrpc/rpcsvc/nfs_prot.x54
-rw-r--r--sunrpc/rpcsvc/rex.x48
-rw-r--r--sunrpc/rpcsvc/rstat.x48
-rw-r--r--sunrpc/rpcsvc/rusers.x49
-rw-r--r--sunrpc/rpcsvc/sm_inter.x58
-rw-r--r--sunrpc/rpcsvc/spray.x48
-rw-r--r--sunrpc/rpcsvc/yppasswd.x48
-rw-r--r--sunrpc/rtime.c55
-rw-r--r--sunrpc/svc.c55
-rw-r--r--sunrpc/svc_auth.c58
-rw-r--r--sunrpc/svc_authux.c56
-rw-r--r--sunrpc/svc_raw.c60
-rw-r--r--sunrpc/svc_run.c49
-rw-r--r--sunrpc/svc_simple.c60
-rw-r--r--sunrpc/svc_tcp.c58
-rw-r--r--sunrpc/svc_udp.c60
-rw-r--r--sunrpc/svc_unix.c54
-rw-r--r--sunrpc/svcauth_des.c52
-rw-r--r--sunrpc/xcrypt.c52
-rw-r--r--sunrpc/xdr.c58
-rw-r--r--sunrpc/xdr_array.c62
-rw-r--r--sunrpc/xdr_float.c58
-rw-r--r--sunrpc/xdr_mem.c55
-rw-r--r--sunrpc/xdr_rec.c56
-rw-r--r--sunrpc/xdr_ref.c62
-rw-r--r--sunrpc/xdr_sizeof.c53
-rw-r--r--sunrpc/xdr_stdio.c54
-rw-r--r--sysdeps/powerpc/powerpc32/970/Implies1
-rw-r--r--sysdeps/powerpc/powerpc32/power5+/Implies3
-rw-r--r--sysdeps/powerpc/powerpc32/power5+/fpu/Implies1
-rw-r--r--sysdeps/powerpc/powerpc32/power5/Implies1
-rw-r--r--sysdeps/powerpc/powerpc32/power5/fpu/Implies1
-rw-r--r--sysdeps/powerpc/powerpc32/power6/Implies2
-rw-r--r--sysdeps/powerpc/powerpc32/power6x/Implies3
-rw-r--r--sysdeps/powerpc/powerpc32/power6x/fpu/Implies3
-rw-r--r--sysdeps/powerpc/powerpc32/power7/Implies2
-rw-r--r--sysdeps/powerpc/powerpc64/970/Implies1
-rw-r--r--sysdeps/powerpc/powerpc64/power5+/Implies3
-rw-r--r--sysdeps/powerpc/powerpc64/power5+/fpu/Implies1
-rw-r--r--sysdeps/powerpc/powerpc64/power5/Implies1
-rw-r--r--sysdeps/powerpc/powerpc64/power5/fpu/Implies1
-rw-r--r--sysdeps/powerpc/powerpc64/power6/Implies1
-rw-r--r--sysdeps/powerpc/powerpc64/power6x/Implies2
-rw-r--r--sysdeps/powerpc/powerpc64/power6x/fpu/Implies3
-rw-r--r--sysdeps/powerpc/powerpc64/power7/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/getlogin.c5
-rw-r--r--sysdeps/unix/sysv/linux/getlogin_r.c32
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies (renamed from sysdeps/powerpc/powerpc32/970/fpu/Implies)1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies (renamed from sysdeps/powerpc/powerpc32/power6/fpu/Implies)2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies (renamed from sysdeps/powerpc/powerpc64/970/fpu/Implies)1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies (renamed from sysdeps/powerpc/powerpc64/power6/fpu/Implies)2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies4
-rw-r--r--sysdeps/x86_64/memcpy.S4
-rw-r--r--sysdeps/x86_64/multiarch/Makefile4
-rw-r--r--sysdeps/x86_64/multiarch/bcopy.S7
-rw-r--r--sysdeps/x86_64/multiarch/init-arch.c9
-rw-r--r--sysdeps/x86_64/multiarch/init-arch.h16
-rw-r--r--sysdeps/x86_64/multiarch/memcpy-ssse3-back.S3169
-rw-r--r--sysdeps/x86_64/multiarch/memcpy-ssse3.S3139
-rw-r--r--sysdeps/x86_64/multiarch/memcpy.S73
-rw-r--r--sysdeps/x86_64/multiarch/memcpy_chk.S47
-rw-r--r--sysdeps/x86_64/multiarch/memmove-ssse3-back.S4
-rw-r--r--sysdeps/x86_64/multiarch/memmove-ssse3.S4
-rw-r--r--sysdeps/x86_64/multiarch/memmove.c24
-rw-r--r--sysdeps/x86_64/multiarch/memmove_chk.c15
-rw-r--r--sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S4
-rw-r--r--sysdeps/x86_64/multiarch/mempcpy-ssse3.S4
-rw-r--r--sysdeps/x86_64/multiarch/mempcpy.S75
-rw-r--r--sysdeps/x86_64/multiarch/mempcpy_chk.S47
-rw-r--r--sysdeps/x86_64/sysdep.h3
178 files changed, 9615 insertions, 2547 deletions
diff --git a/ChangeLog b/ChangeLog
index 87d907aca1..6883239770 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,108 @@
+2010-06-30 Andreas Schwab <schwab@redhat.com>
+
+ * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
+ $(common-objpfx)libc_nonshared.a.
+
+2010-06-21 Luis Machado <luisgpm@br.ibm.com>
+
+ * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
+ * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
+ * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
+ * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
+ * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
+ * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
+ * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
+ * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
+ * sysdeps/powerpc/powerpc32/power7/Implies: New file.
+ * sysdeps/powerpc/powerpc64/power7/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
+
+2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * debug/memmove_chk.c (__memmove_chk): Renamed to ...
+ (MEMMOVE_CHK): ...this. Default to __memmove_chk.
+ * string/memmove.c (memmove): Renamed to ...
+ (MEMMOVE): ...this. Default to memmove.
+ * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
+ * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
+ (END_CHK): Define.
+ * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
+ memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
+ mempcpy-ssse3-back memmove-ssse3-back.
+ * sysdeps/x86_64/multiarch/bcopy.S: New file .
+ * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy.S: New file.
+ * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
+ * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/memmove.c: New file.
+ * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
+ * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy.S: New file.
+ * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
+ * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
+ Define.
+ (index_Fast_Copy_Backward): Define.
+ (HAS_ARCH_FEATURE): Define.
+ (HAS_FAST_REP_STRING): Define.
+ (HAS_FAST_COPY_BACKWARD): Define.
+
+2010-06-21 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ Restore proper fallback handling.
+
+2010-06-19 Ulrich Drepper <drepper@redhat.com>
+
+ [BZ #11701]
+ * posix/group_member.c (__group_member): Correct checking loop.
+
+ * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
+ OOM in getpwuid_r correctly. Return error number when the caller
+ should return, otherwise -1.
+ (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
+ call returning > 0 value.
+ * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
+
2010-07-01 Andreas Schwab <schwab@redhat.com>
* include/sys/resource.h (__getrlimit): Add hidden proto.
diff --git a/ChangeLog.17 b/ChangeLog.17
index c86c8d1505..283a5587bc 100644
--- a/ChangeLog.17
+++ b/ChangeLog.17
@@ -3771,99 +3771,6 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>
2009-05-20 Ulrich Drepper <drepper@redhat.com>
- Sun approved the change of the license.
- * sunrpc/auth_des.c: Replace license text.
- * sunrpc/auth_none.c: Likewise.
- * sunrpc/auth_unix.c: Likewise.
- * sunrpc/authdes_prot.c: Likewise.
- * sunrpc/authuxprot.c: Likewise.
- * sunrpc/bindrsvprt.c: Likewise.
- * sunrpc/clnt_gen.c: Likewise.
- * sunrpc/clnt_perr.c: Likewise.
- * sunrpc/clnt_raw.c: Likewise.
- * sunrpc/clnt_simp.c: Likewise.
- * sunrpc/clnt_tcp.c: Likewise.
- * sunrpc/clnt_udp.c: Likewise.
- * sunrpc/clnt_unix.c: Likewise.
- * sunrpc/des_crypt.c: Likewise.
- * sunrpc/des_soft.c: Likewise.
- * sunrpc/get_myaddr.c: Likewise.
- * sunrpc/getrpcport.c: Likewise.
- * sunrpc/key_call.c: Likewise.
- * sunrpc/key_prot.c: Likewise.
- * sunrpc/openchild.c: Likewise.
- * sunrpc/pm_getmaps.c: Likewise.
- * sunrpc/pm_getport.c: Likewise.
- * sunrpc/pmap_clnt.c: Likewise.
- * sunrpc/pmap_prot.c: Likewise.
- * sunrpc/pmap_prot2.c: Likewise.
- * sunrpc/pmap_rmt.c: Likewise.
- * sunrpc/rpc/auth.h: Likewise.
- * sunrpc/rpc/auth_unix.h: Likewise.
- * sunrpc/rpc/clnt.h: Likewise.
- * sunrpc/rpc/des_crypt.h: Likewise.
- * sunrpc/rpc/key_prot.h: Likewise.
- * sunrpc/rpc/netdb.h: Likewise.
- * sunrpc/rpc/pmap_clnt.h: Likewise.
- * sunrpc/rpc/pmap_prot.h: Likewise.
- * sunrpc/rpc/pmap_rmt.h: Likewise.
- * sunrpc/rpc/rpc.h: Likewise.
- * sunrpc/rpc/rpc_des.h: Likewise.
- * sunrpc/rpc/rpc_msg.h: Likewise.
- * sunrpc/rpc/svc.h: Likewise.
- * sunrpc/rpc/svc_auth.h: Likewise.
- * sunrpc/rpc/types.h: Likewise.
- * sunrpc/rpc/xdr.h: Likewise.
- * sunrpc/rpc_clntout.c: Likewise.
- * sunrpc/rpc_cmsg.c: Likewise.
- * sunrpc/rpc_common.c: Likewise.
- * sunrpc/rpc_cout.c: Likewise.
- * sunrpc/rpc_dtable.c: Likewise.
- * sunrpc/rpc_hout.c: Likewise.
- * sunrpc/rpc_main.c: Likewise.
- * sunrpc/rpc_parse.c: Likewise.
- * sunrpc/rpc_parse.h: Likewise.
- * sunrpc/rpc_prot.c: Likewise.
- * sunrpc/rpc_sample.c: Likewise.
- * sunrpc/rpc_scan.c: Likewise.
- * sunrpc/rpc_scan.h: Likewise.
- * sunrpc/rpc_svcout.c: Likewise.
- * sunrpc/rpc_tblout.c: Likewise.
- * sunrpc/rpc_util.c: Likewise.
- * sunrpc/rpc_util.h: Likewise.
- * sunrpc/rpcinfo.c: Likewise.
- * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
- * sunrpc/rpcsvc/key_prot.x: Likewise.
- * sunrpc/rpcsvc/klm_prot.x: Likewise.
- * sunrpc/rpcsvc/mount.x: Likewise.
- * sunrpc/rpcsvc/nfs_prot.x: Likewise.
- * sunrpc/rpcsvc/rex.x: Likewise.
- * sunrpc/rpcsvc/rstat.x: Likewise.
- * sunrpc/rpcsvc/rusers.x: Likewise.
- * sunrpc/rpcsvc/sm_inter.x: Likewise.
- * sunrpc/rpcsvc/spray.x: Likewise.
- * sunrpc/rpcsvc/yppasswd.x: Likewise.
- * sunrpc/rtime.c: Likewise.
- * sunrpc/svc.c: Likewise.
- * sunrpc/svc_auth.c: Likewise.
- * sunrpc/svc_authux.c: Likewise.
- * sunrpc/svc_raw.c: Likewise.
- * sunrpc/svc_run.c: Likewise.
- * sunrpc/svc_simple.c: Likewise.
- * sunrpc/svc_tcp.c: Likewise.
- * sunrpc/svc_udp.c: Likewise.
- * sunrpc/svc_unix.c: Likewise.
- * sunrpc/svcauth_des.c: Likewise.
- * sunrpc/xcrypt.c: Likewise.
- * sunrpc/xdr.c: Likewise.
- * sunrpc/xdr_array.c: Likewise.
- * sunrpc/xdr_float.c: Likewise.
- * sunrpc/xdr_mem.c: Likewise.
- * sunrpc/xdr_rec.c: Likewise.
- * sunrpc/xdr_ref.c: Likewise.
- * sunrpc/xdr_sizeof.c: Likewise.
- * sunrpc/xdr_stdio.c: Likewise.
-
* po/da.po: Update from translation team.
2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
diff --git a/NEWS b/NEWS
index 4d869d2c81..aafc4b0556 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2010-5-19
+GNU C Library NEWS -- history of user-visible changes. 2010-6-19
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -7,7 +7,11 @@ using `glibc' in the "product" field.
Version 2.13
-* POWER7 optimizations: memset
+* The following bugs are resolved with this release:
+
+ 11640, 11701
+
+* POWER7 optimizations: memset, memcmp, strncmp
Version 2.12
diff --git a/debug/memmove_chk.c b/debug/memmove_chk.c
index f3b74d23d9..6a3e157d8b 100644
--- a/debug/memmove_chk.c
+++ b/debug/memmove_chk.c
@@ -23,8 +23,12 @@
#include <memcopy.h>
#include <pagecopy.h>
+#ifndef MEMMOVE_CHK
+# define MEMMOVE_CHK __memmove_chk
+#endif
+
void *
-__memmove_chk (dest, src, len, destlen)
+MEMMOVE_CHK (dest, src, len, destlen)
void *dest;
const void *src;
size_t len;
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 2631d87a90..578bc3ffe3 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -124,7 +124,7 @@ $(objpfx)bug-atexit1.out: $(objpfx)bug-atexit1-lib.so
$(objpfx)bug-atexit2: $(libdl)
$(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so
-LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh
+LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
$(objpfx)bug-atexit3: $(libdl)
$(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so
diff --git a/elf/Makefile b/elf/Makefile
index 65b6deb22e..4fbe9b5259 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -28,7 +28,7 @@ routines = $(dl-routines) dl-support dl-iteratephdr \
# The core dynamic linking functions are in libc for the static and
# profiled libraries.
dl-routines = $(addprefix dl-,load cache lookup object reloc deps \
- runtime error init fini debug misc \
+ runtime error init fini debug misc \
version profile conflict tls origin scope \
execstack caller open close trampoline)
all-dl-routines = $(dl-routines) $(sysdep-dl-routines)
@@ -226,7 +226,7 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
neededobj5 neededobj6 firstobj globalmod1 \
unload2mod unload2dep ltglobmod1 ltglobmod2 pathoptobj \
dblloadmod1 dblloadmod2 dblloadmod3 reldepmod5 reldepmod6 \
- reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
+ reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
reldep7mod1 reldep7mod2 \
tst-tlsmod1 tst-tlsmod2 tst-tlsmod3 tst-tlsmod4 \
tst-tlsmod5 tst-tlsmod6 tst-tlsmod7 tst-tlsmod8 \
@@ -934,11 +934,11 @@ $(objpfx)tst-dlmodcount: $(libdl)
$(objpfx)tst-dlmodcount.out: $(test-modules)
check-data := $(firstword $(wildcard \
- $(foreach D,$(add-ons) scripts,\
- $(patsubst %,$(..)$D/data/localplt-%.data,\
- $(abi-name) \
- $(addsuffix -$(config-os),\
- $(config-machine) \
+ $(foreach D,$(add-ons) scripts,\
+ $(patsubst %,$(..)$D/data/localplt-%.data,\
+ $(abi-name) \
+ $(addsuffix -$(config-os),\
+ $(config-machine) \
$(base-machine)) \
generic))))
@@ -950,9 +950,9 @@ endif
$(objpfx)check-localplt.out: $(objpfx)check-localplt \
$(common-objpfx)libc.so \
- $(common-objpfx)math/libm.so $(thread-dso) \
- $(common-objpfx)rt/librt.so \
- $(common-objpfx)dlfcn/libdl.so \
+ $(common-objpfx)math/libm.so $(thread-dso) \
+ $(common-objpfx)rt/librt.so \
+ $(common-objpfx)dlfcn/libdl.so \
$(common-objpfx)resolv/libresolv.so \
$(common-objpfx)crypt/libcrypt.so \
$(check-data)
diff --git a/elf/dl-close.c b/elf/dl-close.c
index f47d5f81c5..5b54e9f2f6 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -1,5 +1,5 @@
/* Close a shared object opened by `_dl_open'.
- Copyright (C) 1996-2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1996-2007, 2009, 2010 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
@@ -274,7 +274,7 @@ _dl_close_worker (struct link_map *map)
}
#ifdef SHARED
- /* Auditing checkpoint: we have a new object. */
+ /* Auditing checkpoint: we remove an object. */
if (__builtin_expect (do_audit, 0))
{
struct audit_ifaces *afct = GLRO(dl_audit);
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index bb0008620d..8a1bef16fa 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,13 +1,32 @@
+2010-07-01 Andreas Schwab <schwab@redhat.com>
+ Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile (tests): Add tst-abstime.
+ * tst-abstime.c: New file.
+ * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
+ (__lll_timedlock_wait): Check for timestamp before the Epoch.
+ * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+ (__lll_timedlock_wait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
+ (__lll_robust_timedlock_wait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
+ (__pthread_cond_timedwait): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
+ (pthread_rwlock_timedrdlock): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
+ (pthread_rwlock_timedwrlock): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
+ Likewise.
+
+2010-07-01 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile (tst-_res1): Add tst-_res1mod1 to dependency list.
+
2010-06-01 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Fix incorrect
location of ifndef __ASSUME_FUTEX_CLOCK_REALTIME.
-2010-05-27 Andreas Schwab <schwab@redhat.com>
-
- * Makefile ($(objpfx)tst-_res1): Depend on
- $(objpfx)tst-_res1mod1.so.
-
2010-04-09 Ulrich Drepper <drepper@redhat.com>
[BZ #11390]
diff --git a/nptl/Makefile b/nptl/Makefile
index 6687a13763..5665b90d5e 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -256,6 +256,7 @@ tests = tst-typesizes \
tst-sched1 \
tst-backtrace1 \
tst-oddstacklimit \
+ tst-abstime \
tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
tst-getpid1 tst-getpid2 tst-getpid3 \
tst-initializers1 $(patsubst %,tst-initializers1-%,c89 gnu89 c99 gnu99)
@@ -492,7 +493,8 @@ $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.so
$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
LDFLAGS-tst-_res1mod1.so = -Wl,-soname,tst-_res1mod1.so
LDFLAGS-tst-_res1mod2.so = -Wl,-soname,tst-_res1mod2.so
-$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(objpfx)tst-_res1mod1.so $(shared-thread-library)
+$(objpfx)tst-_res1: $(objpfx)tst-_res1mod1.so $(objpfx)tst-_res1mod2.so \
+ $(shared-thread-library)
else
$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
$(objpfx)tst-cond19: $(common-objpfx)rt/librt.a
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
index 7578c7ece0..2198ccf55a 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2004, 2006, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2004,2006,2007,2009,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -188,6 +188,9 @@ __lll_timedlock_wait:
je .Lreltmo
# endif
+ cmpl $0, (%edx)
+ js 8f
+
movl %ecx, %ebx
movl %esi, %ecx
movl %edx, %esi
@@ -223,6 +226,9 @@ __lll_timedlock_wait:
cfi_restore(%ebp)
ret
+8: movl $ETIMEDOUT, %eax
+ jmp 7b
+
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
/* Check for a valid timeout value. */
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
index 8de9cf461a..3195db259f 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2006, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2006, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -169,9 +169,13 @@ __lll_timedlock_wait:
je .Lreltmo
# endif
+ cmpq $0, (%rdx)
+ js 5f
+
pushq %r9
cfi_adjust_cfa_offset(8)
cfi_rel_offset(%r9, 0)
+
movq %rdx, %r10
movl $0xffffffff, %r9d
LOAD_FUTEX_WAIT_ABS (%esi)
@@ -202,6 +206,9 @@ __lll_timedlock_wait:
cfi_restore(%r9)
retq
+5: movl $ETIMEDOUT, %eax
+ retq
+
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
/* Check for a valid timeout value. */
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
index 02db0a4f9d..5218a4f57a 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
@@ -1,5 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009
- Free Software Foundation, Inc.
+/* Copyright (C) 2002=2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -125,6 +124,9 @@ __lll_robust_timedlock_wait:
je .Lreltmo
# endif
+ cmpq $0, (%rdx)
+ js 7f
+
pushq %r9
cfi_adjust_cfa_offset(8)
cfi_rel_offset(%r9, 0)
@@ -180,6 +182,9 @@ __lll_robust_timedlock_wait:
cfi_adjust_cfa_offset(-8)
cfi_restore(%r9)
+7: movl $ETIMEDOUT, %eax
+ retq
+
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
index be14fc897e..e6535fb9a7 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -144,6 +144,10 @@ __pthread_cond_timedwait:
movq %r9, 24(%rsp)
movl %edx, 4(%rsp)
+ cmpq $0, (%r13)
+ movq $-ETIMEDOUT, %r14
+ js 36f
+
38: movl cond_futex(%rdi), %r12d
/* Unlock. */
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
index 23b218af34..f5d055c77e 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -102,6 +102,9 @@ pthread_rwlock_timedrdlock:
je .Lreltmo
#endif
+ cmpq $0, (%r13)
+ js 16f /* Time is already up. */
+
movl $FUTEX_PRIVATE_FLAG|FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, %esi
xorl PSHARED(%r12), %esi
movq %r13, %r10
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
index cd867b60dc..6ed8b49bd6 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -99,6 +99,9 @@ pthread_rwlock_timedwrlock:
je .Lreltmo
#endif
+ cmpq $0, (%r13)
+ js 16f /* Time is already up. */
+
movl $FUTEX_PRIVATE_FLAG|FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, %esi
xorl PSHARED(%r12), %esi
movq %r13, %r10
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
index 0291beb169..ca49cb89d0 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2003,2005,2007,2009,2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -77,6 +77,9 @@ sem_timedwait:
je .Lreltmo
#endif
+ cmpq $0, (%rsi)
+ js 16f
+
/* This push is only needed to store the sem_t pointer for the
exception handler. */
pushq %rdi
@@ -169,6 +172,19 @@ sem_timedwait:
retq
+16:
+#if USE___THREAD
+ movq errno@gottpoff(%rip), %rdx
+ movl $ETIMEDOUT, %fs:(%rdx)
+#else
+ callq __errno_location@plt
+ movl $ETIMEDOUT, (%rax)
+#endif
+
+ orl $-1, %eax
+
+ retq
+
#ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
pushq %r12
diff --git a/nptl/tst-abstime.c b/nptl/tst-abstime.c
new file mode 100644
index 0000000000..73105f705d
--- /dev/null
+++ b/nptl/tst-abstime.c
@@ -0,0 +1,65 @@
+/* Copyright (C) 2010 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Andreas Schwab <schwab@redhat.com>, 2010.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <assert.h>
+#include <errno.h>
+#include <pthread.h>
+
+pthread_cond_t c = PTHREAD_COND_INITIALIZER;
+pthread_mutex_t m1 = PTHREAD_MUTEX_INITIALIZER;
+pthread_mutex_t m2 = PTHREAD_MUTEX_INITIALIZER;
+pthread_rwlock_t rw1 = PTHREAD_RWLOCK_INITIALIZER;
+pthread_rwlock_t rw2 = PTHREAD_RWLOCK_INITIALIZER;
+
+static void *
+th (void *arg)
+{
+ int r;
+ struct timespec t = { -2, 0 };
+
+ r = pthread_mutex_timedlock (&m1, &t);
+ assert (r == ETIMEDOUT);
+ r = pthread_rwlock_timedrdlock (&rw1, &t);
+ assert (r == ETIMEDOUT);
+ r = pthread_rwlock_timedwrlock (&rw2, &t);
+ assert (r == ETIMEDOUT);
+ return 0;
+}
+
+int
+do_test (void)
+{
+ int r;
+ struct timespec t = { -2, 0 };
+ pthread_t pth;
+
+ pthread_mutex_lock (&m1);
+ pthread_rwlock_wrlock (&rw1);
+ pthread_rwlock_rdlock (&rw2);
+ pthread_mutex_lock (&m2);
+ pthread_create (&pth, 0, th, 0);
+ r = pthread_cond_timedwait (&c, &m2, &t);
+ assert (r == ETIMEDOUT);
+ pthread_join (pth, 0);
+ return 0;
+}
+
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
diff --git a/posix/group_member.c b/posix/group_member.c
index 7bd9c46ba2..892755e95a 100644
--- a/posix/group_member.c
+++ b/posix/group_member.c
@@ -1,5 +1,5 @@
/* `group_member' -- test if process is in a given group.
- Copyright (C) 1995, 1997, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 2002, 2010 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
@@ -39,10 +39,11 @@ __group_member (gid)
groups = __alloca (size * sizeof *groups);
n = __getgroups (size, groups);
size *= 2;
- } while (n == size / 2);
+ }
+ while (n == size / 2);
- while (n >= 0)
- if (groups[n--] == gid)
+ while (n-- > 0)
+ if (groups[n] == gid)
return 1;
return 0;
diff --git a/string/memmove.c b/string/memmove.c
index 16671f7bb5..8e36e7c5a3 100644
--- a/string/memmove.c
+++ b/string/memmove.c
@@ -37,9 +37,12 @@
#define rettype void *
#endif
+#ifndef MEMMOVE
+#define MEMMOVE memmove
+#endif
rettype
-memmove (a1, a2, len)
+MEMMOVE (a1, a2, len)
a1const void *a1;
a2const void *a2;
size_t len;
diff --git a/sunrpc/auth_des.c b/sunrpc/auth_des.c
index acd8eb4e30..a76f0278ce 100644
--- a/sunrpc/auth_des.c
+++ b/sunrpc/auth_des.c
@@ -1,32 +1,33 @@
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
*/
/*
* auth_des.c, client-side implementation of DES authentication
diff --git a/sunrpc/auth_none.c b/sunrpc/auth_none.c
index b78f1e1289..f459520a2c 100644
--- a/sunrpc/auth_none.c
+++ b/sunrpc/auth_none.c
@@ -1,32 +1,33 @@
/*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
/*
* auth_none.c
diff --git a/sunrpc/auth_unix.c b/sunrpc/auth_unix.c
index 3a371c7f4b..734eb088f3 100644
--- a/sunrpc/auth_unix.c
+++ b/sunrpc/auth_unix.c
@@ -1,32 +1,33 @@
/*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
/*
* auth_unix.c, Implements UNIX style authentication parameters.
diff --git a/sunrpc/authdes_prot.c b/sunrpc/authdes_prot.c
index 392e0ffdfe..a8891088d1 100644
--- a/sunrpc/authdes_prot.c
+++ b/sunrpc/authdes_prot.c
@@ -1,32 +1,33 @@
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
*/
/*
* authdes_prot.c, XDR routines for DES authentication
diff --git a/sunrpc/authuxprot.c b/sunrpc/authuxprot.c
index 979cd6836c..60d3ddbbf5 100644
--- a/sunrpc/authuxprot.c
+++ b/sunrpc/authuxprot.c
@@ -1,32 +1,33 @@
/*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
/*
* authunix_prot.c
diff --git a/sunrpc/bindrsvprt.c b/sunrpc/bindrsvprt.c
index 22aaecd1ac..003c3dfd46 100644
--- a/sunrpc/bindrsvprt.c
+++ b/sunrpc/bindrsvprt.c
@@ -1,32 +1,33 @@
/*
- * Copyright (c) 1987 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (c) 1987 by Sun Microsystems, Inc.
*/
#include <errno.h>
diff --git a/sunrpc/clnt_gen.c b/sunrpc/clnt_gen.c
index cbb4dd7754..c7468f4d93 100644
--- a/sunrpc/clnt_gen.c
+++ b/sunrpc/clnt_gen.c
@@ -1,32 +1,33 @@
/*
- * Copyright (C) 1987, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (C) 1987, Sun Microsystems, Inc.
*/
#include <alloca.h>
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c
index 7c860a31a3..c15796fa0e 100644
--- a/sunrpc/clnt_perr.c
+++ b/sunrpc/clnt_perr.c
@@ -1,34 +1,41 @@
+/* @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * clnt_perror.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * clnt_perror.c
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <string.h>
diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c
index d94032df78..74d90c8051 100644
--- a/sunrpc/clnt_raw.c
+++ b/sunrpc/clnt_raw.c
@@ -1,34 +1,40 @@
+/* @(#)clnt_raw.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * clnt_raw.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * clnt_raw.c
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* Memory based rpc for simple testing and timing.
* Interface to create an rpc client and server in the same process.
diff --git a/sunrpc/clnt_simp.c b/sunrpc/clnt_simp.c
index 11cdf8d7e5..631ec8afbc 100644
--- a/sunrpc/clnt_simp.c
+++ b/sunrpc/clnt_simp.c
@@ -1,35 +1,41 @@
+/* @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * clnt_simple.c
- * Simplified front end to rpc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * clnt_simple.c
+ * Simplified front end to rpc.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <alloca.h>
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c
index d26a1268ab..072dcb5c46 100644
--- a/sunrpc/clnt_tcp.c
+++ b/sunrpc/clnt_tcp.c
@@ -1,34 +1,40 @@
+/* @(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * clnt_tcp.c, Implements a TCP/IP based, client side RPC.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * clnt_tcp.c, Implements a TCP/IP based, client side RPC.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* TCP based RPC supports 'batched calls'.
* A sequence of calls may be batched-up in a send buffer. The rpc call
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 360e26a594..d7fea08cda 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -1,34 +1,40 @@
+/* @(#)clnt_udp.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * clnt_udp.c, Implements a UDP/IP based, client side RPC.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * clnt_udp.c, Implements a UDP/IP based, client side RPC.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <stdio.h>
diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c
index bca1273e22..b06355c4cd 100644
--- a/sunrpc/clnt_unix.c
+++ b/sunrpc/clnt_unix.c
@@ -1,34 +1,36 @@
/*
- * clnt_unix.c, Implements a TCP/IP based, client side RPC.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * clnt_unix.c, Implements a TCP/IP based, client side RPC.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* TCP based RPC supports 'batched calls'.
* A sequence of calls may be batched-up in a send buffer. The rpc call
diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c
index b66589bdbb..cd7b2145fb 100644
--- a/sunrpc/des_crypt.c
+++ b/sunrpc/des_crypt.c
@@ -1,33 +1,37 @@
/*
- * des_crypt.c, DES encryption library routines
- * Copyright (C) 1986, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSID)
+static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
+#endif
+/*
+ * des_crypt.c, DES encryption library routines
+ * Copyright (C) 1986, Sun Microsystems, Inc.
*/
#include <sys/types.h>
diff --git a/sunrpc/des_soft.c b/sunrpc/des_soft.c
index 4573d9dda0..521d97c796 100644
--- a/sunrpc/des_soft.c
+++ b/sunrpc/des_soft.c
@@ -2,32 +2,32 @@
static char sccsid[] = "@(#)des_soft.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
#endif
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
#include <rpc/des_crypt.h>
diff --git a/sunrpc/get_myaddr.c b/sunrpc/get_myaddr.c
index 7f200059ca..4449c53c06 100644
--- a/sunrpc/get_myaddr.c
+++ b/sunrpc/get_myaddr.c
@@ -1,35 +1,41 @@
+/* @(#)get_myaddress.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * get_myaddress.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Get client's IP address via ioctl. This avoids using the yellowpages.
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * get_myaddress.c
+ *
+ * Get client's IP address via ioctl. This avoids using the yellowpages.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <rpc/types.h>
diff --git a/sunrpc/getrpcport.c b/sunrpc/getrpcport.c
index 7786701671..a8f1326f08 100644
--- a/sunrpc/getrpcport.c
+++ b/sunrpc/getrpcport.c
@@ -1,32 +1,38 @@
+/* @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
+#endif
/*
- * Copyright (c) 1985 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Copyright (c) 1985 by Sun Microsystems, Inc.
*/
#include <alloca.h>
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 3ad066a0dd..319d8017e8 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -1,32 +1,33 @@
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
*/
/*
* The original source is from the RPCSRC 4.0 package from Sun Microsystems.
diff --git a/sunrpc/key_prot.c b/sunrpc/key_prot.c
index b2eb233846..63d2538957 100644
--- a/sunrpc/key_prot.c
+++ b/sunrpc/key_prot.c
@@ -1,32 +1,36 @@
-/* Copyright (c) 1990, 1991 Sun Microsystems, Inc.
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
+#if 0
+#pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI"
+#endif
+
+/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */
#include "rpc/key_prot.h"
diff --git a/sunrpc/openchild.c b/sunrpc/openchild.c
index defd93a683..29ddfa6b75 100644
--- a/sunrpc/openchild.c
+++ b/sunrpc/openchild.c
@@ -1,32 +1,34 @@
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
*/
/*
diff --git a/sunrpc/pm_getmaps.c b/sunrpc/pm_getmaps.c
index 983b2bae8a..b21e7ea85c 100644
--- a/sunrpc/pm_getmaps.c
+++ b/sunrpc/pm_getmaps.c
@@ -1,36 +1,42 @@
+/* @(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* pmap_getmap.c
* Client interface to pmap rpc service.
* contains pmap_getmaps, which is only tcp service involved
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <rpc/rpc.h>
diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c
index e37f6e73e6..2d309841f3 100644
--- a/sunrpc/pm_getport.c
+++ b/sunrpc/pm_getport.c
@@ -1,35 +1,41 @@
+/* @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * pmap_getport.c
- * Client interface to pmap rpc service.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * pmap_getport.c
+ * Client interface to pmap rpc service.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <stdbool.h>
diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c
index 64a53b67de..3e42960893 100644
--- a/sunrpc/pmap_clnt.c
+++ b/sunrpc/pmap_clnt.c
@@ -1,32 +1,33 @@
/*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
/*
* pmap_clnt.c
diff --git a/sunrpc/pmap_prot.c b/sunrpc/pmap_prot.c
index cc574567e6..3db27a90a4 100644
--- a/sunrpc/pmap_prot.c
+++ b/sunrpc/pmap_prot.c
@@ -1,35 +1,41 @@
+/* @(#)pmap_prot.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * pmap_prot.c
- * Protocol for the local binder service, or pmap.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * pmap_prot.c
+ * Protocol for the local binder service, or pmap.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <rpc/types.h>
diff --git a/sunrpc/pmap_prot2.c b/sunrpc/pmap_prot2.c
index 43e62e35ee..9dd4925a19 100644
--- a/sunrpc/pmap_prot2.c
+++ b/sunrpc/pmap_prot2.c
@@ -1,35 +1,41 @@
+/* @(#)pmap_prot2.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * pmap_prot2.c
- * Protocol for the local binder service, or pmap.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * pmap_prot2.c
+ * Protocol for the local binder service, or pmap.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <rpc/types.h>
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c
index 15a9591199..e068848919 100644
--- a/sunrpc/pmap_rmt.c
+++ b/sunrpc/pmap_rmt.c
@@ -1,36 +1,42 @@
+/* @(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
+#endif
+
/*
* pmap_rmt.c
* Client interface to pmap rpc service.
* remote call and broadcast service
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <unistd.h>
diff --git a/sunrpc/rpc/auth.h b/sunrpc/rpc/auth.h
index 0c2663917b..7c931d8873 100644
--- a/sunrpc/rpc/auth.h
+++ b/sunrpc/rpc/auth.h
@@ -1,34 +1,37 @@
+/* @(#)auth.h 2.3 88/08/07 4.0 RPCSRC; from 1.17 88/02/08 SMI */
/*
- * auth.h, Authentication interface.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * auth.h, Authentication interface.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* The data structures are completely opaque to the client. The client
* is required to pass a AUTH * to routines that create rpc
diff --git a/sunrpc/rpc/auth_unix.h b/sunrpc/rpc/auth_unix.h
index 268c2b59ed..424661d9ce 100644
--- a/sunrpc/rpc/auth_unix.h
+++ b/sunrpc/rpc/auth_unix.h
@@ -1,34 +1,38 @@
+/* @(#)auth_unix.h 2.2 88/07/29 4.0 RPCSRC; from 1.8 88/02/08 SMI */
/*
- * auth_unix.h, Protocol for UNIX style authentication parameters for RPC
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/* @(#)auth_unix.h 1.5 86/07/16 SMI */
+
+/*
+ * auth_unix.h, Protocol for UNIX style authentication parameters for RPC
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
/*
diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h
index 5b03b86c0f..265bbe2528 100644
--- a/sunrpc/rpc/clnt.h
+++ b/sunrpc/rpc/clnt.h
@@ -1,34 +1,37 @@
+/* @(#)clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.31 88/02/08 SMI*/
/*
- * clnt.h - Client side remote procedure call interface.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * clnt.h - Client side remote procedure call interface.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_CLNT_H
diff --git a/sunrpc/rpc/des_crypt.h b/sunrpc/rpc/des_crypt.h
index 6e843985bb..6a65887d3b 100644
--- a/sunrpc/rpc/des_crypt.h
+++ b/sunrpc/rpc/des_crypt.h
@@ -3,33 +3,34 @@
*
* des_crypt.h, des library routine interface
* Copyright (C) 1986, Sun Microsystems, Inc.
+ */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
#ifndef __DES_CRYPT_H__
diff --git a/sunrpc/rpc/key_prot.h b/sunrpc/rpc/key_prot.h
index 16f03ff3c4..629e24991b 100644
--- a/sunrpc/rpc/key_prot.h
+++ b/sunrpc/rpc/key_prot.h
@@ -8,35 +8,38 @@
#include <rpc/rpc.h>
-/* Copyright (c) 1990, 1991 Sun Microsystems, Inc.
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
+#if 0
+#pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI"
+#endif
+/* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */
/*
* Compiled from key_prot.x using rpcgen.
diff --git a/sunrpc/rpc/netdb.h b/sunrpc/rpc/netdb.h
index bcb0de29b1..539d8c3263 100644
--- a/sunrpc/rpc/netdb.h
+++ b/sunrpc/rpc/netdb.h
@@ -1,31 +1,31 @@
/* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/* @(#)rpc.h 1.8 87/07/24 SMI */
diff --git a/sunrpc/rpc/pmap_clnt.h b/sunrpc/rpc/pmap_clnt.h
index 7564f992e8..997dddb323 100644
--- a/sunrpc/rpc/pmap_clnt.h
+++ b/sunrpc/rpc/pmap_clnt.h
@@ -1,35 +1,38 @@
+/* @(#)pmap_clnt.h 2.1 88/07/29 4.0 RPCSRC; from 1.11 88/02/08 SMI */
/*
- * pmap_clnt.h
- * Supplies C routines to get to portmap services.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * pmap_clnt.h
+ * Supplies C routines to get to portmap services.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_PMAP_CLNT_H
diff --git a/sunrpc/rpc/pmap_prot.h b/sunrpc/rpc/pmap_prot.h
index 39d6176e32..cd64e36de5 100644
--- a/sunrpc/rpc/pmap_prot.h
+++ b/sunrpc/rpc/pmap_prot.h
@@ -1,35 +1,38 @@
+/* @(#)pmap_prot.h 2.1 88/07/29 4.0 RPCSRC; from 1.14 88/02/08 SMI */
/*
- * pmap_prot.h
- * Protocol for the local binder service, or pmap.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * pmap_prot.h
+ * Protocol for the local binder service, or pmap.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_PMAP_PROT_H
diff --git a/sunrpc/rpc/pmap_rmt.h b/sunrpc/rpc/pmap_rmt.h
index 4ecb206cba..7a38b5f5f7 100644
--- a/sunrpc/rpc/pmap_rmt.h
+++ b/sunrpc/rpc/pmap_rmt.h
@@ -1,35 +1,38 @@
+/* @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */
/*
- * Structures and XDR routines for parameters to and replies from
- * the portmapper remote-call-service.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1986, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Structures and XDR routines for parameters to and replies from
+ * the portmapper remote-call-service.
+ *
+ * Copyright (C) 1986, Sun Microsystems, Inc.
*/
#ifndef _RPC_PMAP_RMT_H
diff --git a/sunrpc/rpc/rpc.h b/sunrpc/rpc/rpc.h
index 4c16c39727..38e43859dd 100644
--- a/sunrpc/rpc/rpc.h
+++ b/sunrpc/rpc/rpc.h
@@ -1,35 +1,38 @@
+/* @(#)rpc.h 2.3 88/08/10 4.0 RPCSRC; from 1.9 88/02/08 SMI */
/*
- * rpc.h, Just includes the billions of rpc header files necessary to
- * do remote procedure calling.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * rpc.h, Just includes the billions of rpc header files necessary to
+ * do remote procedure calling.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_RPC_H
diff --git a/sunrpc/rpc/rpc_des.h b/sunrpc/rpc/rpc_des.h
index f70db03cec..96e536984d 100644
--- a/sunrpc/rpc/rpc_des.h
+++ b/sunrpc/rpc/rpc_des.h
@@ -1,34 +1,35 @@
/*
- * Generic DES driver interface
- * Keep this file hardware independent!
- * Copyright (c) 1986 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Generic DES driver interface
+ * Keep this file hardware independent!
+ * Copyright (c) 1986 by Sun Microsystems, Inc.
*/
#ifndef _DES_H
diff --git a/sunrpc/rpc/rpc_msg.h b/sunrpc/rpc/rpc_msg.h
index 292cf906f5..636d60ea91 100644
--- a/sunrpc/rpc/rpc_msg.h
+++ b/sunrpc/rpc/rpc_msg.h
@@ -1,36 +1,33 @@
+/* @(#)rpc_msg.h 2.1 88/07/29 4.0 RPCSRC */
/*
- * rpc_msg.h
- * rpc message definition
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
+/* @(#)rpc_msg.h 1.7 86/07/16 SMI */
#ifndef _RPC_MSG_H
#define _RPC_MSG_H 1
@@ -40,6 +37,13 @@
#include <rpc/xdr.h>
#include <rpc/clnt.h>
+/*
+ * rpc_msg.h
+ * rpc message definition
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
+ */
+
#define RPC_MSG_VERSION ((u_long) 2)
#define RPC_SERVICE_PORT ((u_short) 2048)
diff --git a/sunrpc/rpc/svc.h b/sunrpc/rpc/svc.h
index e7b126c1df..f29615d5d0 100644
--- a/sunrpc/rpc/svc.h
+++ b/sunrpc/rpc/svc.h
@@ -1,34 +1,36 @@
/*
- * svc.h, Server-side remote procedure call interface.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * svc.h, Server-side remote procedure call interface.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_SVC_H
diff --git a/sunrpc/rpc/svc_auth.h b/sunrpc/rpc/svc_auth.h
index f72f4f119e..1c1a7156ac 100644
--- a/sunrpc/rpc/svc_auth.h
+++ b/sunrpc/rpc/svc_auth.h
@@ -1,34 +1,38 @@
+/* @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC */
/*
- * svc_auth.h, Service side of rpc authentication.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/* @(#)svc_auth.h 1.6 86/07/16 SMI */
+
+/*
+ * svc_auth.h, Service side of rpc authentication.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_SVC_AUTH_H
diff --git a/sunrpc/rpc/types.h b/sunrpc/rpc/types.h
index 5744e5a4bf..871f3fd6b0 100644
--- a/sunrpc/rpc/types.h
+++ b/sunrpc/rpc/types.h
@@ -1,30 +1,30 @@
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/* fixincludes should not add extern "C" to this file */
/*
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index f5ba7b3897..75bc302980 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -1,34 +1,36 @@
/*
- * xdr.h, External Data Representation Serialization Routines.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * xdr.h, External Data Representation Serialization Routines.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#ifndef _RPC_XDR_H
diff --git a/sunrpc/rpc_clntout.c b/sunrpc/rpc_clntout.c
index 8c0f9cc5df..08d9601212 100644
--- a/sunrpc/rpc_clntout.c
+++ b/sunrpc/rpc_clntout.c
@@ -1,33 +1,40 @@
/*
- * rpc_clntout.c, Client-stub outputter for the RPC protocol compiler
- * Copyright (C) 1987, Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_clntout.c 1.11 89/02/22 (C) 1987 SMI
+ */
+
+/*
+ * rpc_clntout.c, Client-stub outputter for the RPC protocol compiler
+ * Copyright (C) 1987, Sun Microsystems, Inc.
*/
#include <stdio.h>
#include <string.h>
diff --git a/sunrpc/rpc_cmsg.c b/sunrpc/rpc_cmsg.c
index 097490302f..9a7568b55a 100644
--- a/sunrpc/rpc_cmsg.c
+++ b/sunrpc/rpc_cmsg.c
@@ -1,34 +1,41 @@
+/* @(#)rpc_callmsg.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * rpc_callmsg.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * rpc_callmsg.c
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <string.h>
diff --git a/sunrpc/rpc_common.c b/sunrpc/rpc_common.c
index ba89953112..3fb0bda489 100644
--- a/sunrpc/rpc_common.c
+++ b/sunrpc/rpc_common.c
@@ -1,30 +1,30 @@
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
#include <rpc/rpc.h>
diff --git a/sunrpc/rpc_cout.c b/sunrpc/rpc_cout.c
index e0e6535107..21056e84a6 100644
--- a/sunrpc/rpc_cout.c
+++ b/sunrpc/rpc_cout.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_cout.c 1.13 89/02/22 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_cout.c 1.13 89/02/22 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_dtable.c b/sunrpc/rpc_dtable.c
index 9aff675a4d..fbbb3c1d5c 100644
--- a/sunrpc/rpc_dtable.c
+++ b/sunrpc/rpc_dtable.c
@@ -1,32 +1,35 @@
/* @(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
+#endif
#include <unistd.h>
#include <rpc/clnt.h>
diff --git a/sunrpc/rpc_hout.c b/sunrpc/rpc_hout.c
index 346e154219..270d149a6e 100644
--- a/sunrpc/rpc_hout.c
+++ b/sunrpc/rpc_hout.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_hout.c 1.12 89/02/22 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_hout.c 1.12 89/02/22 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index fcb094df9a..8a7d3695e2 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -1,32 +1,35 @@
/*
- * From @(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI;
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From @(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI;
*/
/*
diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c
index 56ec1a48ca..f66538701f 100644
--- a/sunrpc/rpc_parse.c
+++ b/sunrpc/rpc_parse.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_parse.c 1.8 89/02/22 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_parse.h b/sunrpc/rpc_parse.h
index 815c7808c1..8d48c85a07 100644
--- a/sunrpc/rpc_parse.h
+++ b/sunrpc/rpc_parse.h
@@ -1,33 +1,36 @@
-/* @(#)rpc_parse.h 1.3 90/08/29 (C) 1987 SMI */
-
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/* @(#)rpc_parse.h 1.3 90/08/29 (C) 1987 SMI */
+
+/*
* rpc_parse.h, Definitions for the RPCL parser
*/
diff --git a/sunrpc/rpc_prot.c b/sunrpc/rpc_prot.c
index d926083415..69b0b6cd9d 100644
--- a/sunrpc/rpc_prot.c
+++ b/sunrpc/rpc_prot.c
@@ -1,34 +1,40 @@
+/* @(#)rpc_prot.c 2.3 88/08/07 4.0 RPCSRC */
/*
- * rpc_prot.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * rpc_prot.c
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* This set of routines implements the rpc message definition,
* its serializer and some common rpc utility routines.
diff --git a/sunrpc/rpc_sample.c b/sunrpc/rpc_sample.c
index 1f3bfd0cbb..00b58d5bc2 100644
--- a/sunrpc/rpc_sample.c
+++ b/sunrpc/rpc_sample.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_sample.c 1.1 90/08/30 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_scan.c b/sunrpc/rpc_scan.c
index d4f518f6b4..af90ef6973 100644
--- a/sunrpc/rpc_scan.c
+++ b/sunrpc/rpc_scan.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_scan.h b/sunrpc/rpc_scan.h
index 384f807d7a..af02479e79 100644
--- a/sunrpc/rpc_scan.h
+++ b/sunrpc/rpc_scan.h
@@ -1,33 +1,36 @@
-/* @(#)rpc_scan.h 1.3 90/08/29 (C) 1987 SMI */
-
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/* @(#)rpc_scan.h 1.3 90/08/29 (C) 1987 SMI */
+
+/*
* rpc_scan.h, Definitions for the RPCL scanner
*/
diff --git a/sunrpc/rpc_svcout.c b/sunrpc/rpc_svcout.c
index 1887b75e42..6774cc8c0f 100644
--- a/sunrpc/rpc_svcout.c
+++ b/sunrpc/rpc_svcout.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_tblout.c b/sunrpc/rpc_tblout.c
index 2d77c606ca..8fd2b1267d 100644
--- a/sunrpc/rpc_tblout.c
+++ b/sunrpc/rpc_tblout.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI
*/
/*
diff --git a/sunrpc/rpc_util.c b/sunrpc/rpc_util.c
index 6a6c0e42e2..b910401a31 100644
--- a/sunrpc/rpc_util.c
+++ b/sunrpc/rpc_util.c
@@ -1,32 +1,35 @@
/*
- * From: @(#)rpc_util.c 1.11 89/02/22 (C) 1987 SMI
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * From: @(#)rpc_util.c 1.11 89/02/22 (C) 1987 SMI
*/
/*
diff --git a/sunrpc/rpc_util.h b/sunrpc/rpc_util.h
index 72f08eb34f..cb1ceb9921 100644
--- a/sunrpc/rpc_util.h
+++ b/sunrpc/rpc_util.h
@@ -1,33 +1,36 @@
-/* @(#)rpc_util.h 1.5 90/08/29 (C) 1987 SMI */
-
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user or with the express written consent of
+ * Sun Microsystems, Inc.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/* @(#)rpc_util.h 1.5 90/08/29 (C) 1987 SMI */
+
+/*
* rpc_util.h, Useful definitions for the RPC protocol compiler
*/
diff --git a/sunrpc/rpcinfo.c b/sunrpc/rpcinfo.c
index 6020cd5b9d..c049382d26 100644
--- a/sunrpc/rpcinfo.c
+++ b/sunrpc/rpcinfo.c
@@ -1,32 +1,11 @@
+
+/* @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC */
+#if !defined(lint) && defined (SCCSID)
+static char sccsid[] = "@(#)rpcinfo.c 1.22 87/08/12 SMI";
+#endif
+
/*
* Copyright (C) 1986, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
@@ -34,6 +13,35 @@
* or dump the portmapper
*/
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
#include <getopt.h>
#include <string.h>
#include <unistd.h>
diff --git a/sunrpc/rpcsvc/bootparam_prot.x b/sunrpc/rpcsvc/bootparam_prot.x
index f272d52ae5..6f75f18435 100644
--- a/sunrpc/rpcsvc/bootparam_prot.x
+++ b/sunrpc/rpcsvc/bootparam_prot.x
@@ -2,32 +2,32 @@
/* @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rpcsvc/key_prot.x b/sunrpc/rpcsvc/key_prot.x
index 0350250825..f385ed14b3 100644
--- a/sunrpc/rpcsvc/key_prot.x
+++ b/sunrpc/rpcsvc/key_prot.x
@@ -1,34 +1,35 @@
+%/*
+% * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+% * unrestricted use provided that this legend is included on all tape
+% * media and as a part of the software program in whole or part. Users
+% * may copy or modify Sun RPC without charge, but are not authorized
+% * to license or distribute it to anyone else except as part of a product or
+% * program developed by the user.
+% *
+% * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+% * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+% * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+% *
+% * Sun RPC is provided with no support and without any obligation on the
+% * part of Sun Microsystems, Inc. to assist in its use, correction,
+% * modification or enhancement.
+% *
+% * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+% * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+% * OR ANY PART THEREOF.
+% *
+% * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+% * or profits or other special, indirect and consequential damages, even if
+% * Sun has been advised of the possibility of such damages.
+% *
+% * Sun Microsystems, Inc.
+% * 2550 Garcia Avenue
+% * Mountain View, California 94043
+% */
/*
* Key server protocol definition
* Copyright (C) 1990, 1991 Sun Microsystems, Inc.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
* The keyserver is a public key storage/encryption/decryption service
* The encryption method used is based on the Diffie-Hellman exponential
* key exchange technology.
diff --git a/sunrpc/rpcsvc/klm_prot.x b/sunrpc/rpcsvc/klm_prot.x
index 7b4c152f17..9dde81c51f 100644
--- a/sunrpc/rpcsvc/klm_prot.x
+++ b/sunrpc/rpcsvc/klm_prot.x
@@ -2,35 +2,37 @@
/* @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro */
/*
- * Kernel/lock manager protocol definition
- * Copyright (C) 1986 Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Kernel/lock manager protocol definition
+ * Copyright (C) 1986 Sun Microsystems, Inc.
*
* protocol used between the UNIX kernel (the "client") and the
* local lock manager. The local lock manager is a deamon running
diff --git a/sunrpc/rpcsvc/mount.x b/sunrpc/rpcsvc/mount.x
index da61c4eee9..310b4ca542 100644
--- a/sunrpc/rpcsvc/mount.x
+++ b/sunrpc/rpcsvc/mount.x
@@ -2,32 +2,32 @@
/* @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rpcsvc/nfs_prot.x b/sunrpc/rpcsvc/nfs_prot.x
index 2a685402bb..630dab24d1 100644
--- a/sunrpc/rpcsvc/nfs_prot.x
+++ b/sunrpc/rpcsvc/nfs_prot.x
@@ -1,35 +1,37 @@
/* @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC */
/*
- * nfs_prot.x 1.2 87/10/12
- * Copyright 1987 Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * nfs_prot.x 1.2 87/10/12
+ * Copyright 1987 Sun Microsystems, Inc.
*/
const NFS_PORT = 2049;
const NFS_MAXDATA = 8192;
diff --git a/sunrpc/rpcsvc/rex.x b/sunrpc/rpcsvc/rex.x
index 253b8a7a2b..949d9f0747 100644
--- a/sunrpc/rpcsvc/rex.x
+++ b/sunrpc/rpcsvc/rex.x
@@ -2,32 +2,32 @@
/* @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rpcsvc/rstat.x b/sunrpc/rpcsvc/rstat.x
index b2c6b6e185..51f81ee12c 100644
--- a/sunrpc/rpcsvc/rstat.x
+++ b/sunrpc/rpcsvc/rstat.x
@@ -2,32 +2,32 @@
/* @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rpcsvc/rusers.x b/sunrpc/rpcsvc/rusers.x
index bcf5fd2e73..b72c293905 100644
--- a/sunrpc/rpcsvc/rusers.x
+++ b/sunrpc/rpcsvc/rusers.x
@@ -1,31 +1,32 @@
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
+
%/*
% * Find out about remote users
% */
diff --git a/sunrpc/rpcsvc/sm_inter.x b/sunrpc/rpcsvc/sm_inter.x
index 9c20383ca3..9cbb7011a6 100644
--- a/sunrpc/rpcsvc/sm_inter.x
+++ b/sunrpc/rpcsvc/sm_inter.x
@@ -1,33 +1,39 @@
+/* @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC */
+/* @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro */
+
/*
- * Status monitor protocol specification
- * Copyright (C) 1986 Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Status monitor protocol specification
+ * Copyright (C) 1986 Sun Microsystems, Inc.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
diff --git a/sunrpc/rpcsvc/spray.x b/sunrpc/rpcsvc/spray.x
index 2830722aea..943238fdf5 100644
--- a/sunrpc/rpcsvc/spray.x
+++ b/sunrpc/rpcsvc/spray.x
@@ -2,32 +2,32 @@
/* @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rpcsvc/yppasswd.x b/sunrpc/rpcsvc/yppasswd.x
index b8ff7c2759..ab2edbaa9d 100644
--- a/sunrpc/rpcsvc/yppasswd.x
+++ b/sunrpc/rpcsvc/yppasswd.x
@@ -2,32 +2,32 @@
/* @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro */
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
*/
/*
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c
index 790bf4bc8d..ff71a55aeb 100644
--- a/sunrpc/rtime.c
+++ b/sunrpc/rtime.c
@@ -1,32 +1,37 @@
+#if defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 SMI";
+#endif
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
*/
/*
* rtime - get time from remote machine
diff --git a/sunrpc/svc.c b/sunrpc/svc.c
index d389a5285d..60f6fcdd79 100644
--- a/sunrpc/svc.c
+++ b/sunrpc/svc.c
@@ -1,4 +1,32 @@
/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
* svc.c, Server-side remote procedure call interface.
*
* There are two sets of procedures here. The xprt routines are
@@ -6,33 +34,6 @@
* list of service routines.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <errno.h>
diff --git a/sunrpc/svc_auth.c b/sunrpc/svc_auth.c
index 11555c5976..68ed4f100b 100644
--- a/sunrpc/svc_auth.c
+++ b/sunrpc/svc_auth.c
@@ -1,34 +1,40 @@
+/* @(#)svc_auth.c 2.4 88/08/15 4.0 RPCSRC */
/*
- * svc_auth.c, Server-side rpc authenticator interface.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)svc_auth.c 1.19 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * svc_auth.c, Server-side rpc authenticator interface.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <rpc/rpc.h>
diff --git a/sunrpc/svc_authux.c b/sunrpc/svc_authux.c
index 477ff25022..5b64c3d036 100644
--- a/sunrpc/svc_authux.c
+++ b/sunrpc/svc_authux.c
@@ -1,4 +1,33 @@
/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
* svc_auth_unix.c
* Handles UNIX flavor authentication parameters on the service side of rpc.
* There are two svc auth implementations here: AUTH_UNIX and AUTH_SHORT.
@@ -7,33 +36,6 @@
* Note: the shorthand has been gutted for efficiency.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
diff --git a/sunrpc/svc_raw.c b/sunrpc/svc_raw.c
index 924135bb6a..ff8fa7ccd9 100644
--- a/sunrpc/svc_raw.c
+++ b/sunrpc/svc_raw.c
@@ -1,3 +1,36 @@
+/* @(#)svc_raw.c 2.1 88/07/29 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* svc_raw.c, This a toy for simple testing and timing.
* Interface to create an rpc client and server in the same UNIX process.
@@ -5,33 +38,6 @@
* any interference from the kernel.
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <rpc/rpc.h>
diff --git a/sunrpc/svc_run.c b/sunrpc/svc_run.c
index 1bb8c87c0f..f1f47fbf30 100644
--- a/sunrpc/svc_run.c
+++ b/sunrpc/svc_run.c
@@ -1,31 +1,32 @@
/*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
* This is the rpc server side idle loop
* Wait for input, call server program.
*/
diff --git a/sunrpc/svc_simple.c b/sunrpc/svc_simple.c
index 1d6f51588f..6c1c9c914e 100644
--- a/sunrpc/svc_simple.c
+++ b/sunrpc/svc_simple.c
@@ -1,35 +1,41 @@
+/* @(#)svc_simple.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * svc_simple.c
- * Simplified front end to rpc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * svc_simple.c
+ * Simplified front end to rpc.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*/
#include <stdio.h>
diff --git a/sunrpc/svc_tcp.c b/sunrpc/svc_tcp.c
index 2048fdf0e0..beeb10646e 100644
--- a/sunrpc/svc_tcp.c
+++ b/sunrpc/svc_tcp.c
@@ -1,34 +1,40 @@
+/* @(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC */
/*
- * svc_tcp.c, Server side for TCP/IP based RPC.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * svc_tcp.c, Server side for TCP/IP based RPC.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* Actually implements two flavors of transporter -
* a tcp rendezvouser (a listener and connection establisher)
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c
index b9fccab262..496d6d9602 100644
--- a/sunrpc/svc_udp.c
+++ b/sunrpc/svc_udp.c
@@ -1,36 +1,42 @@
+/* @(#)svc_udp.c 2.2 88/07/29 4.0 RPCSRC */
+/*
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
+ *
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
/*
* svc_udp.c,
* Server side for UDP/IP based RPC. (Does some caching in the hopes of
* achieving execute-at-most-once semantics.)
*
* Copyright (C) 1984, Sun Microsystems, Inc.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
diff --git a/sunrpc/svc_unix.c b/sunrpc/svc_unix.c
index f22a23acda..f103ed96f3 100644
--- a/sunrpc/svc_unix.c
+++ b/sunrpc/svc_unix.c
@@ -1,34 +1,36 @@
/*
- * svc_unix.c, Server side for TCP/IP based RPC.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * svc_unix.c, Server side for TCP/IP based RPC.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* Actually implements two flavors of transporter -
* a unix rendezvouser (a listener and connection establisher)
diff --git a/sunrpc/svcauth_des.c b/sunrpc/svcauth_des.c
index 573891e21f..933d001341 100644
--- a/sunrpc/svcauth_des.c
+++ b/sunrpc/svcauth_des.c
@@ -1,33 +1,35 @@
/*
- * Copyright (c) 1988 by Sun Microsystems, Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * Copyright (c) 1988 by Sun Microsystems, Inc.
+ */
+/*
* svcauth_des.c, server-side des authentication
*
* We insure for the service the following:
diff --git a/sunrpc/xcrypt.c b/sunrpc/xcrypt.c
index f430a1dab6..ea8ff45105 100644
--- a/sunrpc/xcrypt.c
+++ b/sunrpc/xcrypt.c
@@ -1,32 +1,34 @@
/*
- * Copyright (c) 1986-1991 by Sun Microsystems Inc.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
+ *
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * Copyright (c) 1986-1991 by Sun Microsystems Inc.
*/
#if 0
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index c5e961f52b..8a70d2e557 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -1,34 +1,40 @@
+/* @(#)xdr.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * xdr.c, Generic XDR routines implementation.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1986, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
+#endif
+
+/*
+ * xdr.c, Generic XDR routines implementation.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1986, Sun Microsystems, Inc.
*
* These are the "generic" xdr routines used to serialize and de-serialize
* most common data items. See xdr.h for more info on the interface to
diff --git a/sunrpc/xdr_array.c b/sunrpc/xdr_array.c
index 02728b08f6..e7c8925f5c 100644
--- a/sunrpc/xdr_array.c
+++ b/sunrpc/xdr_array.c
@@ -1,37 +1,43 @@
+/* @(#)xdr_array.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * xdr_array.c, Generic XDR routines implementation.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * xdr_array.c, Generic XDR routines implementation.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
- * These are the "non-trivial" xdr primitives used to serialize and
- * de-serialize arrays. See xdr.h for more info on the interface to xdr.
+ * These are the "non-trivial" xdr primitives used to serialize and de-serialize
+ * arrays. See xdr.h for more info on the interface to xdr.
*/
#include <stdio.h>
diff --git a/sunrpc/xdr_float.c b/sunrpc/xdr_float.c
index 75dc70ca93..0a7d9707d5 100644
--- a/sunrpc/xdr_float.c
+++ b/sunrpc/xdr_float.c
@@ -1,34 +1,40 @@
+/* @(#)xdr_float.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * xdr_float.c, Generic XDR routines implementation.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
+#endif
+
+/*
+ * xdr_float.c, Generic XDR routines implementation.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* These are the "floating point" xdr routines used to (de)serialize
* most common data items. See xdr.h for more info on the interface to
diff --git a/sunrpc/xdr_mem.c b/sunrpc/xdr_mem.c
index f9a0b1495d..7b1261bbae 100644
--- a/sunrpc/xdr_mem.c
+++ b/sunrpc/xdr_mem.c
@@ -1,38 +1,41 @@
/*
- * xdr_mem.h, XDR implementation using memory buffers.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * xdr_mem.h, XDR implementation using memory buffers.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* If you have some data to be interpreted as external data representation
* or to be converted to external data representation in a memory buffer,
* then this is the package for you.
+ *
*/
#include <string.h>
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index a66462c599..6854034c63 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -1,35 +1,37 @@
/*
- * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking"
- * layer above tcp (for rpc's use).
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking"
+ * layer above tcp (for rpc's use).
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* These routines interface XDRSTREAMS to a tcp/ip connection.
* There is a record marking layer between the xdr stream
diff --git a/sunrpc/xdr_ref.c b/sunrpc/xdr_ref.c
index e2acb84754..532804fadb 100644
--- a/sunrpc/xdr_ref.c
+++ b/sunrpc/xdr_ref.c
@@ -1,37 +1,43 @@
+/* @(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC */
/*
- * xdr_reference.c, Generic XDR routines implementation.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1987, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
+ *
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+#if !defined(lint) && defined(SCCSIDS)
+static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
+#endif
+
+/*
+ * xdr_reference.c, Generic XDR routines implementation.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright (C) 1987, Sun Microsystems, Inc.
*
- * These are the "non-trivial" xdr primitives used to serialize and
- * de-serialize "pointers". See xdr.h for more info on the interface to xdr.
+ * These are the "non-trivial" xdr primitives used to serialize and de-serialize
+ * "pointers". See xdr.h for more info on the interface to xdr.
*/
#include <stdio.h>
diff --git a/sunrpc/xdr_sizeof.c b/sunrpc/xdr_sizeof.c
index d4bada3c4d..dc3e19ebe3 100644
--- a/sunrpc/xdr_sizeof.c
+++ b/sunrpc/xdr_sizeof.c
@@ -1,34 +1,35 @@
/*
- * xdr_sizeof.c
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright 1990 Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
+ *
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+/*
+ * xdr_sizeof.c
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Copyright 1990 Sun Microsystems, Inc.
*
* General purpose routine to see how much space something will use
* when serialized using XDR.
diff --git a/sunrpc/xdr_stdio.c b/sunrpc/xdr_stdio.c
index f58465a186..e73c5a5202 100644
--- a/sunrpc/xdr_stdio.c
+++ b/sunrpc/xdr_stdio.c
@@ -1,34 +1,36 @@
/*
- * xdr_stdio.c, XDR implementation on standard i/o file.
+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
+ * unrestricted use provided that this legend is included on all tape
+ * media and as a part of the software program in whole or part. Users
+ * may copy or modify Sun RPC without charge, but are not authorized
+ * to license or distribute it to anyone else except as part of a product or
+ * program developed by the user.
*
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
+ *
+ * Sun RPC is provided with no support and without any obligation on the
+ * part of Sun Microsystems, Inc. to assist in its use, correction,
+ * modification or enhancement.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
+ * OR ANY PART THEREOF.
*
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * 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.
- * * Neither the name of Sun Microsystems, Inc. nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue
+ * or profits or other special, indirect and consequential damages, even if
+ * Sun has been advised of the possibility of such damages.
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * Sun Microsystems, Inc.
+ * 2550 Garcia Avenue
+ * Mountain View, California 94043
+ */
+
+/*
+ * xdr_stdio.c, XDR implementation on standard i/o file.
+ *
+ * Copyright (C) 1984, Sun Microsystems, Inc.
*
* This set of routines implements a XDR on a stdio stream.
* XDR_ENCODE serializes onto the stream, XDR_DECODE de-serializes
diff --git a/sysdeps/powerpc/powerpc32/970/Implies b/sysdeps/powerpc/powerpc32/970/Implies
index 4e3a983426..17139bf21c 100644
--- a/sysdeps/powerpc/powerpc32/970/Implies
+++ b/sysdeps/powerpc/powerpc32/970/Implies
@@ -1 +1,2 @@
+powerpc/powerpc32/power4/fpu
powerpc/powerpc32/power4
diff --git a/sysdeps/powerpc/powerpc32/power5+/Implies b/sysdeps/powerpc/powerpc32/power5+/Implies
index 4e3a983426..a51d2fdf95 100644
--- a/sysdeps/powerpc/powerpc32/power5+/Implies
+++ b/sysdeps/powerpc/powerpc32/power5+/Implies
@@ -1 +1,2 @@
-powerpc/powerpc32/power4
+powerpc/powerpc32/power5/fpu
+powerpc/powerpc32/power5
diff --git a/sysdeps/powerpc/powerpc32/power5+/fpu/Implies b/sysdeps/powerpc/powerpc32/power5+/fpu/Implies
deleted file mode 100644
index 7c16e45c29..0000000000
--- a/sysdeps/powerpc/powerpc32/power5+/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc32/power4/fpu
diff --git a/sysdeps/powerpc/powerpc32/power5/Implies b/sysdeps/powerpc/powerpc32/power5/Implies
index 4e3a983426..17139bf21c 100644
--- a/sysdeps/powerpc/powerpc32/power5/Implies
+++ b/sysdeps/powerpc/powerpc32/power5/Implies
@@ -1 +1,2 @@
+powerpc/powerpc32/power4/fpu
powerpc/powerpc32/power4
diff --git a/sysdeps/powerpc/powerpc32/power5/fpu/Implies b/sysdeps/powerpc/powerpc32/power5/fpu/Implies
deleted file mode 100644
index 7c16e45c29..0000000000
--- a/sysdeps/powerpc/powerpc32/power5/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc32/power4/fpu
diff --git a/sysdeps/powerpc/powerpc32/power6/Implies b/sysdeps/powerpc/powerpc32/power6/Implies
index c9a2d47f8a..8e5b58a57a 100644
--- a/sysdeps/powerpc/powerpc32/power6/Implies
+++ b/sysdeps/powerpc/powerpc32/power6/Implies
@@ -1,2 +1,2 @@
+powerpc/powerpc32/power5+/fpu
powerpc/powerpc32/power5+
-powerpc/powerpc32/power4
diff --git a/sysdeps/powerpc/powerpc32/power6x/Implies b/sysdeps/powerpc/powerpc32/power6x/Implies
index 1ac063bbc1..c0e1bea435 100644
--- a/sysdeps/powerpc/powerpc32/power6x/Implies
+++ b/sysdeps/powerpc/powerpc32/power6x/Implies
@@ -1,3 +1,2 @@
+powerpc/powerpc32/power6/fpu
powerpc/powerpc32/power6
-powerpc/powerpc32/power5+
-powerpc/powerpc32/power4
diff --git a/sysdeps/powerpc/powerpc32/power6x/fpu/Implies b/sysdeps/powerpc/powerpc32/power6x/fpu/Implies
deleted file mode 100644
index 081f750093..0000000000
--- a/sysdeps/powerpc/powerpc32/power6x/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-powerpc/powerpc32/power6/fpu
-powerpc/powerpc32/power5+/fpu
-powerpc/powerpc32/power4/fpu
diff --git a/sysdeps/powerpc/powerpc32/power7/Implies b/sysdeps/powerpc/powerpc32/power7/Implies
new file mode 100644
index 0000000000..c0e1bea435
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/power7/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power6/fpu
+powerpc/powerpc32/power6
diff --git a/sysdeps/powerpc/powerpc64/970/Implies b/sysdeps/powerpc/powerpc64/970/Implies
index ac431fa96e..bedb20b65c 100644
--- a/sysdeps/powerpc/powerpc64/970/Implies
+++ b/sysdeps/powerpc/powerpc64/970/Implies
@@ -1 +1,2 @@
+powerpc/powerpc64/power4/fpu
powerpc/powerpc64/power4
diff --git a/sysdeps/powerpc/powerpc64/power5+/Implies b/sysdeps/powerpc/powerpc64/power5+/Implies
index ac431fa96e..a01a13ab12 100644
--- a/sysdeps/powerpc/powerpc64/power5+/Implies
+++ b/sysdeps/powerpc/powerpc64/power5+/Implies
@@ -1 +1,2 @@
-powerpc/powerpc64/power4
+powerpc/powerpc64/power5/fpu
+powerpc/powerpc64/power5
diff --git a/sysdeps/powerpc/powerpc64/power5+/fpu/Implies b/sysdeps/powerpc/powerpc64/power5+/fpu/Implies
deleted file mode 100644
index 558a5fb174..0000000000
--- a/sysdeps/powerpc/powerpc64/power5+/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/powerpc/powerpc64/power5/Implies b/sysdeps/powerpc/powerpc64/power5/Implies
index ac431fa96e..bedb20b65c 100644
--- a/sysdeps/powerpc/powerpc64/power5/Implies
+++ b/sysdeps/powerpc/powerpc64/power5/Implies
@@ -1 +1,2 @@
+powerpc/powerpc64/power4/fpu
powerpc/powerpc64/power4
diff --git a/sysdeps/powerpc/powerpc64/power5/fpu/Implies b/sysdeps/powerpc/powerpc64/power5/fpu/Implies
deleted file mode 100644
index 558a5fb174..0000000000
--- a/sysdeps/powerpc/powerpc64/power5/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/powerpc/powerpc64/power6/Implies b/sysdeps/powerpc/powerpc64/power6/Implies
index 0f35f37c77..4c782d4122 100644
--- a/sysdeps/powerpc/powerpc64/power6/Implies
+++ b/sysdeps/powerpc/powerpc64/power6/Implies
@@ -1 +1,2 @@
+powerpc/powerpc64/power5+/fpu
powerpc/powerpc64/power5+
diff --git a/sysdeps/powerpc/powerpc64/power6x/Implies b/sysdeps/powerpc/powerpc64/power6x/Implies
index d993b0cd73..9d68f39d22 100644
--- a/sysdeps/powerpc/powerpc64/power6x/Implies
+++ b/sysdeps/powerpc/powerpc64/power6x/Implies
@@ -1,2 +1,2 @@
+powerpc/powerpc64/power6/fpu
powerpc/powerpc64/power6
-powerpc/powerpc64/power5+
diff --git a/sysdeps/powerpc/powerpc64/power6x/fpu/Implies b/sysdeps/powerpc/powerpc64/power6x/fpu/Implies
deleted file mode 100644
index 84510991b2..0000000000
--- a/sysdeps/powerpc/powerpc64/power6x/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-powerpc/powerpc64/power6/fpu
-powerpc/powerpc64/power5+/fpu
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/powerpc/powerpc64/power7/Implies b/sysdeps/powerpc/powerpc64/power7/Implies
new file mode 100644
index 0000000000..9d68f39d22
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power7/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power6/fpu
+powerpc/powerpc64/power6
diff --git a/sysdeps/unix/sysv/linux/getlogin.c b/sysdeps/unix/sysv/linux/getlogin.c
index 4d15db093d..58e37c4ab4 100644
--- a/sysdeps/unix/sysv/linux/getlogin.c
+++ b/sysdeps/unix/sysv/linux/getlogin.c
@@ -32,8 +32,9 @@
char *
getlogin (void)
{
- if (__getlogin_r_loginuid (name, sizeof (name)) == 0)
- return name;
+ int res = __getlogin_r_loginuid (name, sizeof (name));
+ if (res >= 0)
+ return res == 0 ? name : NULL;
return getlogin_fd0 ();
}
diff --git a/sysdeps/unix/sysv/linux/getlogin_r.c b/sysdeps/unix/sysv/linux/getlogin_r.c
index dad2671e80..7d4d6c0ed5 100644
--- a/sysdeps/unix/sysv/linux/getlogin_r.c
+++ b/sysdeps/unix/sysv/linux/getlogin_r.c
@@ -27,6 +27,10 @@ static int getlogin_r_fd0 (char *name, size_t namesize);
#undef getlogin_r
+/* Try to determine login name from /proc/self/loginuid and return 0
+ if successful. If /proc/self/loginuid cannot be read return -1.
+ Otherwise return the error number. */
+
int
attribute_hidden
__getlogin_r_loginuid (name, namesize)
@@ -35,7 +39,7 @@ __getlogin_r_loginuid (name, namesize)
{
int fd = open_not_cancel_2 ("/proc/self/loginuid", O_RDONLY);
if (fd == -1)
- return 1;
+ return -1;
/* We are reading a 32-bit number. 12 bytes are enough for the text
representation. If not, something is wrong. */
@@ -51,37 +55,38 @@ __getlogin_r_loginuid (name, namesize)
|| (uidbuf[n] = '\0',
uid = strtoul (uidbuf, &endp, 10),
endp == uidbuf || *endp != '\0'))
- return 1;
+ return -1;
size_t buflen = 1024;
char *buf = alloca (buflen);
bool use_malloc = false;
struct passwd pwd;
struct passwd *tpwd;
+ int result = 0;
int res;
- while ((res = __getpwuid_r (uid, &pwd, buf, buflen, &tpwd)) != 0)
+ while ((res = __getpwuid_r (uid, &pwd, buf, buflen, &tpwd)) == ERANGE)
if (__libc_use_alloca (2 * buflen))
- extend_alloca (buf, buflen, 2 * buflen);
+ buf = extend_alloca (buf, buflen, 2 * buflen);
else
{
buflen *= 2;
char *newp = realloc (use_malloc ? buf : NULL, buflen);
if (newp == NULL)
{
- fail:
- if (use_malloc)
- free (buf);
- return 1;
+ result = ENOMEM;
+ goto out;
}
buf = newp;
use_malloc = true;
}
- if (tpwd == NULL)
- goto fail;
+ if (res != 0)
+ {
+ result = -1;
+ goto out;
+ }
- int result = 0;
size_t needed = strlen (pwd.pw_name) + 1;
if (needed > namesize)
{
@@ -109,8 +114,9 @@ getlogin_r (name, namesize)
char *name;
size_t namesize;
{
- if (__getlogin_r_loginuid (name, namesize) == 0)
- return 0;
+ int res = __getlogin_r_loginuid (name, namesize);
+ if (res >= 0)
+ return res;
return getlogin_r_fd0 (name, namesize);
}
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies
new file mode 100644
index 0000000000..0c018834af
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/970/fpu
+powerpc/powerpc32/970
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies
deleted file mode 100644
index 52993ae71b..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/970/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies
new file mode 100644
index 0000000000..29c49a4c24
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/cell/fpu
+powerpc/powerpc32/cell
diff --git a/sysdeps/powerpc/powerpc32/970/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies
index 7c16e45c29..17139bf21c 100644
--- a/sysdeps/powerpc/powerpc32/970/fpu/Implies
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies
@@ -1 +1,2 @@
powerpc/powerpc32/power4/fpu
+powerpc/powerpc32/power4
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies
deleted file mode 100644
index 3c0690e2fe..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power4/fpu
diff --git a/sysdeps/powerpc/powerpc32/power6/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies
index 57b92fb13e..8e5b58a57a 100644
--- a/sysdeps/powerpc/powerpc32/power6/fpu/Implies
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies
@@ -1,2 +1,2 @@
powerpc/powerpc32/power5+/fpu
-powerpc/powerpc32/power4/fpu
+powerpc/powerpc32/power5+
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies
deleted file mode 100644
index 37d43bb6fc..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power5+/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies
new file mode 100644
index 0000000000..a51d2fdf95
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power5/fpu
+powerpc/powerpc32/power5
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies
deleted file mode 100644
index d379a2dd12..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power5/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies
new file mode 100644
index 0000000000..c0e1bea435
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power6/fpu
+powerpc/powerpc32/power6
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies
deleted file mode 100644
index 9fb457db93..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power6/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies
new file mode 100644
index 0000000000..bc9e74fcff
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power6x/fpu
+powerpc/powerpc32/power6x
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies
deleted file mode 100644
index ffca13c0ef..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies
+++ /dev/null
@@ -1,4 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power6x/fpu
-powerpc/powerpc32/power6/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies
new file mode 100644
index 0000000000..083f3e950a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power7/fpu
+powerpc/powerpc32/power7
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies
deleted file mode 100644
index af946119aa..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies
+++ /dev/null
@@ -1,4 +0,0 @@
-# Make sure this comes before the powerpc/powerpc32/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc32/fpu/Implies.
-powerpc/powerpc32/power7/fpu
-powerpc/powerpc32/power5/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies
new file mode 100644
index 0000000000..76a32ce7b5
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/970/fpu
+powerpc/powerpc64/970
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies
deleted file mode 100644
index 558a5fb174..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies
new file mode 100644
index 0000000000..583d4084a4
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/cell/fpu
+powerpc/powerpc64/cell
diff --git a/sysdeps/powerpc/powerpc64/970/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies
index 558a5fb174..bedb20b65c 100644
--- a/sysdeps/powerpc/powerpc64/970/fpu/Implies
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies
@@ -1 +1,2 @@
powerpc/powerpc64/power4/fpu
+powerpc/powerpc64/power4
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies
deleted file mode 100644
index 558a5fb174..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/powerpc/powerpc64/power6/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies
index 885e39c003..4c782d4122 100644
--- a/sysdeps/powerpc/powerpc64/power6/fpu/Implies
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies
@@ -1,2 +1,2 @@
powerpc/powerpc64/power5+/fpu
-powerpc/powerpc64/power4/fpu
+powerpc/powerpc64/power5+
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies
deleted file mode 100644
index cf5913dec3..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc64/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc64/fpu/Implies.
-powerpc/powerpc64/power5+/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies
new file mode 100644
index 0000000000..a01a13ab12
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power5/fpu
+powerpc/powerpc64/power5
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies
deleted file mode 100644
index 558a5fb174..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies
+++ /dev/null
@@ -1 +0,0 @@
-powerpc/powerpc64/power4/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies
new file mode 100644
index 0000000000..9d68f39d22
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power6/fpu
+powerpc/powerpc64/power6
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies
deleted file mode 100644
index 9451147267..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure this comes before the powerpc/powerpc64/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc64/fpu/Implies.
-powerpc/powerpc64/power6/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies
new file mode 100644
index 0000000000..9019778254
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power6x/fpu
+powerpc/powerpc64/power6x
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies
deleted file mode 100644
index fd74b8341c..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies
+++ /dev/null
@@ -1,4 +0,0 @@
-# Make sure this comes before the powerpc/powerpc64/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc64/fpu/Implies.
-powerpc/powerpc64/power6x/fpu
-powerpc/powerpc64/power6/fpu
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies
new file mode 100644
index 0000000000..9a5e3c7277
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power7/fpu
+powerpc/powerpc64/power7
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies
deleted file mode 100644
index ca112208d1..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies
+++ /dev/null
@@ -1,4 +0,0 @@
-# Make sure this comes before the powerpc/powerpc64/fpu that's
-# listed in unix/sysv/linux/powerpc/powerpc64/fpu/Implies.
-powerpc/powerpc64/power7/fpu
-powerpc/powerpc64/power5/fpu
diff --git a/sysdeps/x86_64/memcpy.S b/sysdeps/x86_64/memcpy.S
index b25646b8c5..b4545ac9f7 100644
--- a/sysdeps/x86_64/memcpy.S
+++ b/sysdeps/x86_64/memcpy.S
@@ -40,12 +40,12 @@
.text
#if defined PIC && !defined NOT_IN_libc
-ENTRY (__memcpy_chk)
+ENTRY_CHK (__memcpy_chk)
cmpq %rdx, %rcx
jb HIDDEN_JUMPTARGET (__chk_fail)
-END (__memcpy_chk)
+END_CHK (__memcpy_chk)
#endif
ENTRY(memcpy) /* (void *, const void*, size_t) */
diff --git a/sysdeps/x86_64/multiarch/Makefile b/sysdeps/x86_64/multiarch/Makefile
index c61cf70345..0ca914a377 100644
--- a/sysdeps/x86_64/multiarch/Makefile
+++ b/sysdeps/x86_64/multiarch/Makefile
@@ -5,7 +5,9 @@ endif
ifeq ($(subdir),string)
sysdep_routines += stpncpy-c strncpy-c strcmp-ssse3 strncmp-ssse3 \
- strend-sse4 memcmp-sse4
+ strend-sse4 memcmp-sse4 memcpy-ssse3 mempcpy-ssse3 \
+ memmove-ssse3 memcpy-ssse3-back mempcpy-ssse3-back \
+ memmove-ssse3-back
ifeq (yes,$(config-cflags-sse4))
sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
CFLAGS-strcspn-c.c += -msse4
diff --git a/sysdeps/x86_64/multiarch/bcopy.S b/sysdeps/x86_64/multiarch/bcopy.S
new file mode 100644
index 0000000000..11e250f1cb
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/bcopy.S
@@ -0,0 +1,7 @@
+#include <sysdep.h>
+
+ .text
+ENTRY(bcopy)
+ xchg %rdi, %rsi
+ jmp HIDDEN_BUILTIN_JUMPTARGET(memmove)
+END(bcopy)
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c
index f13a9f4b79..55c9f54f96 100644
--- a/sysdeps/x86_64/multiarch/init-arch.c
+++ b/sysdeps/x86_64/multiarch/init-arch.c
@@ -78,10 +78,13 @@ __init_cpu_features (void)
case 0x25:
case 0x2e:
case 0x2f:
- /* Rep string instructions are fast on Intel Core i3, i5
- and i7. */
+ /* Rep string instructions and copy backward are fast on
+ Intel Core i3, i5 and i7. */
+#if index_Fast_Rep_String != index_Fast_Copy_Backward
+# error index_Fast_Rep_String != index_Fast_Copy_Backward
+#endif
__cpu_features.feature[index_Fast_Rep_String]
- |= bit_Fast_Rep_String;
+ |= bit_Fast_Rep_String | bit_Fast_Copy_Backward;
break;
}
}
diff --git a/sysdeps/x86_64/multiarch/init-arch.h b/sysdeps/x86_64/multiarch/init-arch.h
index b2f2de3796..4a211c0864 100644
--- a/sysdeps/x86_64/multiarch/init-arch.h
+++ b/sysdeps/x86_64/multiarch/init-arch.h
@@ -17,6 +17,7 @@
02111-1307 USA. */
#define bit_Fast_Rep_String (1 << 0)
+#define bit_Fast_Copy_Backward (1 << 1)
#ifdef __ASSEMBLER__
@@ -32,7 +33,8 @@
# define index_SSE4_1 COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET
# define index_SSE4_2 COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET
-#define index_Fast_Rep_String FEATURE_INDEX_1*FEATURE_SIZE
+# define index_Fast_Rep_String FEATURE_INDEX_1*FEATURE_SIZE
+# define index_Fast_Copy_Backward FEATURE_INDEX_1*FEATURE_SIZE
#else /* __ASSEMBLER__ */
@@ -102,6 +104,16 @@ extern const struct cpu_features *__get_cpu_features (void)
# define HAS_SSE4_2 HAS_CPU_FEATURE (COMMON_CPUID_INDEX_1, ecx, 20)
# define HAS_FMA HAS_CPU_FEATURE (COMMON_CPUID_INDEX_1, ecx, 12)
-# define index_Fast_Rep_String FEATURE_INDEX_1
+# define index_Fast_Rep_String FEATURE_INDEX_1
+# define index_Fast_Copy_Backward FEATURE_INDEX_1
+
+#define HAS_ARCH_FEATURE(idx, bit) \
+ ((__get_cpu_features ()->feature[idx] & (bit)) != 0)
+
+#define HAS_FAST_REP_STRING \
+ HAS_ARCH_FEATURE (index_Fast_Rep_String, bit_Fast_Rep_String)
+
+#define HAS_FAST_COPY_BACKWARD \
+ HAS_ARCH_FEATURE (index_Fast_Copy_Backward, bit_Fast_Copy_Backward)
#endif /* __ASSEMBLER__ */
diff --git a/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
new file mode 100644
index 0000000000..48c974e97f
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
@@ -0,0 +1,3169 @@
+/* memcpy with SSSE3 and REP string
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+
+#if !defined NOT_IN_libc \
+ && (defined SHARED \
+ || defined USE_AS_MEMMOVE \
+ || !defined USE_MULTIARCH)
+
+#include "asm-syntax.h"
+
+#ifndef MEMCPY
+# define MEMCPY __memcpy_ssse3_back
+# define MEMCPY_CHK __memcpy_chk_ssse3_back
+#endif
+
+#ifndef ALIGN
+# define ALIGN(n) .p2align n
+#endif
+
+#define JMPTBL(I, B) I - B
+
+/* Branch to an entry in a jump table. TABLE is a jump table with
+ relative offsets. INDEX is a register contains the index into the
+ jump table. SCALE is the scale of INDEX. */
+#define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \
+ lea TABLE(%rip), %r11; \
+ movslq (%r11, INDEX, SCALE), INDEX; \
+ lea (%r11, INDEX), INDEX; \
+ jmp *INDEX; \
+ ud2
+
+ .section .text.ssse3,"ax",@progbits
+#if defined SHARED && !defined NOT_IN_libc
+ENTRY (MEMCPY_CHK)
+ cmpq %rdx, %rcx
+ jb HIDDEN_JUMPTARGET (__chk_fail)
+END (MEMCPY_CHK)
+#endif
+
+ENTRY (MEMCPY)
+ mov %rdi, %rax
+#ifdef USE_AS_MEMPCPY
+ add %rdx, %rax
+#endif
+
+#ifdef USE_AS_MEMMOVE
+ cmp %rsi, %rdi
+ jb L(copy_forward)
+ je L(bwd_write_0bytes)
+ cmp $144, %rdx
+ jae L(copy_backward)
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+L(copy_forward):
+#endif
+ cmp $144, %rdx
+ jae L(144bytesormore)
+
+L(fwd_write_less32bytes):
+#ifndef USE_AS_MEMMOVE
+ cmp %dil, %sil
+ jbe L(bk_write)
+#endif
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+#ifndef USE_AS_MEMMOVE
+L(bk_write):
+
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+#endif
+
+ ALIGN (4)
+L(144bytesormore):
+
+#ifndef USE_AS_MEMMOVE
+ cmp %dil, %sil
+ jle L(copy_backward)
+#endif
+ movdqu (%rsi), %xmm0
+ mov %rdi, %r8
+ and $-16, %rdi
+ add $16, %rdi
+ mov %rdi, %r9
+ sub %r8, %r9
+ sub %r9, %rdx
+ add %r9, %rsi
+ mov %rsi, %r9
+ and $0xf, %r9
+ jz L(shl_0)
+#ifdef DATA_CACHE_SIZE
+ mov $DATA_CACHE_SIZE, %rcx
+#else
+ mov __x86_64_data_cache_size(%rip), %rcx
+#endif
+ cmp %rcx, %rdx
+ jae L(gobble_mem_fwd)
+ lea L(shl_table_fwd)(%rip), %r11
+ sub $0x80, %rdx
+ movslq (%r11, %r9, 4), %r9
+ add %r11, %r9
+ jmp *%r9
+ ud2
+
+ ALIGN (4)
+L(copy_backward):
+#ifdef DATA_CACHE_SIZE
+ mov $DATA_CACHE_SIZE, %rcx
+#else
+ mov __x86_64_data_cache_size(%rip), %rcx
+#endif
+ shl $1, %rcx
+ cmp %rcx, %rdx
+ ja L(gobble_mem_bwd)
+
+ add %rdx, %rdi
+ add %rdx, %rsi
+ movdqu -16(%rsi), %xmm0
+ lea -16(%rdi), %r8
+ mov %rdi, %r9
+ and $0xf, %r9
+ xor %r9, %rdi
+ sub %r9, %rsi
+ sub %r9, %rdx
+ mov %rsi, %r9
+ and $0xf, %r9
+ jz L(shl_0_bwd)
+ lea L(shl_table_bwd)(%rip), %r11
+ sub $0x80, %rdx
+ movslq (%r11, %r9, 4), %r9
+ add %r11, %r9
+ jmp *%r9
+ ud2
+
+ ALIGN (4)
+L(shl_0):
+
+ mov %rdx, %r9
+ shr $8, %r9
+ add %rdx, %r9
+#ifdef DATA_CACHE_SIZE
+ cmp $DATA_CACHE_SIZE_HALF, %r9
+#else
+ cmp __x86_64_data_cache_size_half(%rip), %r9
+#endif
+ jae L(gobble_mem_fwd)
+ sub $0x80, %rdx
+ ALIGN (4)
+L(shl_0_loop):
+ movdqa (%rsi), %xmm1
+ movdqa %xmm1, (%rdi)
+ movaps 0x10(%rsi), %xmm2
+ movaps %xmm2, 0x10(%rdi)
+ movaps 0x20(%rsi), %xmm3
+ movaps %xmm3, 0x20(%rdi)
+ movaps 0x30(%rsi), %xmm4
+ movaps %xmm4, 0x30(%rdi)
+ movaps 0x40(%rsi), %xmm1
+ movaps %xmm1, 0x40(%rdi)
+ movaps 0x50(%rsi), %xmm2
+ movaps %xmm2, 0x50(%rdi)
+ movaps 0x60(%rsi), %xmm3
+ movaps %xmm3, 0x60(%rdi)
+ movaps 0x70(%rsi), %xmm4
+ movaps %xmm4, 0x70(%rdi)
+ sub $0x80, %rdx
+ lea 0x80(%rsi), %rsi
+ lea 0x80(%rdi), %rdi
+ jae L(shl_0_loop)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_bwd):
+ sub $0x80, %rdx
+L(copy_backward_loop):
+ movaps -0x10(%rsi), %xmm1
+ movaps %xmm1, -0x10(%rdi)
+ movaps -0x20(%rsi), %xmm2
+ movaps %xmm2, -0x20(%rdi)
+ movaps -0x30(%rsi), %xmm3
+ movaps %xmm3, -0x30(%rdi)
+ movaps -0x40(%rsi), %xmm4
+ movaps %xmm4, -0x40(%rdi)
+ movaps -0x50(%rsi), %xmm5
+ movaps %xmm5, -0x50(%rdi)
+ movaps -0x60(%rsi), %xmm5
+ movaps %xmm5, -0x60(%rdi)
+ movaps -0x70(%rsi), %xmm5
+ movaps %xmm5, -0x70(%rdi)
+ movaps -0x80(%rsi), %xmm5
+ movaps %xmm5, -0x80(%rdi)
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(copy_backward_loop)
+
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_1):
+ sub $0x80, %rdx
+ movaps -0x01(%rsi), %xmm1
+ movaps 0x0f(%rsi), %xmm2
+ movaps 0x1f(%rsi), %xmm3
+ movaps 0x2f(%rsi), %xmm4
+ movaps 0x3f(%rsi), %xmm5
+ movaps 0x4f(%rsi), %xmm6
+ movaps 0x5f(%rsi), %xmm7
+ movaps 0x6f(%rsi), %xmm8
+ movaps 0x7f(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $1, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $1, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $1, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $1, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $1, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $1, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $1, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $1, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_1)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_1_bwd):
+ movaps -0x01(%rsi), %xmm1
+
+ movaps -0x11(%rsi), %xmm2
+ palignr $1, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x21(%rsi), %xmm3
+ palignr $1, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x31(%rsi), %xmm4
+ palignr $1, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x41(%rsi), %xmm5
+ palignr $1, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x51(%rsi), %xmm6
+ palignr $1, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x61(%rsi), %xmm7
+ palignr $1, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x71(%rsi), %xmm8
+ palignr $1, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x81(%rsi), %xmm9
+ palignr $1, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_1_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_2):
+ sub $0x80, %rdx
+ movaps -0x02(%rsi), %xmm1
+ movaps 0x0e(%rsi), %xmm2
+ movaps 0x1e(%rsi), %xmm3
+ movaps 0x2e(%rsi), %xmm4
+ movaps 0x3e(%rsi), %xmm5
+ movaps 0x4e(%rsi), %xmm6
+ movaps 0x5e(%rsi), %xmm7
+ movaps 0x6e(%rsi), %xmm8
+ movaps 0x7e(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $2, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $2, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $2, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $2, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $2, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $2, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $2, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $2, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_2)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_2_bwd):
+ movaps -0x02(%rsi), %xmm1
+
+ movaps -0x12(%rsi), %xmm2
+ palignr $2, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x22(%rsi), %xmm3
+ palignr $2, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x32(%rsi), %xmm4
+ palignr $2, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x42(%rsi), %xmm5
+ palignr $2, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x52(%rsi), %xmm6
+ palignr $2, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x62(%rsi), %xmm7
+ palignr $2, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x72(%rsi), %xmm8
+ palignr $2, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x82(%rsi), %xmm9
+ palignr $2, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_2_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_3):
+ sub $0x80, %rdx
+ movaps -0x03(%rsi), %xmm1
+ movaps 0x0d(%rsi), %xmm2
+ movaps 0x1d(%rsi), %xmm3
+ movaps 0x2d(%rsi), %xmm4
+ movaps 0x3d(%rsi), %xmm5
+ movaps 0x4d(%rsi), %xmm6
+ movaps 0x5d(%rsi), %xmm7
+ movaps 0x6d(%rsi), %xmm8
+ movaps 0x7d(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $3, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $3, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $3, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $3, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $3, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $3, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $3, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $3, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_3)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_3_bwd):
+ movaps -0x03(%rsi), %xmm1
+
+ movaps -0x13(%rsi), %xmm2
+ palignr $3, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x23(%rsi), %xmm3
+ palignr $3, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x33(%rsi), %xmm4
+ palignr $3, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x43(%rsi), %xmm5
+ palignr $3, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x53(%rsi), %xmm6
+ palignr $3, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x63(%rsi), %xmm7
+ palignr $3, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x73(%rsi), %xmm8
+ palignr $3, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x83(%rsi), %xmm9
+ palignr $3, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_3_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_4):
+ sub $0x80, %rdx
+ movaps -0x04(%rsi), %xmm1
+ movaps 0x0c(%rsi), %xmm2
+ movaps 0x1c(%rsi), %xmm3
+ movaps 0x2c(%rsi), %xmm4
+ movaps 0x3c(%rsi), %xmm5
+ movaps 0x4c(%rsi), %xmm6
+ movaps 0x5c(%rsi), %xmm7
+ movaps 0x6c(%rsi), %xmm8
+ movaps 0x7c(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $4, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $4, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $4, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $4, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $4, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $4, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $4, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $4, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_4)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_4_bwd):
+ movaps -0x04(%rsi), %xmm1
+
+ movaps -0x14(%rsi), %xmm2
+ palignr $4, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x24(%rsi), %xmm3
+ palignr $4, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x34(%rsi), %xmm4
+ palignr $4, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x44(%rsi), %xmm5
+ palignr $4, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x54(%rsi), %xmm6
+ palignr $4, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x64(%rsi), %xmm7
+ palignr $4, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x74(%rsi), %xmm8
+ palignr $4, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x84(%rsi), %xmm9
+ palignr $4, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_4_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_5):
+ sub $0x80, %rdx
+ movaps -0x05(%rsi), %xmm1
+ movaps 0x0b(%rsi), %xmm2
+ movaps 0x1b(%rsi), %xmm3
+ movaps 0x2b(%rsi), %xmm4
+ movaps 0x3b(%rsi), %xmm5
+ movaps 0x4b(%rsi), %xmm6
+ movaps 0x5b(%rsi), %xmm7
+ movaps 0x6b(%rsi), %xmm8
+ movaps 0x7b(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $5, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $5, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $5, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $5, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $5, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $5, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $5, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $5, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_5)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_5_bwd):
+ movaps -0x05(%rsi), %xmm1
+
+ movaps -0x15(%rsi), %xmm2
+ palignr $5, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x25(%rsi), %xmm3
+ palignr $5, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x35(%rsi), %xmm4
+ palignr $5, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x45(%rsi), %xmm5
+ palignr $5, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x55(%rsi), %xmm6
+ palignr $5, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x65(%rsi), %xmm7
+ palignr $5, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x75(%rsi), %xmm8
+ palignr $5, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x85(%rsi), %xmm9
+ palignr $5, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_5_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_6):
+ sub $0x80, %rdx
+ movaps -0x06(%rsi), %xmm1
+ movaps 0x0a(%rsi), %xmm2
+ movaps 0x1a(%rsi), %xmm3
+ movaps 0x2a(%rsi), %xmm4
+ movaps 0x3a(%rsi), %xmm5
+ movaps 0x4a(%rsi), %xmm6
+ movaps 0x5a(%rsi), %xmm7
+ movaps 0x6a(%rsi), %xmm8
+ movaps 0x7a(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $6, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $6, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $6, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $6, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $6, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $6, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $6, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $6, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_6)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_6_bwd):
+ movaps -0x06(%rsi), %xmm1
+
+ movaps -0x16(%rsi), %xmm2
+ palignr $6, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x26(%rsi), %xmm3
+ palignr $6, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x36(%rsi), %xmm4
+ palignr $6, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x46(%rsi), %xmm5
+ palignr $6, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x56(%rsi), %xmm6
+ palignr $6, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x66(%rsi), %xmm7
+ palignr $6, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x76(%rsi), %xmm8
+ palignr $6, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x86(%rsi), %xmm9
+ palignr $6, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_6_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_7):
+ sub $0x80, %rdx
+ movaps -0x07(%rsi), %xmm1
+ movaps 0x09(%rsi), %xmm2
+ movaps 0x19(%rsi), %xmm3
+ movaps 0x29(%rsi), %xmm4
+ movaps 0x39(%rsi), %xmm5
+ movaps 0x49(%rsi), %xmm6
+ movaps 0x59(%rsi), %xmm7
+ movaps 0x69(%rsi), %xmm8
+ movaps 0x79(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $7, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $7, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $7, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $7, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $7, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $7, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $7, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $7, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_7)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_7_bwd):
+ movaps -0x07(%rsi), %xmm1
+
+ movaps -0x17(%rsi), %xmm2
+ palignr $7, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x27(%rsi), %xmm3
+ palignr $7, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x37(%rsi), %xmm4
+ palignr $7, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x47(%rsi), %xmm5
+ palignr $7, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x57(%rsi), %xmm6
+ palignr $7, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x67(%rsi), %xmm7
+ palignr $7, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x77(%rsi), %xmm8
+ palignr $7, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x87(%rsi), %xmm9
+ palignr $7, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_7_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_8):
+ sub $0x80, %rdx
+ movaps -0x08(%rsi), %xmm1
+ movaps 0x08(%rsi), %xmm2
+ movaps 0x18(%rsi), %xmm3
+ movaps 0x28(%rsi), %xmm4
+ movaps 0x38(%rsi), %xmm5
+ movaps 0x48(%rsi), %xmm6
+ movaps 0x58(%rsi), %xmm7
+ movaps 0x68(%rsi), %xmm8
+ movaps 0x78(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $8, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $8, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $8, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $8, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $8, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $8, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $8, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $8, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_8)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_8_bwd):
+ movaps -0x08(%rsi), %xmm1
+
+ movaps -0x18(%rsi), %xmm2
+ palignr $8, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x28(%rsi), %xmm3
+ palignr $8, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x38(%rsi), %xmm4
+ palignr $8, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x48(%rsi), %xmm5
+ palignr $8, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x58(%rsi), %xmm6
+ palignr $8, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x68(%rsi), %xmm7
+ palignr $8, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x78(%rsi), %xmm8
+ palignr $8, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x88(%rsi), %xmm9
+ palignr $8, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_8_bwd)
+L(shl_8_end_bwd):
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_9):
+ sub $0x80, %rdx
+ movaps -0x09(%rsi), %xmm1
+ movaps 0x07(%rsi), %xmm2
+ movaps 0x17(%rsi), %xmm3
+ movaps 0x27(%rsi), %xmm4
+ movaps 0x37(%rsi), %xmm5
+ movaps 0x47(%rsi), %xmm6
+ movaps 0x57(%rsi), %xmm7
+ movaps 0x67(%rsi), %xmm8
+ movaps 0x77(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $9, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $9, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $9, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $9, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $9, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $9, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $9, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $9, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_9)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_9_bwd):
+ movaps -0x09(%rsi), %xmm1
+
+ movaps -0x19(%rsi), %xmm2
+ palignr $9, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x29(%rsi), %xmm3
+ palignr $9, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x39(%rsi), %xmm4
+ palignr $9, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x49(%rsi), %xmm5
+ palignr $9, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x59(%rsi), %xmm6
+ palignr $9, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x69(%rsi), %xmm7
+ palignr $9, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x79(%rsi), %xmm8
+ palignr $9, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x89(%rsi), %xmm9
+ palignr $9, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_9_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_10):
+ sub $0x80, %rdx
+ movaps -0x0a(%rsi), %xmm1
+ movaps 0x06(%rsi), %xmm2
+ movaps 0x16(%rsi), %xmm3
+ movaps 0x26(%rsi), %xmm4
+ movaps 0x36(%rsi), %xmm5
+ movaps 0x46(%rsi), %xmm6
+ movaps 0x56(%rsi), %xmm7
+ movaps 0x66(%rsi), %xmm8
+ movaps 0x76(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $10, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $10, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $10, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $10, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $10, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $10, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $10, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $10, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_10)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_10_bwd):
+ movaps -0x0a(%rsi), %xmm1
+
+ movaps -0x1a(%rsi), %xmm2
+ palignr $10, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2a(%rsi), %xmm3
+ palignr $10, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3a(%rsi), %xmm4
+ palignr $10, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4a(%rsi), %xmm5
+ palignr $10, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5a(%rsi), %xmm6
+ palignr $10, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6a(%rsi), %xmm7
+ palignr $10, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7a(%rsi), %xmm8
+ palignr $10, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8a(%rsi), %xmm9
+ palignr $10, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_10_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_11):
+ sub $0x80, %rdx
+ movaps -0x0b(%rsi), %xmm1
+ movaps 0x05(%rsi), %xmm2
+ movaps 0x15(%rsi), %xmm3
+ movaps 0x25(%rsi), %xmm4
+ movaps 0x35(%rsi), %xmm5
+ movaps 0x45(%rsi), %xmm6
+ movaps 0x55(%rsi), %xmm7
+ movaps 0x65(%rsi), %xmm8
+ movaps 0x75(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $11, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $11, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $11, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $11, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $11, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $11, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $11, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $11, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_11)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_11_bwd):
+ movaps -0x0b(%rsi), %xmm1
+
+ movaps -0x1b(%rsi), %xmm2
+ palignr $11, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2b(%rsi), %xmm3
+ palignr $11, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3b(%rsi), %xmm4
+ palignr $11, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4b(%rsi), %xmm5
+ palignr $11, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5b(%rsi), %xmm6
+ palignr $11, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6b(%rsi), %xmm7
+ palignr $11, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7b(%rsi), %xmm8
+ palignr $11, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8b(%rsi), %xmm9
+ palignr $11, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_11_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_12):
+ sub $0x80, %rdx
+ movdqa -0x0c(%rsi), %xmm1
+ movaps 0x04(%rsi), %xmm2
+ movaps 0x14(%rsi), %xmm3
+ movaps 0x24(%rsi), %xmm4
+ movaps 0x34(%rsi), %xmm5
+ movaps 0x44(%rsi), %xmm6
+ movaps 0x54(%rsi), %xmm7
+ movaps 0x64(%rsi), %xmm8
+ movaps 0x74(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $12, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $12, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $12, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $12, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $12, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $12, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $12, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $12, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+
+ lea 0x80(%rdi), %rdi
+ jae L(shl_12)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_12_bwd):
+ movaps -0x0c(%rsi), %xmm1
+
+ movaps -0x1c(%rsi), %xmm2
+ palignr $12, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2c(%rsi), %xmm3
+ palignr $12, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3c(%rsi), %xmm4
+ palignr $12, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4c(%rsi), %xmm5
+ palignr $12, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5c(%rsi), %xmm6
+ palignr $12, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6c(%rsi), %xmm7
+ palignr $12, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7c(%rsi), %xmm8
+ palignr $12, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8c(%rsi), %xmm9
+ palignr $12, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_12_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_13):
+ sub $0x80, %rdx
+ movaps -0x0d(%rsi), %xmm1
+ movaps 0x03(%rsi), %xmm2
+ movaps 0x13(%rsi), %xmm3
+ movaps 0x23(%rsi), %xmm4
+ movaps 0x33(%rsi), %xmm5
+ movaps 0x43(%rsi), %xmm6
+ movaps 0x53(%rsi), %xmm7
+ movaps 0x63(%rsi), %xmm8
+ movaps 0x73(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $13, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $13, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $13, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $13, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $13, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $13, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $13, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $13, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_13)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_13_bwd):
+ movaps -0x0d(%rsi), %xmm1
+
+ movaps -0x1d(%rsi), %xmm2
+ palignr $13, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2d(%rsi), %xmm3
+ palignr $13, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3d(%rsi), %xmm4
+ palignr $13, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4d(%rsi), %xmm5
+ palignr $13, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5d(%rsi), %xmm6
+ palignr $13, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6d(%rsi), %xmm7
+ palignr $13, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7d(%rsi), %xmm8
+ palignr $13, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8d(%rsi), %xmm9
+ palignr $13, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_13_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_14):
+ sub $0x80, %rdx
+ movaps -0x0e(%rsi), %xmm1
+ movaps 0x02(%rsi), %xmm2
+ movaps 0x12(%rsi), %xmm3
+ movaps 0x22(%rsi), %xmm4
+ movaps 0x32(%rsi), %xmm5
+ movaps 0x42(%rsi), %xmm6
+ movaps 0x52(%rsi), %xmm7
+ movaps 0x62(%rsi), %xmm8
+ movaps 0x72(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $14, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $14, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $14, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $14, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $14, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $14, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $14, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $14, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_14)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_14_bwd):
+ movaps -0x0e(%rsi), %xmm1
+
+ movaps -0x1e(%rsi), %xmm2
+ palignr $14, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2e(%rsi), %xmm3
+ palignr $14, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3e(%rsi), %xmm4
+ palignr $14, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4e(%rsi), %xmm5
+ palignr $14, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5e(%rsi), %xmm6
+ palignr $14, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6e(%rsi), %xmm7
+ palignr $14, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7e(%rsi), %xmm8
+ palignr $14, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8e(%rsi), %xmm9
+ palignr $14, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_14_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_15):
+ sub $0x80, %rdx
+ movaps -0x0f(%rsi), %xmm1
+ movaps 0x01(%rsi), %xmm2
+ movaps 0x11(%rsi), %xmm3
+ movaps 0x21(%rsi), %xmm4
+ movaps 0x31(%rsi), %xmm5
+ movaps 0x41(%rsi), %xmm6
+ movaps 0x51(%rsi), %xmm7
+ movaps 0x61(%rsi), %xmm8
+ movaps 0x71(%rsi), %xmm9
+ lea 0x80(%rsi), %rsi
+ palignr $15, %xmm8, %xmm9
+ movaps %xmm9, 0x70(%rdi)
+ palignr $15, %xmm7, %xmm8
+ movaps %xmm8, 0x60(%rdi)
+ palignr $15, %xmm6, %xmm7
+ movaps %xmm7, 0x50(%rdi)
+ palignr $15, %xmm5, %xmm6
+ movaps %xmm6, 0x40(%rdi)
+ palignr $15, %xmm4, %xmm5
+ movaps %xmm5, 0x30(%rdi)
+ palignr $15, %xmm3, %xmm4
+ movaps %xmm4, 0x20(%rdi)
+ palignr $15, %xmm2, %xmm3
+ movaps %xmm3, 0x10(%rdi)
+ palignr $15, %xmm1, %xmm2
+ movaps %xmm2, (%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(shl_15)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(shl_15_bwd):
+ movaps -0x0f(%rsi), %xmm1
+
+ movaps -0x1f(%rsi), %xmm2
+ palignr $15, %xmm2, %xmm1
+ movaps %xmm1, -0x10(%rdi)
+
+ movaps -0x2f(%rsi), %xmm3
+ palignr $15, %xmm3, %xmm2
+ movaps %xmm2, -0x20(%rdi)
+
+ movaps -0x3f(%rsi), %xmm4
+ palignr $15, %xmm4, %xmm3
+ movaps %xmm3, -0x30(%rdi)
+
+ movaps -0x4f(%rsi), %xmm5
+ palignr $15, %xmm5, %xmm4
+ movaps %xmm4, -0x40(%rdi)
+
+ movaps -0x5f(%rsi), %xmm6
+ palignr $15, %xmm6, %xmm5
+ movaps %xmm5, -0x50(%rdi)
+
+ movaps -0x6f(%rsi), %xmm7
+ palignr $15, %xmm7, %xmm6
+ movaps %xmm6, -0x60(%rdi)
+
+ movaps -0x7f(%rsi), %xmm8
+ palignr $15, %xmm8, %xmm7
+ movaps %xmm7, -0x70(%rdi)
+
+ movaps -0x8f(%rsi), %xmm9
+ palignr $15, %xmm9, %xmm8
+ movaps %xmm8, -0x80(%rdi)
+
+ sub $0x80, %rdx
+ lea -0x80(%rdi), %rdi
+ lea -0x80(%rsi), %rsi
+ jae L(shl_15_bwd)
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rdi
+ sub %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ ALIGN (4)
+L(gobble_mem_fwd):
+ movdqu (%rsi), %xmm1
+ movdqu %xmm0, (%r8)
+ movdqa %xmm1, (%rdi)
+ sub $16, %rdx
+ add $16, %rsi
+ add $16, %rdi
+
+#ifdef SHARED_CACHE_SIZE_HALF
+ mov $SHARED_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_shared_cache_size_half(%rip), %rcx
+#endif
+#ifdef USE_AS_MEMMOVE
+ mov %rsi, %r9
+ sub %rdi, %r9
+ cmp %rdx, %r9
+ jae L(memmove_is_memcpy_fwd)
+ cmp %rcx, %r9
+ jbe L(ll_cache_copy_fwd_start)
+L(memmove_is_memcpy_fwd):
+#endif
+ cmp %rcx, %rdx
+ ja L(bigger_in_fwd)
+ mov %rdx, %rcx
+L(bigger_in_fwd):
+ sub %rcx, %rdx
+ cmp $0x1000, %rdx
+ jbe L(ll_cache_copy_fwd)
+
+ mov %rcx, %r9
+ shl $3, %r9
+ cmp %r9, %rdx
+ jbe L(2steps_copy_fwd)
+ add %rcx, %rdx
+ xor %rcx, %rcx
+L(2steps_copy_fwd):
+ sub $0x80, %rdx
+L(gobble_mem_fwd_loop):
+ sub $0x80, %rdx
+ prefetcht0 0x200(%rsi)
+ prefetcht0 0x300(%rsi)
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ movdqu 0x40(%rsi), %xmm4
+ movdqu 0x50(%rsi), %xmm5
+ movdqu 0x60(%rsi), %xmm6
+ movdqu 0x70(%rsi), %xmm7
+ lfence
+ movntdq %xmm0, (%rdi)
+ movntdq %xmm1, 0x10(%rdi)
+ movntdq %xmm2, 0x20(%rdi)
+ movntdq %xmm3, 0x30(%rdi)
+ movntdq %xmm4, 0x40(%rdi)
+ movntdq %xmm5, 0x50(%rdi)
+ movntdq %xmm6, 0x60(%rdi)
+ movntdq %xmm7, 0x70(%rdi)
+ lea 0x80(%rsi), %rsi
+ lea 0x80(%rdi), %rdi
+ jae L(gobble_mem_fwd_loop)
+ sfence
+ cmp $0x80, %rcx
+ jb L(gobble_mem_fwd_end)
+ add $0x80, %rdx
+L(ll_cache_copy_fwd):
+ add %rcx, %rdx
+L(ll_cache_copy_fwd_start):
+ sub $0x80, %rdx
+L(gobble_ll_loop_fwd):
+ prefetchnta 0x1c0(%rsi)
+ prefetchnta 0x280(%rsi)
+ prefetchnta 0x1c0(%rdi)
+ prefetchnta 0x280(%rdi)
+ sub $0x80, %rdx
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ movdqu 0x40(%rsi), %xmm4
+ movdqu 0x50(%rsi), %xmm5
+ movdqu 0x60(%rsi), %xmm6
+ movdqu 0x70(%rsi), %xmm7
+ movdqa %xmm0, (%rdi)
+ movdqa %xmm1, 0x10(%rdi)
+ movdqa %xmm2, 0x20(%rdi)
+ movdqa %xmm3, 0x30(%rdi)
+ movdqa %xmm4, 0x40(%rdi)
+ movdqa %xmm5, 0x50(%rdi)
+ movdqa %xmm6, 0x60(%rdi)
+ movdqa %xmm7, 0x70(%rdi)
+ lea 0x80(%rsi), %rsi
+ lea 0x80(%rdi), %rdi
+ jae L(gobble_ll_loop_fwd)
+L(gobble_mem_fwd_end):
+ add $0x80, %rdx
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_fwd), %rdx, 4)
+
+ ALIGN (4)
+L(gobble_mem_bwd):
+ add %rdx, %rsi
+ add %rdx, %rdi
+
+ movdqu -16(%rsi), %xmm0
+ lea -16(%rdi), %r8
+ mov %rdi, %r9
+ and $-16, %rdi
+ sub %rdi, %r9
+ sub %r9, %rsi
+ sub %r9, %rdx
+
+
+#ifdef SHARED_CACHE_SIZE_HALF
+ mov $SHARED_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_shared_cache_size_half(%rip), %rcx
+#endif
+#ifdef USE_AS_MEMMOVE
+ mov %rdi, %r9
+ sub %rsi, %r9
+ cmp %rdx, %r9
+ jae L(memmove_is_memcpy_bwd)
+ cmp %rcx, %r9
+ jbe L(ll_cache_copy_bwd_start)
+L(memmove_is_memcpy_bwd):
+#endif
+ cmp %rcx, %rdx
+ ja L(bigger)
+ mov %rdx, %rcx
+L(bigger):
+ sub %rcx, %rdx
+ cmp $0x1000, %rdx
+ jbe L(ll_cache_copy)
+
+ mov %rcx, %r9
+ shl $3, %r9
+ cmp %r9, %rdx
+ jbe L(2steps_copy)
+ add %rcx, %rdx
+ xor %rcx, %rcx
+L(2steps_copy):
+ sub $0x80, %rdx
+L(gobble_mem_bwd_loop):
+ sub $0x80, %rdx
+ prefetcht0 -0x200(%rsi)
+ prefetcht0 -0x300(%rsi)
+ movdqu -0x10(%rsi), %xmm1
+ movdqu -0x20(%rsi), %xmm2
+ movdqu -0x30(%rsi), %xmm3
+ movdqu -0x40(%rsi), %xmm4
+ movdqu -0x50(%rsi), %xmm5
+ movdqu -0x60(%rsi), %xmm6
+ movdqu -0x70(%rsi), %xmm7
+ movdqu -0x80(%rsi), %xmm8
+ lfence
+ movntdq %xmm1, -0x10(%rdi)
+ movntdq %xmm2, -0x20(%rdi)
+ movntdq %xmm3, -0x30(%rdi)
+ movntdq %xmm4, -0x40(%rdi)
+ movntdq %xmm5, -0x50(%rdi)
+ movntdq %xmm6, -0x60(%rdi)
+ movntdq %xmm7, -0x70(%rdi)
+ movntdq %xmm8, -0x80(%rdi)
+ lea -0x80(%rsi), %rsi
+ lea -0x80(%rdi), %rdi
+ jae L(gobble_mem_bwd_loop)
+ sfence
+ cmp $0x80, %rcx
+ jb L(gobble_mem_bwd_end)
+ add $0x80, %rdx
+L(ll_cache_copy):
+ add %rcx, %rdx
+L(ll_cache_copy_bwd_start):
+ sub $0x80, %rdx
+L(gobble_ll_loop):
+ prefetchnta -0x1c0(%rsi)
+ prefetchnta -0x280(%rsi)
+ prefetchnta -0x1c0(%rdi)
+ prefetchnta -0x280(%rdi)
+ sub $0x80, %rdx
+ movdqu -0x10(%rsi), %xmm1
+ movdqu -0x20(%rsi), %xmm2
+ movdqu -0x30(%rsi), %xmm3
+ movdqu -0x40(%rsi), %xmm4
+ movdqu -0x50(%rsi), %xmm5
+ movdqu -0x60(%rsi), %xmm6
+ movdqu -0x70(%rsi), %xmm7
+ movdqu -0x80(%rsi), %xmm8
+ movdqa %xmm1, -0x10(%rdi)
+ movdqa %xmm2, -0x20(%rdi)
+ movdqa %xmm3, -0x30(%rdi)
+ movdqa %xmm4, -0x40(%rdi)
+ movdqa %xmm5, -0x50(%rdi)
+ movdqa %xmm6, -0x60(%rdi)
+ movdqa %xmm7, -0x70(%rdi)
+ movdqa %xmm8, -0x80(%rdi)
+ lea -0x80(%rsi), %rsi
+ lea -0x80(%rdi), %rdi
+ jae L(gobble_ll_loop)
+L(gobble_mem_bwd_end):
+ movdqu %xmm0, (%r8)
+ add $0x80, %rdx
+ sub %rdx, %rsi
+ sub %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_144_bytes_bwd), %rdx, 4)
+
+ .p2align 4
+L(fwd_write_128bytes):
+ lddqu -128(%rsi), %xmm0
+ movdqu %xmm0, -128(%rdi)
+L(fwd_write_112bytes):
+ lddqu -112(%rsi), %xmm0
+ movdqu %xmm0, -112(%rdi)
+L(fwd_write_96bytes):
+ lddqu -96(%rsi), %xmm0
+ movdqu %xmm0, -96(%rdi)
+L(fwd_write_80bytes):
+ lddqu -80(%rsi), %xmm0
+ movdqu %xmm0, -80(%rdi)
+L(fwd_write_64bytes):
+ lddqu -64(%rsi), %xmm0
+ movdqu %xmm0, -64(%rdi)
+L(fwd_write_48bytes):
+ lddqu -48(%rsi), %xmm0
+ movdqu %xmm0, -48(%rdi)
+L(fwd_write_32bytes):
+ lddqu -32(%rsi), %xmm0
+ movdqu %xmm0, -32(%rdi)
+L(fwd_write_16bytes):
+ lddqu -16(%rsi), %xmm0
+ movdqu %xmm0, -16(%rdi)
+L(fwd_write_0bytes):
+ ret
+
+
+ .p2align 4
+L(fwd_write_143bytes):
+ lddqu -143(%rsi), %xmm0
+ movdqu %xmm0, -143(%rdi)
+L(fwd_write_127bytes):
+ lddqu -127(%rsi), %xmm0
+ movdqu %xmm0, -127(%rdi)
+L(fwd_write_111bytes):
+ lddqu -111(%rsi), %xmm0
+ movdqu %xmm0, -111(%rdi)
+L(fwd_write_95bytes):
+ lddqu -95(%rsi), %xmm0
+ movdqu %xmm0, -95(%rdi)
+L(fwd_write_79bytes):
+ lddqu -79(%rsi), %xmm0
+ movdqu %xmm0, -79(%rdi)
+L(fwd_write_63bytes):
+ lddqu -63(%rsi), %xmm0
+ movdqu %xmm0, -63(%rdi)
+L(fwd_write_47bytes):
+ lddqu -47(%rsi), %xmm0
+ movdqu %xmm0, -47(%rdi)
+L(fwd_write_31bytes):
+ lddqu -31(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -31(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_15bytes):
+ mov -15(%rsi), %rdx
+ mov -8(%rsi), %rcx
+ mov %rdx, -15(%rdi)
+ mov %rcx, -8(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_142bytes):
+ lddqu -142(%rsi), %xmm0
+ movdqu %xmm0, -142(%rdi)
+L(fwd_write_126bytes):
+ lddqu -126(%rsi), %xmm0
+ movdqu %xmm0, -126(%rdi)
+L(fwd_write_110bytes):
+ lddqu -110(%rsi), %xmm0
+ movdqu %xmm0, -110(%rdi)
+L(fwd_write_94bytes):
+ lddqu -94(%rsi), %xmm0
+ movdqu %xmm0, -94(%rdi)
+L(fwd_write_78bytes):
+ lddqu -78(%rsi), %xmm0
+ movdqu %xmm0, -78(%rdi)
+L(fwd_write_62bytes):
+ lddqu -62(%rsi), %xmm0
+ movdqu %xmm0, -62(%rdi)
+L(fwd_write_46bytes):
+ lddqu -46(%rsi), %xmm0
+ movdqu %xmm0, -46(%rdi)
+L(fwd_write_30bytes):
+ lddqu -30(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -30(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_14bytes):
+ mov -14(%rsi), %rdx
+ mov -8(%rsi), %rcx
+ mov %rdx, -14(%rdi)
+ mov %rcx, -8(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_141bytes):
+ lddqu -141(%rsi), %xmm0
+ movdqu %xmm0, -141(%rdi)
+L(fwd_write_125bytes):
+ lddqu -125(%rsi), %xmm0
+ movdqu %xmm0, -125(%rdi)
+L(fwd_write_109bytes):
+ lddqu -109(%rsi), %xmm0
+ movdqu %xmm0, -109(%rdi)
+L(fwd_write_93bytes):
+ lddqu -93(%rsi), %xmm0
+ movdqu %xmm0, -93(%rdi)
+L(fwd_write_77bytes):
+ lddqu -77(%rsi), %xmm0
+ movdqu %xmm0, -77(%rdi)
+L(fwd_write_61bytes):
+ lddqu -61(%rsi), %xmm0
+ movdqu %xmm0, -61(%rdi)
+L(fwd_write_45bytes):
+ lddqu -45(%rsi), %xmm0
+ movdqu %xmm0, -45(%rdi)
+L(fwd_write_29bytes):
+ lddqu -29(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -29(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_13bytes):
+ mov -13(%rsi), %rdx
+ mov -8(%rsi), %rcx
+ mov %rdx, -13(%rdi)
+ mov %rcx, -8(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_140bytes):
+ lddqu -140(%rsi), %xmm0
+ movdqu %xmm0, -140(%rdi)
+L(fwd_write_124bytes):
+ lddqu -124(%rsi), %xmm0
+ movdqu %xmm0, -124(%rdi)
+L(fwd_write_108bytes):
+ lddqu -108(%rsi), %xmm0
+ movdqu %xmm0, -108(%rdi)
+L(fwd_write_92bytes):
+ lddqu -92(%rsi), %xmm0
+ movdqu %xmm0, -92(%rdi)
+L(fwd_write_76bytes):
+ lddqu -76(%rsi), %xmm0
+ movdqu %xmm0, -76(%rdi)
+L(fwd_write_60bytes):
+ lddqu -60(%rsi), %xmm0
+ movdqu %xmm0, -60(%rdi)
+L(fwd_write_44bytes):
+ lddqu -44(%rsi), %xmm0
+ movdqu %xmm0, -44(%rdi)
+L(fwd_write_28bytes):
+ lddqu -28(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -28(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_12bytes):
+ mov -12(%rsi), %rdx
+ mov -4(%rsi), %ecx
+ mov %rdx, -12(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_139bytes):
+ lddqu -139(%rsi), %xmm0
+ movdqu %xmm0, -139(%rdi)
+L(fwd_write_123bytes):
+ lddqu -123(%rsi), %xmm0
+ movdqu %xmm0, -123(%rdi)
+L(fwd_write_107bytes):
+ lddqu -107(%rsi), %xmm0
+ movdqu %xmm0, -107(%rdi)
+L(fwd_write_91bytes):
+ lddqu -91(%rsi), %xmm0
+ movdqu %xmm0, -91(%rdi)
+L(fwd_write_75bytes):
+ lddqu -75(%rsi), %xmm0
+ movdqu %xmm0, -75(%rdi)
+L(fwd_write_59bytes):
+ lddqu -59(%rsi), %xmm0
+ movdqu %xmm0, -59(%rdi)
+L(fwd_write_43bytes):
+ lddqu -43(%rsi), %xmm0
+ movdqu %xmm0, -43(%rdi)
+L(fwd_write_27bytes):
+ lddqu -27(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -27(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_11bytes):
+ mov -11(%rsi), %rdx
+ mov -4(%rsi), %ecx
+ mov %rdx, -11(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_138bytes):
+ lddqu -138(%rsi), %xmm0
+ movdqu %xmm0, -138(%rdi)
+L(fwd_write_122bytes):
+ lddqu -122(%rsi), %xmm0
+ movdqu %xmm0, -122(%rdi)
+L(fwd_write_106bytes):
+ lddqu -106(%rsi), %xmm0
+ movdqu %xmm0, -106(%rdi)
+L(fwd_write_90bytes):
+ lddqu -90(%rsi), %xmm0
+ movdqu %xmm0, -90(%rdi)
+L(fwd_write_74bytes):
+ lddqu -74(%rsi), %xmm0
+ movdqu %xmm0, -74(%rdi)
+L(fwd_write_58bytes):
+ lddqu -58(%rsi), %xmm0
+ movdqu %xmm0, -58(%rdi)
+L(fwd_write_42bytes):
+ lddqu -42(%rsi), %xmm0
+ movdqu %xmm0, -42(%rdi)
+L(fwd_write_26bytes):
+ lddqu -26(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -26(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_10bytes):
+ mov -10(%rsi), %rdx
+ mov -4(%rsi), %ecx
+ mov %rdx, -10(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_137bytes):
+ lddqu -137(%rsi), %xmm0
+ movdqu %xmm0, -137(%rdi)
+L(fwd_write_121bytes):
+ lddqu -121(%rsi), %xmm0
+ movdqu %xmm0, -121(%rdi)
+L(fwd_write_105bytes):
+ lddqu -105(%rsi), %xmm0
+ movdqu %xmm0, -105(%rdi)
+L(fwd_write_89bytes):
+ lddqu -89(%rsi), %xmm0
+ movdqu %xmm0, -89(%rdi)
+L(fwd_write_73bytes):
+ lddqu -73(%rsi), %xmm0
+ movdqu %xmm0, -73(%rdi)
+L(fwd_write_57bytes):
+ lddqu -57(%rsi), %xmm0
+ movdqu %xmm0, -57(%rdi)
+L(fwd_write_41bytes):
+ lddqu -41(%rsi), %xmm0
+ movdqu %xmm0, -41(%rdi)
+L(fwd_write_25bytes):
+ lddqu -25(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -25(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_9bytes):
+ mov -9(%rsi), %rdx
+ mov -4(%rsi), %ecx
+ mov %rdx, -9(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_136bytes):
+ lddqu -136(%rsi), %xmm0
+ movdqu %xmm0, -136(%rdi)
+L(fwd_write_120bytes):
+ lddqu -120(%rsi), %xmm0
+ movdqu %xmm0, -120(%rdi)
+L(fwd_write_104bytes):
+ lddqu -104(%rsi), %xmm0
+ movdqu %xmm0, -104(%rdi)
+L(fwd_write_88bytes):
+ lddqu -88(%rsi), %xmm0
+ movdqu %xmm0, -88(%rdi)
+L(fwd_write_72bytes):
+ lddqu -72(%rsi), %xmm0
+ movdqu %xmm0, -72(%rdi)
+L(fwd_write_56bytes):
+ lddqu -56(%rsi), %xmm0
+ movdqu %xmm0, -56(%rdi)
+L(fwd_write_40bytes):
+ lddqu -40(%rsi), %xmm0
+ movdqu %xmm0, -40(%rdi)
+L(fwd_write_24bytes):
+ lddqu -24(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -24(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_8bytes):
+ mov -8(%rsi), %rdx
+ mov %rdx, -8(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_135bytes):
+ lddqu -135(%rsi), %xmm0
+ movdqu %xmm0, -135(%rdi)
+L(fwd_write_119bytes):
+ lddqu -119(%rsi), %xmm0
+ movdqu %xmm0, -119(%rdi)
+L(fwd_write_103bytes):
+ lddqu -103(%rsi), %xmm0
+ movdqu %xmm0, -103(%rdi)
+L(fwd_write_87bytes):
+ lddqu -87(%rsi), %xmm0
+ movdqu %xmm0, -87(%rdi)
+L(fwd_write_71bytes):
+ lddqu -71(%rsi), %xmm0
+ movdqu %xmm0, -71(%rdi)
+L(fwd_write_55bytes):
+ lddqu -55(%rsi), %xmm0
+ movdqu %xmm0, -55(%rdi)
+L(fwd_write_39bytes):
+ lddqu -39(%rsi), %xmm0
+ movdqu %xmm0, -39(%rdi)
+L(fwd_write_23bytes):
+ lddqu -23(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -23(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_7bytes):
+ mov -7(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -7(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_134bytes):
+ lddqu -134(%rsi), %xmm0
+ movdqu %xmm0, -134(%rdi)
+L(fwd_write_118bytes):
+ lddqu -118(%rsi), %xmm0
+ movdqu %xmm0, -118(%rdi)
+L(fwd_write_102bytes):
+ lddqu -102(%rsi), %xmm0
+ movdqu %xmm0, -102(%rdi)
+L(fwd_write_86bytes):
+ lddqu -86(%rsi), %xmm0
+ movdqu %xmm0, -86(%rdi)
+L(fwd_write_70bytes):
+ lddqu -70(%rsi), %xmm0
+ movdqu %xmm0, -70(%rdi)
+L(fwd_write_54bytes):
+ lddqu -54(%rsi), %xmm0
+ movdqu %xmm0, -54(%rdi)
+L(fwd_write_38bytes):
+ lddqu -38(%rsi), %xmm0
+ movdqu %xmm0, -38(%rdi)
+L(fwd_write_22bytes):
+ lddqu -22(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -22(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_6bytes):
+ mov -6(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -6(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_133bytes):
+ lddqu -133(%rsi), %xmm0
+ movdqu %xmm0, -133(%rdi)
+L(fwd_write_117bytes):
+ lddqu -117(%rsi), %xmm0
+ movdqu %xmm0, -117(%rdi)
+L(fwd_write_101bytes):
+ lddqu -101(%rsi), %xmm0
+ movdqu %xmm0, -101(%rdi)
+L(fwd_write_85bytes):
+ lddqu -85(%rsi), %xmm0
+ movdqu %xmm0, -85(%rdi)
+L(fwd_write_69bytes):
+ lddqu -69(%rsi), %xmm0
+ movdqu %xmm0, -69(%rdi)
+L(fwd_write_53bytes):
+ lddqu -53(%rsi), %xmm0
+ movdqu %xmm0, -53(%rdi)
+L(fwd_write_37bytes):
+ lddqu -37(%rsi), %xmm0
+ movdqu %xmm0, -37(%rdi)
+L(fwd_write_21bytes):
+ lddqu -21(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -21(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_5bytes):
+ mov -5(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -5(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_132bytes):
+ lddqu -132(%rsi), %xmm0
+ movdqu %xmm0, -132(%rdi)
+L(fwd_write_116bytes):
+ lddqu -116(%rsi), %xmm0
+ movdqu %xmm0, -116(%rdi)
+L(fwd_write_100bytes):
+ lddqu -100(%rsi), %xmm0
+ movdqu %xmm0, -100(%rdi)
+L(fwd_write_84bytes):
+ lddqu -84(%rsi), %xmm0
+ movdqu %xmm0, -84(%rdi)
+L(fwd_write_68bytes):
+ lddqu -68(%rsi), %xmm0
+ movdqu %xmm0, -68(%rdi)
+L(fwd_write_52bytes):
+ lddqu -52(%rsi), %xmm0
+ movdqu %xmm0, -52(%rdi)
+L(fwd_write_36bytes):
+ lddqu -36(%rsi), %xmm0
+ movdqu %xmm0, -36(%rdi)
+L(fwd_write_20bytes):
+ lddqu -20(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -20(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_4bytes):
+ mov -4(%rsi), %edx
+ mov %edx, -4(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_131bytes):
+ lddqu -131(%rsi), %xmm0
+ movdqu %xmm0, -131(%rdi)
+L(fwd_write_115bytes):
+ lddqu -115(%rsi), %xmm0
+ movdqu %xmm0, -115(%rdi)
+L(fwd_write_99bytes):
+ lddqu -99(%rsi), %xmm0
+ movdqu %xmm0, -99(%rdi)
+L(fwd_write_83bytes):
+ lddqu -83(%rsi), %xmm0
+ movdqu %xmm0, -83(%rdi)
+L(fwd_write_67bytes):
+ lddqu -67(%rsi), %xmm0
+ movdqu %xmm0, -67(%rdi)
+L(fwd_write_51bytes):
+ lddqu -51(%rsi), %xmm0
+ movdqu %xmm0, -51(%rdi)
+L(fwd_write_35bytes):
+ lddqu -35(%rsi), %xmm0
+ movdqu %xmm0, -35(%rdi)
+L(fwd_write_19bytes):
+ lddqu -19(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -19(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_3bytes):
+ mov -3(%rsi), %dx
+ mov -2(%rsi), %cx
+ mov %dx, -3(%rdi)
+ mov %cx, -2(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_130bytes):
+ lddqu -130(%rsi), %xmm0
+ movdqu %xmm0, -130(%rdi)
+L(fwd_write_114bytes):
+ lddqu -114(%rsi), %xmm0
+ movdqu %xmm0, -114(%rdi)
+L(fwd_write_98bytes):
+ lddqu -98(%rsi), %xmm0
+ movdqu %xmm0, -98(%rdi)
+L(fwd_write_82bytes):
+ lddqu -82(%rsi), %xmm0
+ movdqu %xmm0, -82(%rdi)
+L(fwd_write_66bytes):
+ lddqu -66(%rsi), %xmm0
+ movdqu %xmm0, -66(%rdi)
+L(fwd_write_50bytes):
+ lddqu -50(%rsi), %xmm0
+ movdqu %xmm0, -50(%rdi)
+L(fwd_write_34bytes):
+ lddqu -34(%rsi), %xmm0
+ movdqu %xmm0, -34(%rdi)
+L(fwd_write_18bytes):
+ lddqu -18(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -18(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_2bytes):
+ movzwl -2(%rsi), %edx
+ mov %dx, -2(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_129bytes):
+ lddqu -129(%rsi), %xmm0
+ movdqu %xmm0, -129(%rdi)
+L(fwd_write_113bytes):
+ lddqu -113(%rsi), %xmm0
+ movdqu %xmm0, -113(%rdi)
+L(fwd_write_97bytes):
+ lddqu -97(%rsi), %xmm0
+ movdqu %xmm0, -97(%rdi)
+L(fwd_write_81bytes):
+ lddqu -81(%rsi), %xmm0
+ movdqu %xmm0, -81(%rdi)
+L(fwd_write_65bytes):
+ lddqu -65(%rsi), %xmm0
+ movdqu %xmm0, -65(%rdi)
+L(fwd_write_49bytes):
+ lddqu -49(%rsi), %xmm0
+ movdqu %xmm0, -49(%rdi)
+L(fwd_write_33bytes):
+ lddqu -33(%rsi), %xmm0
+ movdqu %xmm0, -33(%rdi)
+L(fwd_write_17bytes):
+ lddqu -17(%rsi), %xmm0
+ lddqu -16(%rsi), %xmm1
+ movdqu %xmm0, -17(%rdi)
+ movdqu %xmm1, -16(%rdi)
+ ret
+
+ .p2align 4
+L(fwd_write_1bytes):
+ movzbl -1(%rsi), %edx
+ mov %dl, -1(%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_128bytes):
+ lddqu 112(%rsi), %xmm0
+ movdqu %xmm0, 112(%rdi)
+L(bwd_write_112bytes):
+ lddqu 96(%rsi), %xmm0
+ movdqu %xmm0, 96(%rdi)
+L(bwd_write_96bytes):
+ lddqu 80(%rsi), %xmm0
+ movdqu %xmm0, 80(%rdi)
+L(bwd_write_80bytes):
+ lddqu 64(%rsi), %xmm0
+ movdqu %xmm0, 64(%rdi)
+L(bwd_write_64bytes):
+ lddqu 48(%rsi), %xmm0
+ movdqu %xmm0, 48(%rdi)
+L(bwd_write_48bytes):
+ lddqu 32(%rsi), %xmm0
+ movdqu %xmm0, 32(%rdi)
+L(bwd_write_32bytes):
+ lddqu 16(%rsi), %xmm0
+ movdqu %xmm0, 16(%rdi)
+L(bwd_write_16bytes):
+ lddqu (%rsi), %xmm0
+ movdqu %xmm0, (%rdi)
+L(bwd_write_0bytes):
+ ret
+
+ .p2align 4
+L(bwd_write_143bytes):
+ lddqu 127(%rsi), %xmm0
+ movdqu %xmm0, 127(%rdi)
+L(bwd_write_127bytes):
+ lddqu 111(%rsi), %xmm0
+ movdqu %xmm0, 111(%rdi)
+L(bwd_write_111bytes):
+ lddqu 95(%rsi), %xmm0
+ movdqu %xmm0, 95(%rdi)
+L(bwd_write_95bytes):
+ lddqu 79(%rsi), %xmm0
+ movdqu %xmm0, 79(%rdi)
+L(bwd_write_79bytes):
+ lddqu 63(%rsi), %xmm0
+ movdqu %xmm0, 63(%rdi)
+L(bwd_write_63bytes):
+ lddqu 47(%rsi), %xmm0
+ movdqu %xmm0, 47(%rdi)
+L(bwd_write_47bytes):
+ lddqu 31(%rsi), %xmm0
+ movdqu %xmm0, 31(%rdi)
+L(bwd_write_31bytes):
+ lddqu 15(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 15(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+
+ .p2align 4
+L(bwd_write_15bytes):
+ mov 7(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 7(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_142bytes):
+ lddqu 126(%rsi), %xmm0
+ movdqu %xmm0, 126(%rdi)
+L(bwd_write_126bytes):
+ lddqu 110(%rsi), %xmm0
+ movdqu %xmm0, 110(%rdi)
+L(bwd_write_110bytes):
+ lddqu 94(%rsi), %xmm0
+ movdqu %xmm0, 94(%rdi)
+L(bwd_write_94bytes):
+ lddqu 78(%rsi), %xmm0
+ movdqu %xmm0, 78(%rdi)
+L(bwd_write_78bytes):
+ lddqu 62(%rsi), %xmm0
+ movdqu %xmm0, 62(%rdi)
+L(bwd_write_62bytes):
+ lddqu 46(%rsi), %xmm0
+ movdqu %xmm0, 46(%rdi)
+L(bwd_write_46bytes):
+ lddqu 30(%rsi), %xmm0
+ movdqu %xmm0, 30(%rdi)
+L(bwd_write_30bytes):
+ lddqu 14(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 14(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_14bytes):
+ mov 6(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 6(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_141bytes):
+ lddqu 125(%rsi), %xmm0
+ movdqu %xmm0, 125(%rdi)
+L(bwd_write_125bytes):
+ lddqu 109(%rsi), %xmm0
+ movdqu %xmm0, 109(%rdi)
+L(bwd_write_109bytes):
+ lddqu 93(%rsi), %xmm0
+ movdqu %xmm0, 93(%rdi)
+L(bwd_write_93bytes):
+ lddqu 77(%rsi), %xmm0
+ movdqu %xmm0, 77(%rdi)
+L(bwd_write_77bytes):
+ lddqu 61(%rsi), %xmm0
+ movdqu %xmm0, 61(%rdi)
+L(bwd_write_61bytes):
+ lddqu 45(%rsi), %xmm0
+ movdqu %xmm0, 45(%rdi)
+L(bwd_write_45bytes):
+ lddqu 29(%rsi), %xmm0
+ movdqu %xmm0, 29(%rdi)
+L(bwd_write_29bytes):
+ lddqu 13(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 13(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_13bytes):
+ mov 5(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 5(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_140bytes):
+ lddqu 124(%rsi), %xmm0
+ movdqu %xmm0, 124(%rdi)
+L(bwd_write_124bytes):
+ lddqu 108(%rsi), %xmm0
+ movdqu %xmm0, 108(%rdi)
+L(bwd_write_108bytes):
+ lddqu 92(%rsi), %xmm0
+ movdqu %xmm0, 92(%rdi)
+L(bwd_write_92bytes):
+ lddqu 76(%rsi), %xmm0
+ movdqu %xmm0, 76(%rdi)
+L(bwd_write_76bytes):
+ lddqu 60(%rsi), %xmm0
+ movdqu %xmm0, 60(%rdi)
+L(bwd_write_60bytes):
+ lddqu 44(%rsi), %xmm0
+ movdqu %xmm0, 44(%rdi)
+L(bwd_write_44bytes):
+ lddqu 28(%rsi), %xmm0
+ movdqu %xmm0, 28(%rdi)
+L(bwd_write_28bytes):
+ lddqu 12(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 12(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_12bytes):
+ mov 4(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 4(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_139bytes):
+ lddqu 123(%rsi), %xmm0
+ movdqu %xmm0, 123(%rdi)
+L(bwd_write_123bytes):
+ lddqu 107(%rsi), %xmm0
+ movdqu %xmm0, 107(%rdi)
+L(bwd_write_107bytes):
+ lddqu 91(%rsi), %xmm0
+ movdqu %xmm0, 91(%rdi)
+L(bwd_write_91bytes):
+ lddqu 75(%rsi), %xmm0
+ movdqu %xmm0, 75(%rdi)
+L(bwd_write_75bytes):
+ lddqu 59(%rsi), %xmm0
+ movdqu %xmm0, 59(%rdi)
+L(bwd_write_59bytes):
+ lddqu 43(%rsi), %xmm0
+ movdqu %xmm0, 43(%rdi)
+L(bwd_write_43bytes):
+ lddqu 27(%rsi), %xmm0
+ movdqu %xmm0, 27(%rdi)
+L(bwd_write_27bytes):
+ lddqu 11(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 11(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_11bytes):
+ mov 3(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 3(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_138bytes):
+ lddqu 122(%rsi), %xmm0
+ movdqu %xmm0, 122(%rdi)
+L(bwd_write_122bytes):
+ lddqu 106(%rsi), %xmm0
+ movdqu %xmm0, 106(%rdi)
+L(bwd_write_106bytes):
+ lddqu 90(%rsi), %xmm0
+ movdqu %xmm0, 90(%rdi)
+L(bwd_write_90bytes):
+ lddqu 74(%rsi), %xmm0
+ movdqu %xmm0, 74(%rdi)
+L(bwd_write_74bytes):
+ lddqu 58(%rsi), %xmm0
+ movdqu %xmm0, 58(%rdi)
+L(bwd_write_58bytes):
+ lddqu 42(%rsi), %xmm0
+ movdqu %xmm0, 42(%rdi)
+L(bwd_write_42bytes):
+ lddqu 26(%rsi), %xmm0
+ movdqu %xmm0, 26(%rdi)
+L(bwd_write_26bytes):
+ lddqu 10(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 10(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_10bytes):
+ mov 2(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 2(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_137bytes):
+ lddqu 121(%rsi), %xmm0
+ movdqu %xmm0, 121(%rdi)
+L(bwd_write_121bytes):
+ lddqu 105(%rsi), %xmm0
+ movdqu %xmm0, 105(%rdi)
+L(bwd_write_105bytes):
+ lddqu 89(%rsi), %xmm0
+ movdqu %xmm0, 89(%rdi)
+L(bwd_write_89bytes):
+ lddqu 73(%rsi), %xmm0
+ movdqu %xmm0, 73(%rdi)
+L(bwd_write_73bytes):
+ lddqu 57(%rsi), %xmm0
+ movdqu %xmm0, 57(%rdi)
+L(bwd_write_57bytes):
+ lddqu 41(%rsi), %xmm0
+ movdqu %xmm0, 41(%rdi)
+L(bwd_write_41bytes):
+ lddqu 25(%rsi), %xmm0
+ movdqu %xmm0, 25(%rdi)
+L(bwd_write_25bytes):
+ lddqu 9(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 9(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_9bytes):
+ mov 1(%rsi), %rdx
+ mov (%rsi), %rcx
+ mov %rdx, 1(%rdi)
+ mov %rcx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_136bytes):
+ lddqu 120(%rsi), %xmm0
+ movdqu %xmm0, 120(%rdi)
+L(bwd_write_120bytes):
+ lddqu 104(%rsi), %xmm0
+ movdqu %xmm0, 104(%rdi)
+L(bwd_write_104bytes):
+ lddqu 88(%rsi), %xmm0
+ movdqu %xmm0, 88(%rdi)
+L(bwd_write_88bytes):
+ lddqu 72(%rsi), %xmm0
+ movdqu %xmm0, 72(%rdi)
+L(bwd_write_72bytes):
+ lddqu 56(%rsi), %xmm0
+ movdqu %xmm0, 56(%rdi)
+L(bwd_write_56bytes):
+ lddqu 40(%rsi), %xmm0
+ movdqu %xmm0, 40(%rdi)
+L(bwd_write_40bytes):
+ lddqu 24(%rsi), %xmm0
+ movdqu %xmm0, 24(%rdi)
+L(bwd_write_24bytes):
+ lddqu 8(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 8(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_8bytes):
+ mov (%rsi), %rdx
+ mov %rdx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_135bytes):
+ lddqu 119(%rsi), %xmm0
+ movdqu %xmm0, 119(%rdi)
+L(bwd_write_119bytes):
+ lddqu 103(%rsi), %xmm0
+ movdqu %xmm0, 103(%rdi)
+L(bwd_write_103bytes):
+ lddqu 87(%rsi), %xmm0
+ movdqu %xmm0, 87(%rdi)
+L(bwd_write_87bytes):
+ lddqu 71(%rsi), %xmm0
+ movdqu %xmm0, 71(%rdi)
+L(bwd_write_71bytes):
+ lddqu 55(%rsi), %xmm0
+ movdqu %xmm0, 55(%rdi)
+L(bwd_write_55bytes):
+ lddqu 39(%rsi), %xmm0
+ movdqu %xmm0, 39(%rdi)
+L(bwd_write_39bytes):
+ lddqu 23(%rsi), %xmm0
+ movdqu %xmm0, 23(%rdi)
+L(bwd_write_23bytes):
+ lddqu 7(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 7(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_7bytes):
+ mov 3(%rsi), %edx
+ mov (%rsi), %ecx
+ mov %edx, 3(%rdi)
+ mov %ecx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_134bytes):
+ lddqu 118(%rsi), %xmm0
+ movdqu %xmm0, 118(%rdi)
+L(bwd_write_118bytes):
+ lddqu 102(%rsi), %xmm0
+ movdqu %xmm0, 102(%rdi)
+L(bwd_write_102bytes):
+ lddqu 86(%rsi), %xmm0
+ movdqu %xmm0, 86(%rdi)
+L(bwd_write_86bytes):
+ lddqu 70(%rsi), %xmm0
+ movdqu %xmm0, 70(%rdi)
+L(bwd_write_70bytes):
+ lddqu 54(%rsi), %xmm0
+ movdqu %xmm0, 54(%rdi)
+L(bwd_write_54bytes):
+ lddqu 38(%rsi), %xmm0
+ movdqu %xmm0, 38(%rdi)
+L(bwd_write_38bytes):
+ lddqu 22(%rsi), %xmm0
+ movdqu %xmm0, 22(%rdi)
+L(bwd_write_22bytes):
+ lddqu 6(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 6(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_6bytes):
+ mov 2(%rsi), %edx
+ mov (%rsi), %ecx
+ mov %edx, 2(%rdi)
+ mov %ecx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_133bytes):
+ lddqu 117(%rsi), %xmm0
+ movdqu %xmm0, 117(%rdi)
+L(bwd_write_117bytes):
+ lddqu 101(%rsi), %xmm0
+ movdqu %xmm0, 101(%rdi)
+L(bwd_write_101bytes):
+ lddqu 85(%rsi), %xmm0
+ movdqu %xmm0, 85(%rdi)
+L(bwd_write_85bytes):
+ lddqu 69(%rsi), %xmm0
+ movdqu %xmm0, 69(%rdi)
+L(bwd_write_69bytes):
+ lddqu 53(%rsi), %xmm0
+ movdqu %xmm0, 53(%rdi)
+L(bwd_write_53bytes):
+ lddqu 37(%rsi), %xmm0
+ movdqu %xmm0, 37(%rdi)
+L(bwd_write_37bytes):
+ lddqu 21(%rsi), %xmm0
+ movdqu %xmm0, 21(%rdi)
+L(bwd_write_21bytes):
+ lddqu 5(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 5(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_5bytes):
+ mov 1(%rsi), %edx
+ mov (%rsi), %ecx
+ mov %edx, 1(%rdi)
+ mov %ecx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_132bytes):
+ lddqu 116(%rsi), %xmm0
+ movdqu %xmm0, 116(%rdi)
+L(bwd_write_116bytes):
+ lddqu 100(%rsi), %xmm0
+ movdqu %xmm0, 100(%rdi)
+L(bwd_write_100bytes):
+ lddqu 84(%rsi), %xmm0
+ movdqu %xmm0, 84(%rdi)
+L(bwd_write_84bytes):
+ lddqu 68(%rsi), %xmm0
+ movdqu %xmm0, 68(%rdi)
+L(bwd_write_68bytes):
+ lddqu 52(%rsi), %xmm0
+ movdqu %xmm0, 52(%rdi)
+L(bwd_write_52bytes):
+ lddqu 36(%rsi), %xmm0
+ movdqu %xmm0, 36(%rdi)
+L(bwd_write_36bytes):
+ lddqu 20(%rsi), %xmm0
+ movdqu %xmm0, 20(%rdi)
+L(bwd_write_20bytes):
+ lddqu 4(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 4(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_4bytes):
+ mov (%rsi), %edx
+ mov %edx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_131bytes):
+ lddqu 115(%rsi), %xmm0
+ movdqu %xmm0, 115(%rdi)
+L(bwd_write_115bytes):
+ lddqu 99(%rsi), %xmm0
+ movdqu %xmm0, 99(%rdi)
+L(bwd_write_99bytes):
+ lddqu 83(%rsi), %xmm0
+ movdqu %xmm0, 83(%rdi)
+L(bwd_write_83bytes):
+ lddqu 67(%rsi), %xmm0
+ movdqu %xmm0, 67(%rdi)
+L(bwd_write_67bytes):
+ lddqu 51(%rsi), %xmm0
+ movdqu %xmm0, 51(%rdi)
+L(bwd_write_51bytes):
+ lddqu 35(%rsi), %xmm0
+ movdqu %xmm0, 35(%rdi)
+L(bwd_write_35bytes):
+ lddqu 19(%rsi), %xmm0
+ movdqu %xmm0, 19(%rdi)
+L(bwd_write_19bytes):
+ lddqu 3(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 3(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_3bytes):
+ mov 1(%rsi), %dx
+ mov (%rsi), %cx
+ mov %dx, 1(%rdi)
+ mov %cx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_130bytes):
+ lddqu 114(%rsi), %xmm0
+ movdqu %xmm0, 114(%rdi)
+L(bwd_write_114bytes):
+ lddqu 98(%rsi), %xmm0
+ movdqu %xmm0, 98(%rdi)
+L(bwd_write_98bytes):
+ lddqu 82(%rsi), %xmm0
+ movdqu %xmm0, 82(%rdi)
+L(bwd_write_82bytes):
+ lddqu 66(%rsi), %xmm0
+ movdqu %xmm0, 66(%rdi)
+L(bwd_write_66bytes):
+ lddqu 50(%rsi), %xmm0
+ movdqu %xmm0, 50(%rdi)
+L(bwd_write_50bytes):
+ lddqu 34(%rsi), %xmm0
+ movdqu %xmm0, 34(%rdi)
+L(bwd_write_34bytes):
+ lddqu 18(%rsi), %xmm0
+ movdqu %xmm0, 18(%rdi)
+L(bwd_write_18bytes):
+ lddqu 2(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 2(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_2bytes):
+ movzwl (%rsi), %edx
+ mov %dx, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_129bytes):
+ lddqu 113(%rsi), %xmm0
+ movdqu %xmm0, 113(%rdi)
+L(bwd_write_113bytes):
+ lddqu 97(%rsi), %xmm0
+ movdqu %xmm0, 97(%rdi)
+L(bwd_write_97bytes):
+ lddqu 81(%rsi), %xmm0
+ movdqu %xmm0, 81(%rdi)
+L(bwd_write_81bytes):
+ lddqu 65(%rsi), %xmm0
+ movdqu %xmm0, 65(%rdi)
+L(bwd_write_65bytes):
+ lddqu 49(%rsi), %xmm0
+ movdqu %xmm0, 49(%rdi)
+L(bwd_write_49bytes):
+ lddqu 33(%rsi), %xmm0
+ movdqu %xmm0, 33(%rdi)
+L(bwd_write_33bytes):
+ lddqu 17(%rsi), %xmm0
+ movdqu %xmm0, 17(%rdi)
+L(bwd_write_17bytes):
+ lddqu 1(%rsi), %xmm0
+ lddqu (%rsi), %xmm1
+ movdqu %xmm0, 1(%rdi)
+ movdqu %xmm1, (%rdi)
+ ret
+
+ .p2align 4
+L(bwd_write_1bytes):
+ movzbl (%rsi), %edx
+ mov %dl, (%rdi)
+ ret
+
+END (MEMCPY)
+
+ .section .rodata.ssse3,"a",@progbits
+ ALIGN (3)
+L(table_144_bytes_bwd):
+ .int JMPTBL (L(bwd_write_0bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_1bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_2bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_3bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_4bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_5bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_6bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_7bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_8bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_9bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_10bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_11bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_12bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_13bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_14bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_15bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_16bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_17bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_18bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_19bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_20bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_21bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_22bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_23bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_24bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_25bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_26bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_27bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_28bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_29bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_30bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_31bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_32bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_33bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_34bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_35bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_36bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_37bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_38bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_39bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_40bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_41bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_42bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_43bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_44bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_45bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_46bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_47bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_48bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_49bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_50bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_51bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_52bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_53bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_54bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_55bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_56bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_57bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_58bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_59bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_60bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_61bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_62bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_63bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_64bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_65bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_66bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_67bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_68bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_69bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_70bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_71bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_72bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_73bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_74bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_75bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_76bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_77bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_78bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_79bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_80bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_81bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_82bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_83bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_84bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_85bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_86bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_87bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_88bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_89bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_90bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_91bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_92bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_93bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_94bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_95bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_96bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_97bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_98bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_99bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_100bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_101bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_102bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_103bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_104bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_105bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_106bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_107bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_108bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_109bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_110bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_111bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_112bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_113bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_114bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_115bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_116bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_117bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_118bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_119bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_120bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_121bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_122bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_123bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_124bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_125bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_126bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_127bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_128bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_129bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_130bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_131bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_132bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_133bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_134bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_135bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_136bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_137bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_138bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_139bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_140bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_141bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_142bytes), L(table_144_bytes_bwd))
+ .int JMPTBL (L(bwd_write_143bytes), L(table_144_bytes_bwd))
+
+ ALIGN (3)
+L(table_144_bytes_fwd):
+ .int JMPTBL (L(fwd_write_0bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_1bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_2bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_3bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_4bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_5bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_6bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_7bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_8bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_9bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_10bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_11bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_12bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_13bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_14bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_15bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_16bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_17bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_18bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_19bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_20bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_21bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_22bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_23bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_24bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_25bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_26bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_27bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_28bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_29bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_30bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_31bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_32bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_33bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_34bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_35bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_36bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_37bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_38bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_39bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_40bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_41bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_42bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_43bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_44bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_45bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_46bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_47bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_48bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_49bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_50bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_51bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_52bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_53bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_54bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_55bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_56bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_57bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_58bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_59bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_60bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_61bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_62bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_63bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_64bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_65bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_66bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_67bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_68bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_69bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_70bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_71bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_72bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_73bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_74bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_75bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_76bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_77bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_78bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_79bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_80bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_81bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_82bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_83bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_84bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_85bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_86bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_87bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_88bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_89bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_90bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_91bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_92bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_93bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_94bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_95bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_96bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_97bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_98bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_99bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_100bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_101bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_102bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_103bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_104bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_105bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_106bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_107bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_108bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_109bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_110bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_111bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_112bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_113bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_114bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_115bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_116bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_117bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_118bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_119bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_120bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_121bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_122bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_123bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_124bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_125bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_126bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_127bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_128bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_129bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_130bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_131bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_132bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_133bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_134bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_135bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_136bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_137bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_138bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_139bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_140bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_141bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_142bytes), L(table_144_bytes_fwd))
+ .int JMPTBL (L(fwd_write_143bytes), L(table_144_bytes_fwd))
+
+ ALIGN (3)
+L(shl_table_fwd):
+ .int JMPTBL (L(shl_0), L(shl_table_fwd))
+ .int JMPTBL (L(shl_1), L(shl_table_fwd))
+ .int JMPTBL (L(shl_2), L(shl_table_fwd))
+ .int JMPTBL (L(shl_3), L(shl_table_fwd))
+ .int JMPTBL (L(shl_4), L(shl_table_fwd))
+ .int JMPTBL (L(shl_5), L(shl_table_fwd))
+ .int JMPTBL (L(shl_6), L(shl_table_fwd))
+ .int JMPTBL (L(shl_7), L(shl_table_fwd))
+ .int JMPTBL (L(shl_8), L(shl_table_fwd))
+ .int JMPTBL (L(shl_9), L(shl_table_fwd))
+ .int JMPTBL (L(shl_10), L(shl_table_fwd))
+ .int JMPTBL (L(shl_11), L(shl_table_fwd))
+ .int JMPTBL (L(shl_12), L(shl_table_fwd))
+ .int JMPTBL (L(shl_13), L(shl_table_fwd))
+ .int JMPTBL (L(shl_14), L(shl_table_fwd))
+ .int JMPTBL (L(shl_15), L(shl_table_fwd))
+
+ ALIGN (3)
+L(shl_table_bwd):
+ .int JMPTBL (L(shl_0_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_1_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_2_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_3_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_4_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_5_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_6_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_7_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_8_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_9_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_10_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_11_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_12_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_13_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_14_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_15_bwd), L(shl_table_bwd))
+
+#endif
diff --git a/sysdeps/x86_64/multiarch/memcpy-ssse3.S b/sysdeps/x86_64/multiarch/memcpy-ssse3.S
new file mode 100644
index 0000000000..9a878d35ff
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memcpy-ssse3.S
@@ -0,0 +1,3139 @@
+/* memcpy with SSSE3
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+
+#if !defined NOT_IN_libc \
+ && (defined SHARED \
+ || defined USE_AS_MEMMOVE \
+ || !defined USE_MULTIARCH)
+
+#include "asm-syntax.h"
+
+#ifndef MEMCPY
+# define MEMCPY __memcpy_ssse3
+# define MEMCPY_CHK __memcpy_chk_ssse3
+#endif
+
+#ifndef ALIGN
+# define ALIGN(n) .p2align n
+#endif
+
+#define JMPTBL(I, B) I - B
+
+/* Branch to an entry in a jump table. TABLE is a jump table with
+ relative offsets. INDEX is a register contains the index into the
+ jump table. SCALE is the scale of INDEX. */
+#define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \
+ lea TABLE(%rip), %r11; \
+ movslq (%r11, INDEX, SCALE), INDEX; \
+ lea (%r11, INDEX), INDEX; \
+ jmp *INDEX; \
+ ud2
+
+ .section .text.ssse3,"ax",@progbits
+#if defined SHARED && !defined NOT_IN_libc
+ENTRY (MEMCPY_CHK)
+ cmpq %rdx, %rcx
+ jb HIDDEN_JUMPTARGET (__chk_fail)
+END (MEMCPY_CHK)
+#endif
+
+ENTRY (MEMCPY)
+ mov %rdi, %rax
+#ifdef USE_AS_MEMPCPY
+ add %rdx, %rax
+#endif
+
+#ifdef USE_AS_MEMMOVE
+ cmp %rsi, %rdi
+ jb L(copy_forward)
+ je L(write_0bytes)
+ cmp $79, %rdx
+ jbe L(copy_forward)
+ jmp L(copy_backward)
+L(copy_forward):
+#endif
+ cmp $79, %rdx
+ lea L(table_less_80bytes)(%rip), %r11
+ ja L(80bytesormore)
+ movslq (%r11, %rdx, 4), %r9
+ add %rdx, %rsi
+ add %rdx, %rdi
+ add %r11, %r9
+ jmp *%r9
+ ud2
+
+ ALIGN (4)
+L(80bytesormore):
+#ifndef USE_AS_MEMMOVE
+ cmp %dil, %sil
+ jle L(copy_backward)
+#endif
+
+ movdqu (%rsi), %xmm0
+ mov %rdi, %rcx
+ and $-16, %rdi
+ add $16, %rdi
+ mov %rcx, %r8
+ sub %rdi, %rcx
+ add %rcx, %rdx
+ sub %rcx, %rsi
+
+#ifdef SHARED_CACHE_SIZE_HALF
+ mov $SHARED_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_shared_cache_size_half(%rip), %rcx
+#endif
+ cmp %rcx, %rdx
+ mov %rsi, %r9
+ ja L(large_page_fwd)
+ and $0xf, %r9
+ jz L(shl_0)
+#ifdef DATA_CACHE_SIZE_HALF
+ mov $DATA_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_data_cache_size_half(%rip), %rcx
+#endif
+ BRANCH_TO_JMPTBL_ENTRY (L(shl_table), %r9, 4)
+
+ ALIGN (4)
+L(copy_backward):
+ movdqu -16(%rsi, %rdx), %xmm0
+ add %rdx, %rsi
+ lea -16(%rdi, %rdx), %r8
+ add %rdx, %rdi
+
+ mov %rdi, %rcx
+ and $0xf, %rcx
+ xor %rcx, %rdi
+ sub %rcx, %rdx
+ sub %rcx, %rsi
+
+#ifdef SHARED_CACHE_SIZE_HALF
+ mov $SHARED_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_shared_cache_size_half(%rip), %rcx
+#endif
+
+ cmp %rcx, %rdx
+ mov %rsi, %r9
+ ja L(large_page_bwd)
+ and $0xf, %r9
+ jz L(shl_0_bwd)
+#ifdef DATA_CACHE_SIZE_HALF
+ mov $DATA_CACHE_SIZE_HALF, %rcx
+#else
+ mov __x86_64_data_cache_size_half(%rip), %rcx
+#endif
+ BRANCH_TO_JMPTBL_ENTRY (L(shl_table_bwd), %r9, 4)
+
+ ALIGN (4)
+L(shl_0):
+ sub $16, %rdx
+ movdqa (%rsi), %xmm1
+ add $16, %rsi
+ movdqa %xmm1, (%rdi)
+ add $16, %rdi
+ cmp $128, %rdx
+ movdqu %xmm0, (%r8)
+ ja L(shl_0_gobble)
+ cmp $64, %rdx
+ jb L(shl_0_less_64bytes)
+ movaps (%rsi), %xmm4
+ movaps 16(%rsi), %xmm1
+ movaps 32(%rsi), %xmm2
+ movaps 48(%rsi), %xmm3
+ movaps %xmm4, (%rdi)
+ movaps %xmm1, 16(%rdi)
+ movaps %xmm2, 32(%rdi)
+ movaps %xmm3, 48(%rdi)
+ sub $64, %rdx
+ add $64, %rsi
+ add $64, %rdi
+L(shl_0_less_64bytes):
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_gobble):
+#ifdef DATA_CACHE_SIZE_HALF
+ cmp $DATA_CACHE_SIZE_HALF, %rdx
+#else
+ cmp __x86_64_data_cache_size_half(%rip), %rdx
+#endif
+ lea -128(%rdx), %rdx
+ jae L(shl_0_gobble_mem_loop)
+L(shl_0_gobble_cache_loop):
+ movdqa (%rsi), %xmm4
+ movaps 0x10(%rsi), %xmm1
+ movaps 0x20(%rsi), %xmm2
+ movaps 0x30(%rsi), %xmm3
+
+ movdqa %xmm4, (%rdi)
+ movaps %xmm1, 0x10(%rdi)
+ movaps %xmm2, 0x20(%rdi)
+ movaps %xmm3, 0x30(%rdi)
+
+ sub $128, %rdx
+ movaps 0x40(%rsi), %xmm4
+ movaps 0x50(%rsi), %xmm5
+ movaps 0x60(%rsi), %xmm6
+ movaps 0x70(%rsi), %xmm7
+ lea 0x80(%rsi), %rsi
+ movaps %xmm4, 0x40(%rdi)
+ movaps %xmm5, 0x50(%rdi)
+ movaps %xmm6, 0x60(%rdi)
+ movaps %xmm7, 0x70(%rdi)
+ lea 0x80(%rdi), %rdi
+
+ jae L(shl_0_gobble_cache_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(shl_0_cache_less_64bytes)
+
+ movdqa (%rsi), %xmm4
+ sub $0x40, %rdx
+ movdqa 0x10(%rsi), %xmm1
+
+ movdqa %xmm4, (%rdi)
+ movdqa %xmm1, 0x10(%rdi)
+
+ movdqa 0x20(%rsi), %xmm4
+ movdqa 0x30(%rsi), %xmm1
+ add $0x40, %rsi
+
+ movdqa %xmm4, 0x20(%rdi)
+ movdqa %xmm1, 0x30(%rdi)
+ add $0x40, %rdi
+L(shl_0_cache_less_64bytes):
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_gobble_mem_loop):
+ prefetcht0 0x1c0(%rsi)
+ prefetcht0 0x280(%rsi)
+
+ movdqa (%rsi), %xmm0
+ movdqa 0x10(%rsi), %xmm1
+ movdqa 0x20(%rsi), %xmm2
+ movdqa 0x30(%rsi), %xmm3
+ movdqa 0x40(%rsi), %xmm4
+ movdqa 0x50(%rsi), %xmm5
+ movdqa 0x60(%rsi), %xmm6
+ movdqa 0x70(%rsi), %xmm7
+ lea 0x80(%rsi), %rsi
+ sub $0x80, %rdx
+ movdqa %xmm0, (%rdi)
+ movdqa %xmm1, 0x10(%rdi)
+ movdqa %xmm2, 0x20(%rdi)
+ movdqa %xmm3, 0x30(%rdi)
+ movdqa %xmm4, 0x40(%rdi)
+ movdqa %xmm5, 0x50(%rdi)
+ movdqa %xmm6, 0x60(%rdi)
+ movdqa %xmm7, 0x70(%rdi)
+ lea 0x80(%rdi), %rdi
+
+ jae L(shl_0_gobble_mem_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(shl_0_mem_less_64bytes)
+
+ movdqa (%rsi), %xmm0
+ sub $0x40, %rdx
+ movdqa 0x10(%rsi), %xmm1
+
+ movdqa %xmm0, (%rdi)
+ movdqa %xmm1, 0x10(%rdi)
+
+ movdqa 0x20(%rsi), %xmm0
+ movdqa 0x30(%rsi), %xmm1
+ add $0x40, %rsi
+
+ movdqa %xmm0, 0x20(%rdi)
+ movdqa %xmm1, 0x30(%rdi)
+ add $0x40, %rdi
+L(shl_0_mem_less_64bytes):
+ cmp $0x20, %rdx
+ jb L(shl_0_mem_less_32bytes)
+ movdqa (%rsi), %xmm0
+ sub $0x20, %rdx
+ movdqa 0x10(%rsi), %xmm1
+ add $0x20, %rsi
+ movdqa %xmm0, (%rdi)
+ movdqa %xmm1, 0x10(%rdi)
+ add $0x20, %rdi
+L(shl_0_mem_less_32bytes):
+ add %rdx, %rdi
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_bwd):
+ sub $16, %rdx
+ movdqa -0x10(%rsi), %xmm1
+ sub $16, %rsi
+ movdqa %xmm1, -0x10(%rdi)
+ sub $16, %rdi
+ cmp $0x80, %rdx
+ movdqu %xmm0, (%r8)
+ ja L(shl_0_gobble_bwd)
+ cmp $64, %rdx
+ jb L(shl_0_less_64bytes_bwd)
+ movaps -0x10(%rsi), %xmm0
+ movaps -0x20(%rsi), %xmm1
+ movaps -0x30(%rsi), %xmm2
+ movaps -0x40(%rsi), %xmm3
+ movaps %xmm0, -0x10(%rdi)
+ movaps %xmm1, -0x20(%rdi)
+ movaps %xmm2, -0x30(%rdi)
+ movaps %xmm3, -0x40(%rdi)
+ sub $64, %rdx
+ sub $0x40, %rsi
+ sub $0x40, %rdi
+L(shl_0_less_64bytes_bwd):
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_gobble_bwd):
+#ifdef DATA_CACHE_SIZE_HALF
+ cmp $DATA_CACHE_SIZE_HALF, %rdx
+#else
+ cmp __x86_64_data_cache_size_half(%rip), %rdx
+#endif
+ lea -128(%rdx), %rdx
+ jae L(shl_0_gobble_mem_bwd_loop)
+L(shl_0_gobble_bwd_loop):
+ movdqa -0x10(%rsi), %xmm0
+ movaps -0x20(%rsi), %xmm1
+ movaps -0x30(%rsi), %xmm2
+ movaps -0x40(%rsi), %xmm3
+
+ movdqa %xmm0, -0x10(%rdi)
+ movaps %xmm1, -0x20(%rdi)
+ movaps %xmm2, -0x30(%rdi)
+ movaps %xmm3, -0x40(%rdi)
+
+ sub $0x80, %rdx
+ movaps -0x50(%rsi), %xmm4
+ movaps -0x60(%rsi), %xmm5
+ movaps -0x70(%rsi), %xmm6
+ movaps -0x80(%rsi), %xmm7
+ lea -0x80(%rsi), %rsi
+ movaps %xmm4, -0x50(%rdi)
+ movaps %xmm5, -0x60(%rdi)
+ movaps %xmm6, -0x70(%rdi)
+ movaps %xmm7, -0x80(%rdi)
+ lea -0x80(%rdi), %rdi
+
+ jae L(shl_0_gobble_bwd_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(shl_0_gobble_bwd_less_64bytes)
+
+ movdqa -0x10(%rsi), %xmm0
+ sub $0x40, %rdx
+ movdqa -0x20(%rsi), %xmm1
+
+ movdqa %xmm0, -0x10(%rdi)
+ movdqa %xmm1, -0x20(%rdi)
+
+ movdqa -0x30(%rsi), %xmm0
+ movdqa -0x40(%rsi), %xmm1
+ sub $0x40, %rsi
+
+ movdqa %xmm0, -0x30(%rdi)
+ movdqa %xmm1, -0x40(%rdi)
+ sub $0x40, %rdi
+L(shl_0_gobble_bwd_less_64bytes):
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_0_gobble_mem_bwd_loop):
+ prefetcht0 -0x1c0(%rsi)
+ prefetcht0 -0x280(%rsi)
+ movdqa -0x10(%rsi), %xmm0
+ movdqa -0x20(%rsi), %xmm1
+ movdqa -0x30(%rsi), %xmm2
+ movdqa -0x40(%rsi), %xmm3
+ movdqa -0x50(%rsi), %xmm4
+ movdqa -0x60(%rsi), %xmm5
+ movdqa -0x70(%rsi), %xmm6
+ movdqa -0x80(%rsi), %xmm7
+ lea -0x80(%rsi), %rsi
+ sub $0x80, %rdx
+ movdqa %xmm0, -0x10(%rdi)
+ movdqa %xmm1, -0x20(%rdi)
+ movdqa %xmm2, -0x30(%rdi)
+ movdqa %xmm3, -0x40(%rdi)
+ movdqa %xmm4, -0x50(%rdi)
+ movdqa %xmm5, -0x60(%rdi)
+ movdqa %xmm6, -0x70(%rdi)
+ movdqa %xmm7, -0x80(%rdi)
+ lea -0x80(%rdi), %rdi
+
+ jae L(shl_0_gobble_mem_bwd_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(shl_0_mem_bwd_less_64bytes)
+
+ movdqa -0x10(%rsi), %xmm0
+ sub $0x40, %rdx
+ movdqa -0x20(%rsi), %xmm1
+
+ movdqa %xmm0, -0x10(%rdi)
+ movdqa %xmm1, -0x20(%rdi)
+
+ movdqa -0x30(%rsi), %xmm0
+ movdqa -0x40(%rsi), %xmm1
+ sub $0x40, %rsi
+
+ movdqa %xmm0, -0x30(%rdi)
+ movdqa %xmm1, -0x40(%rdi)
+ sub $0x40, %rdi
+L(shl_0_mem_bwd_less_64bytes):
+ cmp $0x20, %rdx
+ jb L(shl_0_mem_bwd_less_32bytes)
+ movdqa -0x10(%rsi), %xmm0
+ sub $0x20, %rdx
+ movdqa -0x20(%rsi), %xmm1
+ sub $0x20, %rsi
+ movdqa %xmm0, -0x10(%rdi)
+ movdqa %xmm1, -0x20(%rdi)
+ sub $0x20, %rdi
+L(shl_0_mem_bwd_less_32bytes):
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_1):
+ lea (L(shl_1_loop_L1)-L(shl_1))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x01(%rsi), %xmm1
+ jb L(L1_fwd)
+ lea (L(shl_1_loop_L2)-L(shl_1_loop_L1))(%r9), %r9
+L(L1_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_1_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_1_loop_L1):
+ sub $64, %rdx
+ movaps 0x0f(%rsi), %xmm2
+ movaps 0x1f(%rsi), %xmm3
+ movaps 0x2f(%rsi), %xmm4
+ movaps 0x3f(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $1, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $1, %xmm3, %xmm4
+ palignr $1, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $1, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_1_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_1_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_1_bwd):
+ lea (L(shl_1_bwd_loop_L1)-L(shl_1_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x01(%rsi), %xmm1
+ jb L(L1_bwd)
+ lea (L(shl_1_bwd_loop_L2)-L(shl_1_bwd_loop_L1))(%r9), %r9
+L(L1_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_1_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_1_bwd_loop_L1):
+ movaps -0x11(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x21(%rsi), %xmm3
+ movaps -0x31(%rsi), %xmm4
+ movaps -0x41(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $1, %xmm2, %xmm1
+ palignr $1, %xmm3, %xmm2
+ palignr $1, %xmm4, %xmm3
+ palignr $1, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_1_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_1_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_2):
+ lea (L(shl_2_loop_L1)-L(shl_2))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x02(%rsi), %xmm1
+ jb L(L2_fwd)
+ lea (L(shl_2_loop_L2)-L(shl_2_loop_L1))(%r9), %r9
+L(L2_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_2_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_2_loop_L1):
+ sub $64, %rdx
+ movaps 0x0e(%rsi), %xmm2
+ movaps 0x1e(%rsi), %xmm3
+ movaps 0x2e(%rsi), %xmm4
+ movaps 0x3e(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $2, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $2, %xmm3, %xmm4
+ palignr $2, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $2, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_2_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_2_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_2_bwd):
+ lea (L(shl_2_bwd_loop_L1)-L(shl_2_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x02(%rsi), %xmm1
+ jb L(L2_bwd)
+ lea (L(shl_2_bwd_loop_L2)-L(shl_2_bwd_loop_L1))(%r9), %r9
+L(L2_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_2_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_2_bwd_loop_L1):
+ movaps -0x12(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x22(%rsi), %xmm3
+ movaps -0x32(%rsi), %xmm4
+ movaps -0x42(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $2, %xmm2, %xmm1
+ palignr $2, %xmm3, %xmm2
+ palignr $2, %xmm4, %xmm3
+ palignr $2, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_2_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_2_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_3):
+ lea (L(shl_3_loop_L1)-L(shl_3))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x03(%rsi), %xmm1
+ jb L(L3_fwd)
+ lea (L(shl_3_loop_L2)-L(shl_3_loop_L1))(%r9), %r9
+L(L3_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_3_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_3_loop_L1):
+ sub $64, %rdx
+ movaps 0x0d(%rsi), %xmm2
+ movaps 0x1d(%rsi), %xmm3
+ movaps 0x2d(%rsi), %xmm4
+ movaps 0x3d(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $3, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $3, %xmm3, %xmm4
+ palignr $3, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $3, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_3_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_3_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_3_bwd):
+ lea (L(shl_3_bwd_loop_L1)-L(shl_3_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x03(%rsi), %xmm1
+ jb L(L3_bwd)
+ lea (L(shl_3_bwd_loop_L2)-L(shl_3_bwd_loop_L1))(%r9), %r9
+L(L3_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_3_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_3_bwd_loop_L1):
+ movaps -0x13(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x23(%rsi), %xmm3
+ movaps -0x33(%rsi), %xmm4
+ movaps -0x43(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $3, %xmm2, %xmm1
+ palignr $3, %xmm3, %xmm2
+ palignr $3, %xmm4, %xmm3
+ palignr $3, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_3_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_3_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_4):
+ lea (L(shl_4_loop_L1)-L(shl_4))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x04(%rsi), %xmm1
+ jb L(L4_fwd)
+ lea (L(shl_4_loop_L2)-L(shl_4_loop_L1))(%r9), %r9
+L(L4_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_4_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_4_loop_L1):
+ sub $64, %rdx
+ movaps 0x0c(%rsi), %xmm2
+ movaps 0x1c(%rsi), %xmm3
+ movaps 0x2c(%rsi), %xmm4
+ movaps 0x3c(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $4, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $4, %xmm3, %xmm4
+ palignr $4, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $4, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_4_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_4_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_4_bwd):
+ lea (L(shl_4_bwd_loop_L1)-L(shl_4_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x04(%rsi), %xmm1
+ jb L(L4_bwd)
+ lea (L(shl_4_bwd_loop_L2)-L(shl_4_bwd_loop_L1))(%r9), %r9
+L(L4_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_4_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_4_bwd_loop_L1):
+ movaps -0x14(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x24(%rsi), %xmm3
+ movaps -0x34(%rsi), %xmm4
+ movaps -0x44(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $4, %xmm2, %xmm1
+ palignr $4, %xmm3, %xmm2
+ palignr $4, %xmm4, %xmm3
+ palignr $4, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_4_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_4_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_5):
+ lea (L(shl_5_loop_L1)-L(shl_5))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x05(%rsi), %xmm1
+ jb L(L5_fwd)
+ lea (L(shl_5_loop_L2)-L(shl_5_loop_L1))(%r9), %r9
+L(L5_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_5_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_5_loop_L1):
+ sub $64, %rdx
+ movaps 0x0b(%rsi), %xmm2
+ movaps 0x1b(%rsi), %xmm3
+ movaps 0x2b(%rsi), %xmm4
+ movaps 0x3b(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $5, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $5, %xmm3, %xmm4
+ palignr $5, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $5, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_5_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_5_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_5_bwd):
+ lea (L(shl_5_bwd_loop_L1)-L(shl_5_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x05(%rsi), %xmm1
+ jb L(L5_bwd)
+ lea (L(shl_5_bwd_loop_L2)-L(shl_5_bwd_loop_L1))(%r9), %r9
+L(L5_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_5_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_5_bwd_loop_L1):
+ movaps -0x15(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x25(%rsi), %xmm3
+ movaps -0x35(%rsi), %xmm4
+ movaps -0x45(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $5, %xmm2, %xmm1
+ palignr $5, %xmm3, %xmm2
+ palignr $5, %xmm4, %xmm3
+ palignr $5, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_5_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_5_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_6):
+ lea (L(shl_6_loop_L1)-L(shl_6))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x06(%rsi), %xmm1
+ jb L(L6_fwd)
+ lea (L(shl_6_loop_L2)-L(shl_6_loop_L1))(%r9), %r9
+L(L6_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_6_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_6_loop_L1):
+ sub $64, %rdx
+ movaps 0x0a(%rsi), %xmm2
+ movaps 0x1a(%rsi), %xmm3
+ movaps 0x2a(%rsi), %xmm4
+ movaps 0x3a(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $6, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $6, %xmm3, %xmm4
+ palignr $6, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $6, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_6_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_6_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_6_bwd):
+ lea (L(shl_6_bwd_loop_L1)-L(shl_6_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x06(%rsi), %xmm1
+ jb L(L6_bwd)
+ lea (L(shl_6_bwd_loop_L2)-L(shl_6_bwd_loop_L1))(%r9), %r9
+L(L6_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_6_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_6_bwd_loop_L1):
+ movaps -0x16(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x26(%rsi), %xmm3
+ movaps -0x36(%rsi), %xmm4
+ movaps -0x46(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $6, %xmm2, %xmm1
+ palignr $6, %xmm3, %xmm2
+ palignr $6, %xmm4, %xmm3
+ palignr $6, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_6_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_6_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_7):
+ lea (L(shl_7_loop_L1)-L(shl_7))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x07(%rsi), %xmm1
+ jb L(L7_fwd)
+ lea (L(shl_7_loop_L2)-L(shl_7_loop_L1))(%r9), %r9
+L(L7_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_7_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_7_loop_L1):
+ sub $64, %rdx
+ movaps 0x09(%rsi), %xmm2
+ movaps 0x19(%rsi), %xmm3
+ movaps 0x29(%rsi), %xmm4
+ movaps 0x39(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $7, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $7, %xmm3, %xmm4
+ palignr $7, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $7, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_7_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_7_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_7_bwd):
+ lea (L(shl_7_bwd_loop_L1)-L(shl_7_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x07(%rsi), %xmm1
+ jb L(L7_bwd)
+ lea (L(shl_7_bwd_loop_L2)-L(shl_7_bwd_loop_L1))(%r9), %r9
+L(L7_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_7_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_7_bwd_loop_L1):
+ movaps -0x17(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x27(%rsi), %xmm3
+ movaps -0x37(%rsi), %xmm4
+ movaps -0x47(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $7, %xmm2, %xmm1
+ palignr $7, %xmm3, %xmm2
+ palignr $7, %xmm4, %xmm3
+ palignr $7, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_7_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_7_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_8):
+ lea (L(shl_8_loop_L1)-L(shl_8))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x08(%rsi), %xmm1
+ jb L(L8_fwd)
+ lea (L(shl_8_loop_L2)-L(shl_8_loop_L1))(%r9), %r9
+L(L8_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+L(shl_8_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_8_loop_L1):
+ sub $64, %rdx
+ movaps 0x08(%rsi), %xmm2
+ movaps 0x18(%rsi), %xmm3
+ movaps 0x28(%rsi), %xmm4
+ movaps 0x38(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $8, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $8, %xmm3, %xmm4
+ palignr $8, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $8, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_8_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+ ALIGN (4)
+L(shl_8_end):
+ lea 64(%rdx), %rdx
+ movaps %xmm4, -0x20(%rdi)
+ add %rdx, %rsi
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_8_bwd):
+ lea (L(shl_8_bwd_loop_L1)-L(shl_8_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x08(%rsi), %xmm1
+ jb L(L8_bwd)
+ lea (L(shl_8_bwd_loop_L2)-L(shl_8_bwd_loop_L1))(%r9), %r9
+L(L8_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_8_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_8_bwd_loop_L1):
+ movaps -0x18(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x28(%rsi), %xmm3
+ movaps -0x38(%rsi), %xmm4
+ movaps -0x48(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $8, %xmm2, %xmm1
+ palignr $8, %xmm3, %xmm2
+ palignr $8, %xmm4, %xmm3
+ palignr $8, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_8_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_8_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_9):
+ lea (L(shl_9_loop_L1)-L(shl_9))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x09(%rsi), %xmm1
+ jb L(L9_fwd)
+ lea (L(shl_9_loop_L2)-L(shl_9_loop_L1))(%r9), %r9
+L(L9_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_9_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_9_loop_L1):
+ sub $64, %rdx
+ movaps 0x07(%rsi), %xmm2
+ movaps 0x17(%rsi), %xmm3
+ movaps 0x27(%rsi), %xmm4
+ movaps 0x37(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $9, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $9, %xmm3, %xmm4
+ palignr $9, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $9, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_9_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_9_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_9_bwd):
+ lea (L(shl_9_bwd_loop_L1)-L(shl_9_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x09(%rsi), %xmm1
+ jb L(L9_bwd)
+ lea (L(shl_9_bwd_loop_L2)-L(shl_9_bwd_loop_L1))(%r9), %r9
+L(L9_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_9_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_9_bwd_loop_L1):
+ movaps -0x19(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x29(%rsi), %xmm3
+ movaps -0x39(%rsi), %xmm4
+ movaps -0x49(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $9, %xmm2, %xmm1
+ palignr $9, %xmm3, %xmm2
+ palignr $9, %xmm4, %xmm3
+ palignr $9, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_9_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_9_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_10):
+ lea (L(shl_10_loop_L1)-L(shl_10))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0a(%rsi), %xmm1
+ jb L(L10_fwd)
+ lea (L(shl_10_loop_L2)-L(shl_10_loop_L1))(%r9), %r9
+L(L10_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_10_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_10_loop_L1):
+ sub $64, %rdx
+ movaps 0x06(%rsi), %xmm2
+ movaps 0x16(%rsi), %xmm3
+ movaps 0x26(%rsi), %xmm4
+ movaps 0x36(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $10, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $10, %xmm3, %xmm4
+ palignr $10, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $10, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_10_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_10_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_10_bwd):
+ lea (L(shl_10_bwd_loop_L1)-L(shl_10_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0a(%rsi), %xmm1
+ jb L(L10_bwd)
+ lea (L(shl_10_bwd_loop_L2)-L(shl_10_bwd_loop_L1))(%r9), %r9
+L(L10_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_10_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_10_bwd_loop_L1):
+ movaps -0x1a(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2a(%rsi), %xmm3
+ movaps -0x3a(%rsi), %xmm4
+ movaps -0x4a(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $10, %xmm2, %xmm1
+ palignr $10, %xmm3, %xmm2
+ palignr $10, %xmm4, %xmm3
+ palignr $10, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_10_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_10_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_11):
+ lea (L(shl_11_loop_L1)-L(shl_11))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0b(%rsi), %xmm1
+ jb L(L11_fwd)
+ lea (L(shl_11_loop_L2)-L(shl_11_loop_L1))(%r9), %r9
+L(L11_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_11_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_11_loop_L1):
+ sub $64, %rdx
+ movaps 0x05(%rsi), %xmm2
+ movaps 0x15(%rsi), %xmm3
+ movaps 0x25(%rsi), %xmm4
+ movaps 0x35(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $11, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $11, %xmm3, %xmm4
+ palignr $11, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $11, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_11_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_11_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_11_bwd):
+ lea (L(shl_11_bwd_loop_L1)-L(shl_11_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0b(%rsi), %xmm1
+ jb L(L11_bwd)
+ lea (L(shl_11_bwd_loop_L2)-L(shl_11_bwd_loop_L1))(%r9), %r9
+L(L11_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_11_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_11_bwd_loop_L1):
+ movaps -0x1b(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2b(%rsi), %xmm3
+ movaps -0x3b(%rsi), %xmm4
+ movaps -0x4b(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $11, %xmm2, %xmm1
+ palignr $11, %xmm3, %xmm2
+ palignr $11, %xmm4, %xmm3
+ palignr $11, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_11_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_11_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_12):
+ lea (L(shl_12_loop_L1)-L(shl_12))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0c(%rsi), %xmm1
+ jb L(L12_fwd)
+ lea (L(shl_12_loop_L2)-L(shl_12_loop_L1))(%r9), %r9
+L(L12_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_12_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_12_loop_L1):
+ sub $64, %rdx
+ movaps 0x04(%rsi), %xmm2
+ movaps 0x14(%rsi), %xmm3
+ movaps 0x24(%rsi), %xmm4
+ movaps 0x34(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $12, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $12, %xmm3, %xmm4
+ palignr $12, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $12, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_12_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_12_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_12_bwd):
+ lea (L(shl_12_bwd_loop_L1)-L(shl_12_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0c(%rsi), %xmm1
+ jb L(L12_bwd)
+ lea (L(shl_12_bwd_loop_L2)-L(shl_12_bwd_loop_L1))(%r9), %r9
+L(L12_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_12_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_12_bwd_loop_L1):
+ movaps -0x1c(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2c(%rsi), %xmm3
+ movaps -0x3c(%rsi), %xmm4
+ movaps -0x4c(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $12, %xmm2, %xmm1
+ palignr $12, %xmm3, %xmm2
+ palignr $12, %xmm4, %xmm3
+ palignr $12, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_12_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_12_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_13):
+ lea (L(shl_13_loop_L1)-L(shl_13))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0d(%rsi), %xmm1
+ jb L(L13_fwd)
+ lea (L(shl_13_loop_L2)-L(shl_13_loop_L1))(%r9), %r9
+L(L13_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_13_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_13_loop_L1):
+ sub $64, %rdx
+ movaps 0x03(%rsi), %xmm2
+ movaps 0x13(%rsi), %xmm3
+ movaps 0x23(%rsi), %xmm4
+ movaps 0x33(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $13, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $13, %xmm3, %xmm4
+ palignr $13, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $13, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_13_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_13_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_13_bwd):
+ lea (L(shl_13_bwd_loop_L1)-L(shl_13_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0d(%rsi), %xmm1
+ jb L(L13_bwd)
+ lea (L(shl_13_bwd_loop_L2)-L(shl_13_bwd_loop_L1))(%r9), %r9
+L(L13_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_13_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_13_bwd_loop_L1):
+ movaps -0x1d(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2d(%rsi), %xmm3
+ movaps -0x3d(%rsi), %xmm4
+ movaps -0x4d(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $13, %xmm2, %xmm1
+ palignr $13, %xmm3, %xmm2
+ palignr $13, %xmm4, %xmm3
+ palignr $13, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_13_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_13_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_14):
+ lea (L(shl_14_loop_L1)-L(shl_14))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0e(%rsi), %xmm1
+ jb L(L14_fwd)
+ lea (L(shl_14_loop_L2)-L(shl_14_loop_L1))(%r9), %r9
+L(L14_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_14_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_14_loop_L1):
+ sub $64, %rdx
+ movaps 0x02(%rsi), %xmm2
+ movaps 0x12(%rsi), %xmm3
+ movaps 0x22(%rsi), %xmm4
+ movaps 0x32(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $14, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $14, %xmm3, %xmm4
+ palignr $14, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $14, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_14_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_14_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_14_bwd):
+ lea (L(shl_14_bwd_loop_L1)-L(shl_14_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0e(%rsi), %xmm1
+ jb L(L14_bwd)
+ lea (L(shl_14_bwd_loop_L2)-L(shl_14_bwd_loop_L1))(%r9), %r9
+L(L14_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_14_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_14_bwd_loop_L1):
+ movaps -0x1e(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2e(%rsi), %xmm3
+ movaps -0x3e(%rsi), %xmm4
+ movaps -0x4e(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $14, %xmm2, %xmm1
+ palignr $14, %xmm3, %xmm2
+ palignr $14, %xmm4, %xmm3
+ palignr $14, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_14_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_14_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_15):
+ lea (L(shl_15_loop_L1)-L(shl_15))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0f(%rsi), %xmm1
+ jb L(L15_fwd)
+ lea (L(shl_15_loop_L2)-L(shl_15_loop_L1))(%r9), %r9
+L(L15_fwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_15_loop_L2):
+ prefetchnta 0x1c0(%rsi)
+L(shl_15_loop_L1):
+ sub $64, %rdx
+ movaps 0x01(%rsi), %xmm2
+ movaps 0x11(%rsi), %xmm3
+ movaps 0x21(%rsi), %xmm4
+ movaps 0x31(%rsi), %xmm5
+ movdqa %xmm5, %xmm6
+ palignr $15, %xmm4, %xmm5
+ lea 64(%rsi), %rsi
+ palignr $15, %xmm3, %xmm4
+ palignr $15, %xmm2, %xmm3
+ lea 64(%rdi), %rdi
+ palignr $15, %xmm1, %xmm2
+ movdqa %xmm6, %xmm1
+ movdqa %xmm2, -0x40(%rdi)
+ movaps %xmm3, -0x30(%rdi)
+ jb L(shl_15_end)
+ movaps %xmm4, -0x20(%rdi)
+ movaps %xmm5, -0x10(%rdi)
+ jmp *%r9
+ ud2
+L(shl_15_end):
+ movaps %xmm4, -0x20(%rdi)
+ lea 64(%rdx), %rdx
+ movaps %xmm5, -0x10(%rdi)
+ add %rdx, %rdi
+ movdqu %xmm0, (%r8)
+ add %rdx, %rsi
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(shl_15_bwd):
+ lea (L(shl_15_bwd_loop_L1)-L(shl_15_bwd))(%r9), %r9
+ cmp %rcx, %rdx
+ movaps -0x0f(%rsi), %xmm1
+ jb L(L15_bwd)
+ lea (L(shl_15_bwd_loop_L2)-L(shl_15_bwd_loop_L1))(%r9), %r9
+L(L15_bwd):
+ lea -64(%rdx), %rdx
+ jmp *%r9
+ ud2
+L(shl_15_bwd_loop_L2):
+ prefetchnta -0x1c0(%rsi)
+L(shl_15_bwd_loop_L1):
+ movaps -0x1f(%rsi), %xmm2
+ sub $0x40, %rdx
+ movaps -0x2f(%rsi), %xmm3
+ movaps -0x3f(%rsi), %xmm4
+ movaps -0x4f(%rsi), %xmm5
+ lea -0x40(%rsi), %rsi
+ palignr $15, %xmm2, %xmm1
+ palignr $15, %xmm3, %xmm2
+ palignr $15, %xmm4, %xmm3
+ palignr $15, %xmm5, %xmm4
+
+ movaps %xmm1, -0x10(%rdi)
+ movaps %xmm5, %xmm1
+
+ movaps %xmm2, -0x20(%rdi)
+ lea -0x40(%rdi), %rdi
+
+ movaps %xmm3, 0x10(%rdi)
+ jb L(shl_15_bwd_end)
+ movaps %xmm4, (%rdi)
+ jmp *%r9
+ ud2
+L(shl_15_bwd_end):
+ movaps %xmm4, (%rdi)
+ lea 64(%rdx), %rdx
+ movdqu %xmm0, (%r8)
+ BRANCH_TO_JMPTBL_ENTRY(L(table_less_80bytes), %rdx, 4)
+
+ ALIGN (4)
+L(write_72bytes):
+ movdqu -72(%rsi), %xmm0
+ movdqu -56(%rsi), %xmm1
+ mov -40(%rsi), %r8
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rcx
+ movdqu %xmm0, -72(%rdi)
+ movdqu %xmm1, -56(%rdi)
+ mov %r8, -40(%rdi)
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rcx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_64bytes):
+ movdqu -64(%rsi), %xmm0
+ mov -48(%rsi), %rcx
+ mov -40(%rsi), %r8
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -64(%rdi)
+ mov %rcx, -48(%rdi)
+ mov %r8, -40(%rdi)
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_56bytes):
+ movdqu -56(%rsi), %xmm0
+ mov -40(%rsi), %r8
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rcx
+ movdqu %xmm0, -56(%rdi)
+ mov %r8, -40(%rdi)
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rcx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_48bytes):
+ mov -48(%rsi), %rcx
+ mov -40(%rsi), %r8
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ mov %rcx, -48(%rdi)
+ mov %r8, -40(%rdi)
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_40bytes):
+ mov -40(%rsi), %r8
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ mov %r8, -40(%rdi)
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_32bytes):
+ mov -32(%rsi), %r9
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ mov %r9, -32(%rdi)
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_24bytes):
+ mov -24(%rsi), %r10
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ mov %r10, -24(%rdi)
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_16bytes):
+ mov -16(%rsi), %r11
+ mov -8(%rsi), %rdx
+ mov %r11, -16(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_8bytes):
+ mov -8(%rsi), %rdx
+ mov %rdx, -8(%rdi)
+L(write_0bytes):
+ ret
+
+ ALIGN (4)
+L(write_73bytes):
+ movdqu -73(%rsi), %xmm0
+ movdqu -57(%rsi), %xmm1
+ mov -41(%rsi), %rcx
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %r8
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -73(%rdi)
+ movdqu %xmm1, -57(%rdi)
+ mov %rcx, -41(%rdi)
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %r8, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_65bytes):
+ movdqu -65(%rsi), %xmm0
+ movdqu -49(%rsi), %xmm1
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -65(%rdi)
+ movdqu %xmm1, -49(%rdi)
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_57bytes):
+ movdqu -57(%rsi), %xmm0
+ mov -41(%rsi), %r8
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -57(%rdi)
+ mov %r8, -41(%rdi)
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_49bytes):
+ movdqu -49(%rsi), %xmm0
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -49(%rdi)
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_41bytes):
+ mov -41(%rsi), %r8
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -1(%rsi), %dl
+ mov %r8, -41(%rdi)
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %dl, -1(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_33bytes):
+ mov -33(%rsi), %r9
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -1(%rsi), %dl
+ mov %r9, -33(%rdi)
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %dl, -1(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_25bytes):
+ mov -25(%rsi), %r10
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -1(%rsi), %dl
+ mov %r10, -25(%rdi)
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %dl, -1(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_17bytes):
+ mov -17(%rsi), %r11
+ mov -9(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r11, -17(%rdi)
+ mov %rcx, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_9bytes):
+ mov -9(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %rcx, -9(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_1bytes):
+ mov -1(%rsi), %dl
+ mov %dl, -1(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_74bytes):
+ movdqu -74(%rsi), %xmm0
+ movdqu -58(%rsi), %xmm1
+ mov -42(%rsi), %r8
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -74(%rdi)
+ movdqu %xmm1, -58(%rdi)
+ mov %r8, -42(%rdi)
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_66bytes):
+ movdqu -66(%rsi), %xmm0
+ movdqu -50(%rsi), %xmm1
+ mov -42(%rsi), %r8
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -66(%rdi)
+ movdqu %xmm1, -50(%rdi)
+ mov %r8, -42(%rdi)
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_58bytes):
+ movdqu -58(%rsi), %xmm1
+ mov -42(%rsi), %r8
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm1, -58(%rdi)
+ mov %r8, -42(%rdi)
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_50bytes):
+ movdqu -50(%rsi), %xmm0
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -50(%rdi)
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_42bytes):
+ mov -42(%rsi), %r8
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r8, -42(%rdi)
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_34bytes):
+ mov -34(%rsi), %r9
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r9, -34(%rdi)
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_26bytes):
+ mov -26(%rsi), %r10
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r10, -26(%rdi)
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_18bytes):
+ mov -18(%rsi), %r11
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r11, -18(%rdi)
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_10bytes):
+ mov -10(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %rcx, -10(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_2bytes):
+ mov -2(%rsi), %dx
+ mov %dx, -2(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_75bytes):
+ movdqu -75(%rsi), %xmm0
+ movdqu -59(%rsi), %xmm1
+ mov -43(%rsi), %r8
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -75(%rdi)
+ movdqu %xmm1, -59(%rdi)
+ mov %r8, -43(%rdi)
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_67bytes):
+ movdqu -67(%rsi), %xmm0
+ movdqu -59(%rsi), %xmm1
+ mov -43(%rsi), %r8
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -67(%rdi)
+ movdqu %xmm1, -59(%rdi)
+ mov %r8, -43(%rdi)
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_59bytes):
+ movdqu -59(%rsi), %xmm0
+ mov -43(%rsi), %r8
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -59(%rdi)
+ mov %r8, -43(%rdi)
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_51bytes):
+ movdqu -51(%rsi), %xmm0
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -51(%rdi)
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_43bytes):
+ mov -43(%rsi), %r8
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r8, -43(%rdi)
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_35bytes):
+ mov -35(%rsi), %r9
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r9, -35(%rdi)
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_27bytes):
+ mov -27(%rsi), %r10
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r10, -27(%rdi)
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_19bytes):
+ mov -19(%rsi), %r11
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r11, -19(%rdi)
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_11bytes):
+ mov -11(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %rcx, -11(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_3bytes):
+ mov -3(%rsi), %dx
+ mov -2(%rsi), %cx
+ mov %dx, -3(%rdi)
+ mov %cx, -2(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_76bytes):
+ movdqu -76(%rsi), %xmm0
+ movdqu -60(%rsi), %xmm1
+ mov -44(%rsi), %r8
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -76(%rdi)
+ movdqu %xmm1, -60(%rdi)
+ mov %r8, -44(%rdi)
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_68bytes):
+ movdqu -68(%rsi), %xmm0
+ movdqu -52(%rsi), %xmm1
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -68(%rdi)
+ movdqu %xmm1, -52(%rdi)
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_60bytes):
+ movdqu -60(%rsi), %xmm0
+ mov -44(%rsi), %r8
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -60(%rdi)
+ mov %r8, -44(%rdi)
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_52bytes):
+ movdqu -52(%rsi), %xmm0
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ movdqu %xmm0, -52(%rdi)
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_44bytes):
+ mov -44(%rsi), %r8
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r8, -44(%rdi)
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_36bytes):
+ mov -36(%rsi), %r9
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r9, -36(%rdi)
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_28bytes):
+ mov -28(%rsi), %r10
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r10, -28(%rdi)
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_20bytes):
+ mov -20(%rsi), %r11
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %r11, -20(%rdi)
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_12bytes):
+ mov -12(%rsi), %rcx
+ mov -4(%rsi), %edx
+ mov %rcx, -12(%rdi)
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_4bytes):
+ mov -4(%rsi), %edx
+ mov %edx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_77bytes):
+ movdqu -77(%rsi), %xmm0
+ movdqu -61(%rsi), %xmm1
+ mov -45(%rsi), %r8
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -77(%rdi)
+ movdqu %xmm1, -61(%rdi)
+ mov %r8, -45(%rdi)
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_69bytes):
+ movdqu -69(%rsi), %xmm0
+ movdqu -53(%rsi), %xmm1
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -69(%rdi)
+ movdqu %xmm1, -53(%rdi)
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_61bytes):
+ movdqu -61(%rsi), %xmm0
+ mov -45(%rsi), %r8
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -61(%rdi)
+ mov %r8, -45(%rdi)
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_53bytes):
+ movdqu -53(%rsi), %xmm0
+ mov -45(%rsi), %r8
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -53(%rdi)
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_45bytes):
+ mov -45(%rsi), %r8
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r8, -45(%rdi)
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_37bytes):
+ mov -37(%rsi), %r9
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r9, -37(%rdi)
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_29bytes):
+ mov -29(%rsi), %r10
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r10, -29(%rdi)
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_21bytes):
+ mov -21(%rsi), %r11
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r11, -21(%rdi)
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_13bytes):
+ mov -13(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %rcx, -13(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_5bytes):
+ mov -5(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -5(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_78bytes):
+ movdqu -78(%rsi), %xmm0
+ movdqu -62(%rsi), %xmm1
+ mov -46(%rsi), %r8
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -78(%rdi)
+ movdqu %xmm1, -62(%rdi)
+ mov %r8, -46(%rdi)
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_70bytes):
+ movdqu -70(%rsi), %xmm0
+ movdqu -54(%rsi), %xmm1
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -70(%rdi)
+ movdqu %xmm1, -54(%rdi)
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_62bytes):
+ movdqu -62(%rsi), %xmm0
+ mov -46(%rsi), %r8
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -62(%rdi)
+ mov %r8, -46(%rdi)
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_54bytes):
+ movdqu -54(%rsi), %xmm0
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -54(%rdi)
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_46bytes):
+ mov -46(%rsi), %r8
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r8, -46(%rdi)
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_38bytes):
+ mov -38(%rsi), %r9
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r9, -38(%rdi)
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_30bytes):
+ mov -30(%rsi), %r10
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r10, -30(%rdi)
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_22bytes):
+ mov -22(%rsi), %r11
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r11, -22(%rdi)
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_14bytes):
+ mov -14(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %rcx, -14(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_6bytes):
+ mov -6(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -6(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_79bytes):
+ movdqu -79(%rsi), %xmm0
+ movdqu -63(%rsi), %xmm1
+ mov -47(%rsi), %r8
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -79(%rdi)
+ movdqu %xmm1, -63(%rdi)
+ mov %r8, -47(%rdi)
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_71bytes):
+ movdqu -71(%rsi), %xmm0
+ movdqu -55(%rsi), %xmm1
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -71(%rdi)
+ movdqu %xmm1, -55(%rdi)
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_63bytes):
+ movdqu -63(%rsi), %xmm0
+ mov -47(%rsi), %r8
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -63(%rdi)
+ mov %r8, -47(%rdi)
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_55bytes):
+ movdqu -55(%rsi), %xmm0
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ movdqu %xmm0, -55(%rdi)
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_47bytes):
+ mov -47(%rsi), %r8
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r8, -47(%rdi)
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_39bytes):
+ mov -39(%rsi), %r9
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r9, -39(%rdi)
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_31bytes):
+ mov -31(%rsi), %r10
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r10, -31(%rdi)
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_23bytes):
+ mov -23(%rsi), %r11
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %r11, -23(%rdi)
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_15bytes):
+ mov -15(%rsi), %rcx
+ mov -8(%rsi), %rdx
+ mov %rcx, -15(%rdi)
+ mov %rdx, -8(%rdi)
+ ret
+
+ ALIGN (4)
+L(write_7bytes):
+ mov -7(%rsi), %edx
+ mov -4(%rsi), %ecx
+ mov %edx, -7(%rdi)
+ mov %ecx, -4(%rdi)
+ ret
+
+ ALIGN (4)
+L(large_page_fwd):
+ movdqu (%rsi), %xmm1
+ lea 16(%rsi), %rsi
+ movdqu %xmm0, (%r8)
+ movntdq %xmm1, (%rdi)
+ lea 16(%rdi), %rdi
+ lea -0x90(%rdx), %rdx
+#ifdef USE_AS_MEMMOVE
+ mov %rsi, %r9
+ sub %rdi, %r9
+ cmp %rdx, %r9
+ jae L(memmove_is_memcpy_fwd)
+ shl $2, %rcx
+ cmp %rcx, %rdx
+ jb L(ll_cache_copy_fwd_start)
+L(memmove_is_memcpy_fwd):
+#endif
+L(large_page_loop):
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ movdqu 0x40(%rsi), %xmm4
+ movdqu 0x50(%rsi), %xmm5
+ movdqu 0x60(%rsi), %xmm6
+ movdqu 0x70(%rsi), %xmm7
+ lea 0x80(%rsi), %rsi
+
+ sub $0x80, %rdx
+ movntdq %xmm0, (%rdi)
+ movntdq %xmm1, 0x10(%rdi)
+ movntdq %xmm2, 0x20(%rdi)
+ movntdq %xmm3, 0x30(%rdi)
+ movntdq %xmm4, 0x40(%rdi)
+ movntdq %xmm5, 0x50(%rdi)
+ movntdq %xmm6, 0x60(%rdi)
+ movntdq %xmm7, 0x70(%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(large_page_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(large_page_less_64bytes)
+
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ lea 0x40(%rsi), %rsi
+
+ movntdq %xmm0, (%rdi)
+ movntdq %xmm1, 0x10(%rdi)
+ movntdq %xmm2, 0x20(%rdi)
+ movntdq %xmm3, 0x30(%rdi)
+ lea 0x40(%rdi), %rdi
+ sub $0x40, %rdx
+L(large_page_less_64bytes):
+ add %rdx, %rsi
+ add %rdx, %rdi
+ sfence
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+#ifdef USE_AS_MEMMOVE
+ ALIGN (4)
+L(ll_cache_copy_fwd_start):
+ prefetcht0 0x1c0(%rsi)
+ prefetcht0 0x200(%rsi)
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ movdqu 0x40(%rsi), %xmm4
+ movdqu 0x50(%rsi), %xmm5
+ movdqu 0x60(%rsi), %xmm6
+ movdqu 0x70(%rsi), %xmm7
+ lea 0x80(%rsi), %rsi
+
+ sub $0x80, %rdx
+ movaps %xmm0, (%rdi)
+ movaps %xmm1, 0x10(%rdi)
+ movaps %xmm2, 0x20(%rdi)
+ movaps %xmm3, 0x30(%rdi)
+ movaps %xmm4, 0x40(%rdi)
+ movaps %xmm5, 0x50(%rdi)
+ movaps %xmm6, 0x60(%rdi)
+ movaps %xmm7, 0x70(%rdi)
+ lea 0x80(%rdi), %rdi
+ jae L(ll_cache_copy_fwd_start)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(large_page_ll_less_fwd_64bytes)
+
+ movdqu (%rsi), %xmm0
+ movdqu 0x10(%rsi), %xmm1
+ movdqu 0x20(%rsi), %xmm2
+ movdqu 0x30(%rsi), %xmm3
+ lea 0x40(%rsi), %rsi
+
+ movaps %xmm0, (%rdi)
+ movaps %xmm1, 0x10(%rdi)
+ movaps %xmm2, 0x20(%rdi)
+ movaps %xmm3, 0x30(%rdi)
+ lea 0x40(%rdi), %rdi
+ sub $0x40, %rdx
+L(large_page_ll_less_fwd_64bytes):
+ add %rdx, %rsi
+ add %rdx, %rdi
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+#endif
+ ALIGN (4)
+L(large_page_bwd):
+ movdqu -0x10(%rsi), %xmm1
+ lea -16(%rsi), %rsi
+ movdqu %xmm0, (%r8)
+ movdqa %xmm1, -0x10(%rdi)
+ lea -16(%rdi), %rdi
+ lea -0x90(%rdx), %rdx
+#ifdef USE_AS_MEMMOVE
+ mov %rdi, %r9
+ sub %rsi, %r9
+ cmp %rdx, %r9
+ jae L(memmove_is_memcpy_bwd)
+ cmp %rcx, %r9
+ jb L(ll_cache_copy_bwd_start)
+L(memmove_is_memcpy_bwd):
+#endif
+L(large_page_bwd_loop):
+ movdqu -0x10(%rsi), %xmm0
+ movdqu -0x20(%rsi), %xmm1
+ movdqu -0x30(%rsi), %xmm2
+ movdqu -0x40(%rsi), %xmm3
+ movdqu -0x50(%rsi), %xmm4
+ movdqu -0x60(%rsi), %xmm5
+ movdqu -0x70(%rsi), %xmm6
+ movdqu -0x80(%rsi), %xmm7
+ lea -0x80(%rsi), %rsi
+
+ sub $0x80, %rdx
+ movntdq %xmm0, -0x10(%rdi)
+ movntdq %xmm1, -0x20(%rdi)
+ movntdq %xmm2, -0x30(%rdi)
+ movntdq %xmm3, -0x40(%rdi)
+ movntdq %xmm4, -0x50(%rdi)
+ movntdq %xmm5, -0x60(%rdi)
+ movntdq %xmm6, -0x70(%rdi)
+ movntdq %xmm7, -0x80(%rdi)
+ lea -0x80(%rdi), %rdi
+ jae L(large_page_bwd_loop)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(large_page_less_bwd_64bytes)
+
+ movdqu -0x10(%rsi), %xmm0
+ movdqu -0x20(%rsi), %xmm1
+ movdqu -0x30(%rsi), %xmm2
+ movdqu -0x40(%rsi), %xmm3
+ lea -0x40(%rsi), %rsi
+
+ movntdq %xmm0, -0x10(%rdi)
+ movntdq %xmm1, -0x20(%rdi)
+ movntdq %xmm2, -0x30(%rdi)
+ movntdq %xmm3, -0x40(%rdi)
+ lea -0x40(%rdi), %rdi
+ sub $0x40, %rdx
+L(large_page_less_bwd_64bytes):
+ sfence
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+
+#ifdef USE_AS_MEMMOVE
+ ALIGN (4)
+L(ll_cache_copy_bwd_start):
+ prefetcht0 -0x1c0(%rsi)
+ prefetcht0 -0x200(%rsi)
+ movdqu -0x10(%rsi), %xmm0
+ movdqu -0x20(%rsi), %xmm1
+ movdqu -0x30(%rsi), %xmm2
+ movdqu -0x40(%rsi), %xmm3
+ movdqu -0x50(%rsi), %xmm4
+ movdqu -0x60(%rsi), %xmm5
+ movdqu -0x70(%rsi), %xmm6
+ movdqu -0x80(%rsi), %xmm7
+ lea -0x80(%rsi), %rsi
+
+ sub $0x80, %rdx
+ movaps %xmm0, -0x10(%rdi)
+ movaps %xmm1, -0x20(%rdi)
+ movaps %xmm2, -0x30(%rdi)
+ movaps %xmm3, -0x40(%rdi)
+ movaps %xmm4, -0x50(%rdi)
+ movaps %xmm5, -0x60(%rdi)
+ movaps %xmm6, -0x70(%rdi)
+ movaps %xmm7, -0x80(%rdi)
+ lea -0x80(%rdi), %rdi
+ jae L(ll_cache_copy_bwd_start)
+ cmp $-0x40, %rdx
+ lea 0x80(%rdx), %rdx
+ jl L(large_page_ll_less_bwd_64bytes)
+
+ movdqu -0x10(%rsi), %xmm0
+ movdqu -0x20(%rsi), %xmm1
+ movdqu -0x30(%rsi), %xmm2
+ movdqu -0x40(%rsi), %xmm3
+ lea -0x40(%rsi), %rsi
+
+ movaps %xmm0, -0x10(%rdi)
+ movaps %xmm1, -0x20(%rdi)
+ movaps %xmm2, -0x30(%rdi)
+ movaps %xmm3, -0x40(%rdi)
+ lea -0x40(%rdi), %rdi
+ sub $0x40, %rdx
+L(large_page_ll_less_bwd_64bytes):
+ BRANCH_TO_JMPTBL_ENTRY (L(table_less_80bytes), %rdx, 4)
+#endif
+
+END (MEMCPY)
+
+ .section .rodata.ssse3,"a",@progbits
+ ALIGN (3)
+L(table_less_80bytes):
+ .int JMPTBL (L(write_0bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_1bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_2bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_3bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_4bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_5bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_6bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_7bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_8bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_9bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_10bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_11bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_12bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_13bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_14bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_15bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_16bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_17bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_18bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_19bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_20bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_21bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_22bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_23bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_24bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_25bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_26bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_27bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_28bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_29bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_30bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_31bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_32bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_33bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_34bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_35bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_36bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_37bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_38bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_39bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_40bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_41bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_42bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_43bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_44bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_45bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_46bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_47bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_48bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_49bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_50bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_51bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_52bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_53bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_54bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_55bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_56bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_57bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_58bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_59bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_60bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_61bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_62bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_63bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_64bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_65bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_66bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_67bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_68bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_69bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_70bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_71bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_72bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_73bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_74bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_75bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_76bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_77bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_78bytes), L(table_less_80bytes))
+ .int JMPTBL (L(write_79bytes), L(table_less_80bytes))
+
+ ALIGN (3)
+L(shl_table):
+ .int JMPTBL (L(shl_0), L(shl_table))
+ .int JMPTBL (L(shl_1), L(shl_table))
+ .int JMPTBL (L(shl_2), L(shl_table))
+ .int JMPTBL (L(shl_3), L(shl_table))
+ .int JMPTBL (L(shl_4), L(shl_table))
+ .int JMPTBL (L(shl_5), L(shl_table))
+ .int JMPTBL (L(shl_6), L(shl_table))
+ .int JMPTBL (L(shl_7), L(shl_table))
+ .int JMPTBL (L(shl_8), L(shl_table))
+ .int JMPTBL (L(shl_9), L(shl_table))
+ .int JMPTBL (L(shl_10), L(shl_table))
+ .int JMPTBL (L(shl_11), L(shl_table))
+ .int JMPTBL (L(shl_12), L(shl_table))
+ .int JMPTBL (L(shl_13), L(shl_table))
+ .int JMPTBL (L(shl_14), L(shl_table))
+ .int JMPTBL (L(shl_15), L(shl_table))
+
+ ALIGN (3)
+L(shl_table_bwd):
+ .int JMPTBL (L(shl_0_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_1_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_2_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_3_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_4_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_5_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_6_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_7_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_8_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_9_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_10_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_11_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_12_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_13_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_14_bwd), L(shl_table_bwd))
+ .int JMPTBL (L(shl_15_bwd), L(shl_table_bwd))
+
+#endif
diff --git a/sysdeps/x86_64/multiarch/memcpy.S b/sysdeps/x86_64/multiarch/memcpy.S
new file mode 100644
index 0000000000..8e9fb190d3
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memcpy.S
@@ -0,0 +1,73 @@
+/* Multiple versions of memcpy
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+#include <init-arch.h>
+
+/* Define multiple versions only for the definition in lib and for
+ DSO. In static binaries we need memcpy before the initialization
+ happened. */
+#if defined SHARED && !defined NOT_IN_libc
+ .text
+ENTRY(memcpy)
+ .type memcpy, @gnu_indirect_function
+ cmpl $0, KIND_OFFSET+__cpu_features(%rip)
+ jne 1f
+ call __init_cpu_features
+1: leaq __memcpy_sse2(%rip), %rax
+ testl $bit_SSSE3, __cpu_features+CPUID_OFFSET+index_SSSE3(%rip)
+ jz 2f
+ leaq __memcpy_ssse3(%rip), %rax
+ testl $bit_Fast_Copy_Backward, __cpu_features+FEATURE_OFFSET+index_Fast_Copy_Backward(%rip)
+ jz 2f
+ leaq __memcpy_ssse3_back(%rip), %rax
+2: ret
+END(memcpy)
+
+# undef ENTRY
+# define ENTRY(name) \
+ .type __memcpy_sse2, @function; \
+ .p2align 4; \
+ __memcpy_sse2: cfi_startproc; \
+ CALL_MCOUNT
+# undef END
+# define END(name) \
+ cfi_endproc; .size __memcpy_sse2, .-__memcpy_sse2
+
+# undef ENTRY_CHK
+# define ENTRY_CHK(name) \
+ .type __memcpy_chk_sse2, @function; \
+ .globl __memcpy_chk_sse2; \
+ .p2align 4; \
+ __memcpy_chk_sse2: cfi_startproc; \
+ CALL_MCOUNT
+# undef END_CHK
+# define END_CHK(name) \
+ cfi_endproc; .size __memcpy_chk_sse2, .-__memcpy_chk_sse2
+
+# undef libc_hidden_builtin_def
+/* It doesn't make sense to send libc-internal memcpy calls through a PLT.
+ The speedup we get from using SSSE3 instruction is likely eaten away
+ by the indirect call in the PLT. */
+# define libc_hidden_builtin_def(name) \
+ .globl __GI_memcpy; __GI_memcpy = __memcpy_sse2
+#endif
+
+#include "../memcpy.S"
diff --git a/sysdeps/x86_64/multiarch/memcpy_chk.S b/sysdeps/x86_64/multiarch/memcpy_chk.S
new file mode 100644
index 0000000000..948f61cc5f
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memcpy_chk.S
@@ -0,0 +1,47 @@
+/* Multiple versions of __memcpy_chk
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+#include <init-arch.h>
+
+/* Define multiple versions only for the definition in lib and for
+ DSO. There are no multiarch memcpy functions for static binaries.
+ */
+#ifndef NOT_IN_libc
+# ifdef SHARED
+ .text
+ENTRY(__memcpy_chk)
+ .type __memcpy_chk, @gnu_indirect_function
+ cmpl $0, KIND_OFFSET+__cpu_features(%rip)
+ jne 1f
+ call __init_cpu_features
+1: leaq __memcpy_chk_sse2(%rip), %rax
+ testl $bit_SSSE3, __cpu_features+CPUID_OFFSET+index_SSSE3(%rip)
+ jz 2f
+ leaq __memcpy_chk_ssse3(%rip), %rax
+ testl $bit_Fast_Copy_Backward, __cpu_features+FEATURE_OFFSET+index_Fast_Copy_Backward(%rip)
+ jz 2f
+ leaq __memcpy_chk_ssse3_back(%rip), %rax
+2: ret
+END(__memcpy_chk)
+# else
+# include "../memcpy_chk.S"
+# endif
+#endif
diff --git a/sysdeps/x86_64/multiarch/memmove-ssse3-back.S b/sysdeps/x86_64/multiarch/memmove-ssse3-back.S
new file mode 100644
index 0000000000..f9a4e9aff9
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memmove-ssse3-back.S
@@ -0,0 +1,4 @@
+#define USE_AS_MEMMOVE
+#define MEMCPY __memmove_ssse3_back
+#define MEMCPY_CHK __memmove_chk_ssse3_back
+#include "memcpy-ssse3-back.S"
diff --git a/sysdeps/x86_64/multiarch/memmove-ssse3.S b/sysdeps/x86_64/multiarch/memmove-ssse3.S
new file mode 100644
index 0000000000..295430b1ef
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memmove-ssse3.S
@@ -0,0 +1,4 @@
+#define USE_AS_MEMMOVE
+#define MEMCPY __memmove_ssse3
+#define MEMCPY_CHK __memmove_chk_ssse3
+#include "memcpy-ssse3.S"
diff --git a/sysdeps/x86_64/multiarch/memmove.c b/sysdeps/x86_64/multiarch/memmove.c
new file mode 100644
index 0000000000..bbe96273be
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memmove.c
@@ -0,0 +1,24 @@
+#ifndef NOT_IN_libc
+#include "init-arch.h"
+
+#define MEMMOVE __memmove_sse2
+#ifdef SHARED
+# undef libc_hidden_builtin_def
+# define libc_hidden_builtin_def(name) \
+ __hidden_ver1 (__memmove_sse2, __GI_memmove, __memmove_sse2);
+#endif
+#endif
+
+#include "string/memmove.c"
+
+#ifndef NOT_IN_libc
+extern __typeof (__memmove_sse2) __memmove_sse2 attribute_hidden;
+extern __typeof (__memmove_sse2) __memmove_ssse3 attribute_hidden;
+extern __typeof (__memmove_sse2) __memmove_ssse3_back attribute_hidden;
+
+libc_ifunc (memmove,
+ HAS_SSSE3
+ ? (HAS_FAST_COPY_BACKWARD
+ ? __memmove_ssse3_back : __memmove_ssse3)
+ : __memmove_sse2);
+#endif
diff --git a/sysdeps/x86_64/multiarch/memmove_chk.c b/sysdeps/x86_64/multiarch/memmove_chk.c
new file mode 100644
index 0000000000..a474f5f5ee
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/memmove_chk.c
@@ -0,0 +1,15 @@
+#include "init-arch.h"
+
+#define MEMMOVE_CHK __memmove_chk_sse2
+
+#include "debug/memmove_chk.c"
+
+extern __typeof (__memmove_chk_sse2) __memmove_chk_sse2 attribute_hidden;
+extern __typeof (__memmove_chk_sse2) __memmove_chk_ssse3 attribute_hidden;
+extern __typeof (__memmove_chk_sse2) __memmove_chk_ssse3_back attribute_hidden;
+
+libc_ifunc (__memmove_chk,
+ HAS_SSSE3
+ ? (HAS_FAST_COPY_BACKWARD
+ ? __memmove_chk_ssse3_back : __memmove_chk_ssse3)
+ : __memmove_chk_sse2);
diff --git a/sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S b/sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S
new file mode 100644
index 0000000000..82ffacb8fb
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S
@@ -0,0 +1,4 @@
+#define USE_AS_MEMPCPY
+#define MEMCPY __mempcpy_ssse3_back
+#define MEMCPY_CHK __mempcpy_chk_ssse3_back
+#include "memcpy-ssse3-back.S"
diff --git a/sysdeps/x86_64/multiarch/mempcpy-ssse3.S b/sysdeps/x86_64/multiarch/mempcpy-ssse3.S
new file mode 100644
index 0000000000..822d98e954
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/mempcpy-ssse3.S
@@ -0,0 +1,4 @@
+#define USE_AS_MEMPCPY
+#define MEMCPY __mempcpy_ssse3
+#define MEMCPY_CHK __mempcpy_chk_ssse3
+#include "memcpy-ssse3.S"
diff --git a/sysdeps/x86_64/multiarch/mempcpy.S b/sysdeps/x86_64/multiarch/mempcpy.S
new file mode 100644
index 0000000000..e8152d6d63
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/mempcpy.S
@@ -0,0 +1,75 @@
+/* Multiple versions of mempcpy
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+#include <init-arch.h>
+
+/* Define multiple versions only for the definition in lib and for
+ DSO. In static binaries we need mempcpy before the initialization
+ happened. */
+#if defined SHARED && !defined NOT_IN_libc
+ENTRY(__mempcpy)
+ .type __mempcpy, @gnu_indirect_function
+ cmpl $0, KIND_OFFSET+__cpu_features(%rip)
+ jne 1f
+ call __init_cpu_features
+1: leaq __mempcpy_sse2(%rip), %rax
+ testl $bit_SSSE3, __cpu_features+CPUID_OFFSET+index_SSSE3(%rip)
+ jz 2f
+ leaq __mempcpy_ssse3(%rip), %rax
+ testl $bit_Fast_Copy_Backward, __cpu_features+FEATURE_OFFSET+index_Fast_Copy_Backward(%rip)
+ jz 2f
+ leaq __mempcpy_ssse3_back(%rip), %rax
+2: ret
+END(__mempcpy)
+
+# undef ENTRY
+# define ENTRY(name) \
+ .type __mempcpy_sse2, @function; \
+ .p2align 4; \
+ __mempcpy_sse2: cfi_startproc; \
+ CALL_MCOUNT
+# undef END
+# define END(name) \
+ cfi_endproc; .size __mempcpy_sse2, .-__mempcpy_sse2
+
+# undef ENTRY_CHK
+# define ENTRY_CHK(name) \
+ .type __mempcpy_chk_sse2, @function; \
+ .globl __mempcpy_chk_sse2; \
+ .p2align 4; \
+ __mempcpy_chk_sse2: cfi_startproc; \
+ CALL_MCOUNT
+# undef END_CHK
+# define END_CHK(name) \
+ cfi_endproc; .size __mempcpy_chk_sse2, .-__mempcpy_chk_sse2
+
+# undef libc_hidden_def
+# undef libc_hidden_builtin_def
+/* It doesn't make sense to send libc-internal mempcpy calls through a PLT.
+ The speedup we get from using SSSE3 instruction is likely eaten away
+ by the indirect call in the PLT. */
+# define libc_hidden_def(name) \
+ .globl __GI_mempcpy; __GI_mempcpy = __mempcpy_sse2
+# define libc_hidden_builtin_def(name) \
+ .globl __GI___mempcpy; __GI___mempcpy = __mempcpy_sse2
+#endif
+
+#include "../mempcpy.S"
diff --git a/sysdeps/x86_64/multiarch/mempcpy_chk.S b/sysdeps/x86_64/multiarch/mempcpy_chk.S
new file mode 100644
index 0000000000..024c775e95
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/mempcpy_chk.S
@@ -0,0 +1,47 @@
+/* Multiple versions of __mempcpy_chk
+ Copyright (C) 2010 Free Software Foundation, Inc.
+ Contributed by Intel 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 Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <sysdep.h>
+#include <init-arch.h>
+
+/* Define multiple versions only for the definition in lib and for
+ DSO. There are no multiarch mempcpy functions for static binaries.
+ */
+#ifndef NOT_IN_libc
+# ifdef SHARED
+ .text
+ENTRY(__mempcpy_chk)
+ .type __mempcpy_chk, @gnu_indirect_function
+ cmpl $0, KIND_OFFSET+__cpu_features(%rip)
+ jne 1f
+ call __init_cpu_features
+1: leaq __mempcpy_chk_sse2(%rip), %rax
+ testl $bit_SSSE3, __cpu_features+CPUID_OFFSET+index_SSSE3(%rip)
+ jz 2f
+ leaq __mempcpy_chk_ssse3(%rip), %rax
+ testl $bit_Fast_Copy_Backward, __cpu_features+FEATURE_OFFSET+index_Fast_Copy_Backward(%rip)
+ jz 2f
+ leaq __mempcpy_chk_ssse3_back(%rip), %rax
+2: ret
+END(__mempcpy_chk)
+# else
+# include "../mempcpy_chk.S"
+# endif
+#endif
diff --git a/sysdeps/x86_64/sysdep.h b/sysdeps/x86_64/sysdep.h
index 122270f91b..1d35f8fd1e 100644
--- a/sysdeps/x86_64/sysdep.h
+++ b/sysdeps/x86_64/sysdep.h
@@ -58,6 +58,9 @@
cfi_endproc; \
ASM_SIZE_DIRECTIVE(name)
+#define ENTRY_CHK(name) ENTRY (name)
+#define END_CHK(name) END (name)
+
/* If compiled for profiling, call `mcount' at the start of each function. */
#ifdef PROF
/* The mcount code relies on a normal frame pointer being on the stack