~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/syscall/asm_plan9_386.s

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        JNE     ok3
30
30
 
31
31
        SUBL    $8, SP
32
 
        CALL    syscall·errstr(SB)
 
32
        CALL    runtime·errstr(SB)
33
33
        MOVL    SP, SI
34
34
        ADDL    $8, SP
35
35
        JMP     copyresult3
67
67
        JNE     ok4
68
68
        
69
69
        SUBL    $8, SP
70
 
        CALL    syscall·errstr(SB)
 
70
        CALL    runtime·errstr(SB)
71
71
        MOVL    SP, SI
72
72
        ADDL    $8, SP
73
73
        JMP     copyresult4
149
149
        MOVSL
150
150
        MOVSL
151
151
        RET
 
152
 
 
153
//func exit(code int)
 
154
// Import runtime·exit for cleanly exiting.
 
155
TEXT ·exit(SB),7,$4
 
156
        MOVL    code+0(FP), AX
 
157
        MOVL    AX, 0(SP)
 
158
        CALL    runtime·exit(SB)
 
159
        RET