Ignore:
Timestamp:
Apr 8, 2009, 5:47:01 PM (11 years ago)
Author:
gb
Message:

There may not be an external "sigreturn" symbol to jmp to (or it
may have been renamed), so do the syscall ourselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-asmutils32.s

    r11784 r11909  
    181181   since we're trying to do what sigtramp() would do if we'd returned
    182182   to it ... */
    183         .globl C(sigreturn)
    184183        __(movl $0x1e,8(%esp))
    185         __(jmp *jsigreturn)
    186         .data
    187 jsigreturn:     .long C(sigreturn)
    188         .text
     184        __(movl $0xb8,%eax)     /* SYS_sigreturn */
     185        __(int $0x80)
     186        __(ret)                 /* shouldn't return */
    189187
    190188_endfn
Note: See TracChangeset for help on using the changeset viewer.