Changeset 1ee11f4 in mainline


Ignore:
Timestamp:
2006-05-21T19:24:11Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80649a91
Parents:
47378c4
Message:

Psthread context switch made %edi dirty, which contradicts ABI. Fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/ia32/src/psthread.S

    r47378c4 r1ee11f4  
    7373
    7474        movl %edx,0(%esp)       # ctx->pc -> saver's return %eip
    75        
     75
    7676        # Set thread local storage
     77        pushl %edi
    7778        movl 24(%eax), %eax   # Set arg1 to TLS addr
    7879        movl $1, %edi         # Syscall 1
    7980        int $0x30
     81        popl %edi
    8082       
    8183        xorl %eax,%eax          # context_restore returns 0
Note: See TracChangeset for help on using the changeset viewer.