errno in .bss
This commit is contained in:
parent
e2732629bf
commit
558a632821
|
@ -2,8 +2,10 @@
|
|||
.sect .text
|
||||
.define _errno
|
||||
.define cerror
|
||||
.comm _errno, 4
|
||||
cerror:
|
||||
movl r0,_errno
|
||||
mnegl $1,r0
|
||||
ret
|
||||
|
||||
.sect .bss
|
||||
.comm _errno, 4
|
||||
|
|
Loading…
Reference in a new issue