From b1eab230118c7d65223927486afb7fe0b531bf33 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 10 Jan 2001 23:47:39 +0000 Subject: Update. * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve r9, r10 and r11 for language specific registers. 2001-01-10 Jakub Jelinek * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the UDP socket. (clntudp_call): Handle MSG_ERRQUEUE. * sysdeps/generic/errqueue.h: New file. * sysdeps/unix/sysv/linux/errqueue.h: New file. 2001-01-10 H.J. Lu --- sysdeps/ia64/dl-machine.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sysdeps/ia64') diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h index 0b03520..17e7708 100644 --- a/sysdeps/ia64/dl-machine.h +++ b/sysdeps/ia64/dl-machine.h @@ -163,7 +163,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) .proc " #tramp_name "# " #tramp_name ": { .mmi - alloc loc0 = ar.pfs, 8, 3, 3, 0 + alloc loc0 = ar.pfs, 8, 6, 3, 0 adds r2 = -144, r12 adds r3 = -128, r12 } @@ -178,6 +178,11 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) nop.f 0 nop.b 0 } + { .mii + mov loc3 = r9 /* preserve language specific register */ + mov loc4 = r10 /* preserve language specific register */ + mov loc5 = r11 /* preserve language specific register */ + } { .mmi stf.spill [r2] = f8, 32 stf.spill [r3] = f9, 32 @@ -232,6 +237,11 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) ;; } { .mii + mov r9 = loc3 /* restore language specific register */ + mov r10 = loc4 /* restore language specific register */ + mov r11 = loc5 /* restore language specific register */ + } + { .mii ld8 gp = [ret0] mov r8 = loc2 /* restore struct value register */ ;; -- cgit v1.1