Mostly cosmetic. Use indentation that is reasonably close to other
ia64 *.S files in our tree (eg: locore.s). Put the rest of the args in the .section lines. Reviewed by: dfr
This commit is contained in:
parent
16ef3f735a
commit
b3cd898e58
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85679
@ -32,18 +32,18 @@
|
||||
*/
|
||||
.file "crti.S"
|
||||
|
||||
.section .init
|
||||
.global _init#
|
||||
.proc _init#
|
||||
.section .init,"ax",@progbits
|
||||
.global _init#
|
||||
.proc _init#
|
||||
_init:
|
||||
alloc loc1 = ar.pfs,0,2,0,0
|
||||
mov loc0 = b0 /* Save return addr */
|
||||
.endp _init#
|
||||
alloc loc1=ar.pfs,0,2,0,0
|
||||
mov loc0=b0 /* Save return addr */
|
||||
.endp _init#
|
||||
|
||||
.section .fini
|
||||
.global _fini#
|
||||
.proc _fini#
|
||||
.section .fini,"ax",@progbits
|
||||
.global _fini#
|
||||
.proc _fini#
|
||||
_fini:
|
||||
alloc loc1 = ar.pfs, 0, 2, 0, 0
|
||||
mov loc0 = b0 /* Save return addr */
|
||||
.endp _fini#
|
||||
alloc loc1=ar.pfs,0,2,0,0
|
||||
mov loc0=b0 /* Save return addr */
|
||||
.endp _fini#
|
||||
|
@ -28,16 +28,16 @@
|
||||
|
||||
.file "crtn.S"
|
||||
|
||||
.section .init
|
||||
.section .init,"ax",@progbits
|
||||
.regstk 0,2,0,0
|
||||
mov b0 = loc0 /* Recover return addr */
|
||||
mov ar.pfs = loc1
|
||||
mov b0=loc0 /* Recover return addr */
|
||||
mov ar.pfs=loc1
|
||||
br.ret.sptk.many b0
|
||||
.endp _init#
|
||||
.endp _init#
|
||||
|
||||
.section .fini
|
||||
.section .fini,"ax",@progbits
|
||||
.regstk 0,2,0,0
|
||||
mov b0 = loc0 /* Recover return addr */
|
||||
mov ar.pfs = loc1
|
||||
mov b0=loc0 /* Recover return addr */
|
||||
mov ar.pfs=loc1
|
||||
br.ret.sptk.many b0
|
||||
.endp _fini#
|
||||
.endp _fini#
|
||||
|
Loading…
Reference in New Issue
Block a user