diff options
Diffstat (limited to 'sysdeps/ia64/elf/start.S')
-rw-r--r-- | sysdeps/ia64/elf/start.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/ia64/elf/start.S b/sysdeps/ia64/elf/start.S index a05ddfb..18eaf8e 100644 --- a/sysdeps/ia64/elf/start.S +++ b/sysdeps/ia64/elf/start.S @@ -40,6 +40,9 @@ .type _start,@function _start: .prologue + .save rp, r0 + .body + .prologue { .mlx alloc r2 = ar.pfs,0,0,7,0 movl r3 = FPSR_DEFAULT @@ -76,8 +79,7 @@ _start: { .mmi ld8 out3 = [out3] /* pointer to `init' function descriptor */ ld8 out4 = [out4] /* pointer to `fini' function descriptor */ - .save rp, r4 - mov r4 = r0 /* terminate unwind chain with a NULL return-pointer */ + nop 0 } .body { .mib |