+2003-03-27 David Mosberger <davidm@hpl.hp.com>
+
+ * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
+ directive into empty .prologue region to ensure that call-chain
+ is terminated even for the first instruction.
+
+ * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
+ to terminate call-chain right from the get-go.
+
+ * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
+ stop bit between compare & branch.
+
2003-03-29 Ulrich Drepper <drepper@redhat.com>
* stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
2003-03-29 Alexandre Oliva <aoliva@redhat.com>
* configure.in: Add mips64* support.
- * configure: Rebuilt.
* sysdeps/mips/bits/endian.h: Make it bi-endian.
* sysdeps/mips/mipsel/bits/endian.h: Removed.
* sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
"_start:\n" \
"0: { .mii\n" \
" .prologue\n" \
-" .save ar.pfs, r32\n" \
" .save rp, r0\n" \
+" .body\n" \
+" .prologue\n" \
+" .save ar.pfs, r32\n" \
" alloc loc0 = ar.pfs, 0, 3, 4, 0\n" \
" .body\n" \
" mov r2 = ip\n" \
" .proc _dl_start_user#\n" \
"_dl_start_user:\n" \
" .prologue\n" \
-" .save ar.pfs, r32\n" \
" .save rp, r0\n" \
+" .body\n" \
+" .prologue\n" \
+" .save ar.pfs, r32\n" \
" .body\n" \
" { .mii\n" \
" /* Save the pointer to the user entry point fptr in loc2. */\n" \
.proc _start
.type _start,@function
_start:
+ .prologue
+ .save rp, r0
+ .body
.prologue
{ .mlx
alloc r2 = ar.pfs,0,0,7,0
{ .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