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
f46b7aada4
commit
687aea4577
@ -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