From: Roland McGrath Date: Fri, 25 Jun 1993 21:00:23 +0000 (+0000) Subject: Formerly unix/sysv/sco3.2.4/__sysconf.S.~3~ X-Git-Tag: glibc-2.16-ports-before-merge~4246 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be829b7ca173c902cdd3f2365aa854ca95d891be;p=thirdparty%2Fglibc.git Formerly unix/sysv/sco3.2.4/__sysconf.S.~3~ --- diff --git a/sysdeps/unix/sysv/sco3.2.4/sysconf.S b/sysdeps/unix/sysv/sco3.2.4/sysconf.S index 2ec8c9d1398..10699a28ed2 100644 --- a/sysdeps/unix/sysv/sco3.2.4/sysconf.S +++ b/sysdeps/unix/sysv/sco3.2.4/sysconf.S @@ -21,16 +21,9 @@ Cambridge, MA 02139, USA. */ #include .globl __tzname_max -ENTRY (sysconf) +ENTRY (__sysconf) cmpl 4(%esp), $_SC_TZNAME_MAX /* Is the arg _SC_TZNAME_MAX? */ je tzname DO_CALL (sysconf, 1) /* No; use the SCO system call. */ ret -tzname: movl (C_SYMBOL_NAME(__tzname_max)), %eax /* Yes; use __tzname_max. */ -#ifdef TZNAME_MAX - cmpl $TZNAME_MAX, %eax /* Is TZNAME_MAX larger? */ - jle out - movl $TZNAME_MAX, %eax /* Yes; return it. */ -out: -#endif - ret +tzname: jmp C_SYMBOL_NAME(__tzname_max) /* Yes; bounce to __tzname_max (). */