*** 80386.S.orig Sun May 1 14:10:40 1994
--- 80386.S Wed Jul 10 10:47:43 1996
***************
*** 12,18 ****
**
*/
! #ifndef SYSV
#ifdef __STDC__
#define ENTRY(name) .align 4 ; .globl _##name ; _##name##:
#else
--- 12,19 ----
**
*/
! /*#ifndef SYSV*/
! #if !defined(SYSV) && !defined(__ELF__)
#ifdef __STDC__
#define ENTRY(name) .align 4 ; .globl _##name ; _##name##:
#else
***************
*** 348,354 ****
shll %cl,%ebx
addl %ebx,%eax /* dx:ax = q >> mshift */
#else
! #ifdef SYSV
shrdl %edx,%eax
#else
shrdl %cl,%edx,%eax
--- 349,356 ----
shll %cl,%ebx
addl %ebx,%eax /* dx:ax = q >> mshift */
#else
! /*#ifdef SYSV*/
! #if defined(SYSV) || defined(__ELF__)
shrdl %edx,%eax
#else
shrdl %cl,%edx,%eax
*** zmatch.S.orig Sun May 1 14:10:54 1994
--- zmatch.S Wed Jul 10 10:47:41 1996
***************
*** 19,25 ****
.file "zmatch.S"
! #ifdef SYSV
# define _prev prev
# define _window window
# define _match_start match_start
--- 19,26 ----
.file "zmatch.S"
! /*#ifdef SYSV*/
! #if defined(SYSV) || defined(__ELF__)
# define _prev prev
# define _window window
# define _match_start match_start
***************
*** 113,119 ****
lea _window+2(%esi),%esi /* si = match */
mov %edi,%eax /* ax = scan+2 */
mov $ MAX_MATCH2,%ecx /* scan for at most MAX_MATCH bytes */
! #ifdef SYSV
repz; cmpsw /* loop until mismatch */
#else
repe; cmpsw
--- 114,121 ----
lea _window+2(%esi),%esi /* si = match */
mov %edi,%eax /* ax = scan+2 */
mov $ MAX_MATCH2,%ecx /* scan for at most MAX_MATCH bytes */
! /*#ifdef SYSV*/
! #if defined(SYSV) || defined(__ELF__)
repz; cmpsw /* loop until mismatch */
#else
repe; cmpsw