Changeset 29a9f62 in mainline for libc/arch/ia64


Ignore:
Timestamp:
2006-03-23T10:33:55Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77bd004
Parents:
1cef26f
Message:

Added symbolic links 'libarch','libadt','libipc' into libc/include,
so that it can be easily used from anywhere.
Renamed thread_main to thread_main.
Allowed MIPS to compile with -O0.
Added non-preemptible threads support (not yet secured by futexes).
Added simple way to hold Thread Local Storage. Support for compiler
will be added later.
This update breaks IA64 uspace.

There is some forgotten spinlock_lock() in futexes, amd64 gets locked
in the secod uspace thread probably with preemption disabled.

Location:
libc/arch/ia64
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • libc/arch/ia64/src/entry.s

    r1cef26f r29a9f62  
    3939        alloc loc0 = ar.pfs, 0, 1, 2, 0
    4040        mov r1 = _gp
     41        { br.call.sptk.many b0 = __main }
    4142        { br.call.sptk.many b0 = main }
    4243        { br.call.sptk.many b0 = __exit }
  • libc/arch/ia64/src/thread_entry.s

    r1cef26f r29a9f62  
    4444       
    4545        mov out0 = r8
    46         { br.call.sptk.many b0 = thread_main }
     46        { br.call.sptk.many b0 = __thread_main }
    4747       
    4848        #
Note: See TracChangeset for help on using the changeset viewer.