Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/syscall.S

    r58563585 r9d58539  
    2727#
    2828
    29 #include <abi/asmtool.h>
    30 
    3129.data
    3230
    33 OBJECT_BEGIN(__syscall_fast_func)
     31.global __syscall_fast_func
     32__syscall_fast_func:
    3433        .long __syscall_slow
    35 OBJECT_END(__syscall_fast_func)
     34        .size __syscall_fast_func, . - __syscall_fast_func
    3635
    3736.text
     
    4342 * could benefit from this and not save unused registers on the stack.
    4443 */
    45 FUNCTION_BEGIN(__syscall_slow)
     44.global __syscall_slow
     45__syscall_slow:
    4646        pushl %ebx
    4747        pushl %esi
     
    6161        popl %ebx
    6262        ret
    63 FUNCTION_END(__syscall_slow)
     63
    6464
    6565/** Syscall wrapper - SYSENTER version.
     
    7171 * segment, otherwise the SYSENTER wouldn't work in the first place).
    7272 */
    73 FUNCTION_BEGIN(__syscall_fast)
     73.global __syscall_fast
     74        .type __syscall_fast, @function
     75
     76__syscall_fast:
    7477        pushl %ebx
    7578        pushl %esi
     
    9598        popl %ebx
    9699        ret
    97 FUNCTION_END(__syscall_fast)
     100
     101        .size __syscall_fast, . - __syscall_fast
Note: See TracChangeset for help on using the changeset viewer.