tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

os_AIX.s (3105B)


      1 # -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
      2 # 
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 .set r0,0; .set SP,1; .set RTOC,2; .set r3,3; .set r4,4
      8 .set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9
      9 .set r10,10; .set r11,11; .set r12,12; .set r13,13; .set r14,14
     10 .set r15,15; .set r16,16; .set r17,17; .set r18,18; .set r19,19
     11 .set r20,20; .set r21,21; .set r22,22; .set r23,23; .set r24,24
     12 .set r25,25; .set r26,26; .set r27,27; .set r28,28; .set r29,29
     13 .set r30,30; .set r31,31
     14 
     15 
     16        .rename H.10.NO_SYMBOL{PR},""
     17        .rename H.18.longjmp{TC},"longjmp"
     18 
     19        .lglobl H.10.NO_SYMBOL{PR}
     20        .globl  .longjmp
     21        .globl  longjmp{DS}
     22        .extern .sigcleanup
     23        .extern .jmprestfpr
     24 
     25 # .text section
     26 
     27        .csect  H.10.NO_SYMBOL{PR}
     28 .longjmp:
     29         mr   r13,r3
     30         mr   r14,r4
     31        stu   SP,-56(SP)
     32         bl   .sigcleanup
     33          l   RTOC,0x14(SP)
     34        cal   SP,0x38(SP)
     35         mr   r3,r13
     36         mr   r4,r14
     37          l   r5,0x8(r3)
     38          l   SP,0xc(r3)
     39          l   r7,0xf8(r3)
     40         st   r7,0x0(SP)
     41          l   RTOC,0x10(r3)
     42         bl   .jmprestfpr
     43 # 1 == cr0 in disassembly
     44       cmpi   1,r4,0x0  
     45       mtlr   r5
     46         lm   r13,0x14(r3)
     47          l   r5,0x60(r3)
     48      mtcrf   0x38,r5
     49         mr   r3,r4
     50        bne   __L1
     51        lil   r3,0x1
     52 __L1:
     53         br
     54 
     55 # traceback table
     56        .long   0x00000000
     57        .byte   0x00                    # VERSION=0
     58        .byte   0x00                    # LANG=TB_C
     59        .byte   0x20                    # IS_GL=0,IS_EPROL=0,HAS_TBOFF=1
     60                                        # INT_PROC=0,HAS_CTL=0,TOCLESS=0
     61                                        # FP_PRESENT=0,LOG_ABORT=0
     62        .byte   0x40                    # INT_HNDL=0,NAME_PRESENT=1
     63                                        # USES_ALLOCA=0,CL_DIS_INV=WALK_ONCOND
     64                                        # SAVES_CR=0,SAVES_LR=0
     65        .byte   0x80                    # STORES_BC=1,FPR_SAVED=0
     66        .byte   0x00                    # GPR_SAVED=0
     67        .byte   0x02                    # FIXEDPARMS=2
     68        .byte   0x01                    # FLOATPARMS=0,PARMSONSTK=1
     69        .long   0x00000000              #
     70        .long   0x00000014              # TB_OFFSET
     71        .short  7                       # NAME_LEN
     72        .byte   "longjmp"
     73        .byte   0                       # padding
     74        .byte   0                       # padding
     75        .byte   0                       # padding
     76 # End of traceback table
     77        .long   0x00000000              # "\0\0\0\0"
     78 
     79 # .data section
     80 
     81        .toc                            # 0x00000038
     82 T.18.longjmp:
     83        .tc     H.18.longjmp{TC},longjmp{DS}
     84 
     85        .csect  longjmp{DS}
     86        .long   .longjmp                # "\0\0\0\0"
     87        .long   TOC{TC0}                # "\0\0\0008"
     88        .long   0x00000000              # "\0\0\0\0"
     89 # End   csect   longjmp{DS}
     90 
     91 # .bss section