Changeset a71d9af9 in mainline for libc/arch/mips32/src/thread_entry.s


Ignore:
Timestamp:
2006-03-24T00:51:14Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
86d05fae
Parents:
e708063
Message:

Changed MIPS to compile as PIC code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/mips32/src/thread_entry.s

    re708063 ra71d9af9  
    2828
    2929.text
    30 
     30       
    3131.set noat
    3232.set noreorder
    33 .set nomacro
    34 
     33.option pic2
     34       
    3535.globl __thread_entry
    3636
     
    4040.ent __thread_entry
    4141__thread_entry:
    42         lui $28, _gp
     42        .frame $sp, 32, $31
     43        .cpload $25
    4344
    4445        #
     
    4748        add $4, $2, 0
    4849        # Mips o32 may store its arguments on stack, make space
    49         addiu $sp, -16
     50        addiu $sp, -32
     51        .cprestore 16
    5052       
    51         j __thread_main
     53        jal __thread_main
    5254        nop
    5355               
Note: See TracChangeset for help on using the changeset viewer.