diff options
author | Mystery Man <unknown@mandriva.org> | 2003-09-12 15:16:49 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-09-12 15:16:49 +0000 |
commit | e0a90440b5f10011c62a4ef2ad7ae53ee75eac56 (patch) | |
tree | 8fb507c45d54fb01a7532400679b607cb61e8f33 /mdk-stage1/dietlibc/i386/write12.S | |
parent | 83fc804615d6576d1da05e6b5ac955345914a035 (diff) | |
download | drakx-e0a90440b5f10011c62a4ef2ad7ae53ee75eac56.tar drakx-e0a90440b5f10011c62a4ef2ad7ae53ee75eac56.tar.gz drakx-e0a90440b5f10011c62a4ef2ad7ae53ee75eac56.tar.bz2 drakx-e0a90440b5f10011c62a4ef2ad7ae53ee75eac56.tar.xz drakx-e0a90440b5f10011c62a4ef2ad7ae53ee75eac56.zip |
This commit was manufactured by cvs2svn to create tag 'V9_2_11mdk'.V9_2_11mdk
Diffstat (limited to 'mdk-stage1/dietlibc/i386/write12.S')
-rw-r--r-- | mdk-stage1/dietlibc/i386/write12.S | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mdk-stage1/dietlibc/i386/write12.S b/mdk-stage1/dietlibc/i386/write12.S deleted file mode 100644 index a40f63a86..000000000 --- a/mdk-stage1/dietlibc/i386/write12.S +++ /dev/null @@ -1,37 +0,0 @@ -#include "PIC.h" - -.text - -.global __write1 -.type __write1,@function - -.global __write2 -.type __write2,@function - - # regparm=1, daher Stringadresse in %eax -__write2: - clc # CY = 0 - .byte 0xB2 # zusammen mit nächstem Byte: mov dl,0xF9 -__write1: - stc # CY = 1 - sbbl %ecx,%ecx # __write2: ecx=0, __write1: ecx=-1 - incl %ecx - incl %ecx # __write2: ecx=2, __write1: ecx=1 - xorl %edx,%edx - decl %edx -.Lnext: incl %edx - cmpb %ch,(%edx,%eax) # ch=0, da bei beiden Filedescriptoren Bits 15:8 0 sind - jnz .Lnext # Stringlänge in edx, ohne eax zerstört zu haben - PIC_SAVE # non-PIC: empty line - PIC_INIT # non-PIC: empty line - pushl %edx - pushl %eax - pushl %ecx -#ifdef __DYN_LIB - call write@PLT -#else - call write # alles ruf uf dn Stack und ab damit -#endif - addl $12,%esp # und das leidvolle Putzen - PIC_RESTORE # non-PIC: empty line - ret |