Update of /cvsroot/linux-vax/glibc/sysdeps/vax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18218
Modified Files:
dl-machine.h
Log Message:
port over resolver entry trampoline from uClibc
Index: dl-machine.h
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/dl-machine.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dl-machine.h 26 Feb 2004 11:35:35 -0000 1.11
+++ dl-machine.h 29 Feb 2004 05:04:55 -0000 1.12
@@ -137,7 +137,22 @@
.globl " #tramp_name "\n\t \
.type " #tramp_name ", @function\n\t \
" #tramp_name ": \n\t \
+ pushr $0x3ffc\n\
+ movl 48(%sp), %r0\n\
+ movl 52(%sp), %r1\n\
+ pushl (%r1)
+ pushl %r0
calls $2, " #fixup_name "\n\
+ movl %r0, 52(%sp)\n\
+ bicw3 6(%fp), (%r0), %r1\n\
+ popr $0x3ffc\n\
+ bneq 4f\n\
+ addl2 $4, %sp\n\
+ addl2 $2, (%sp)\n\
+ rsb\n\
+4: addl2 $8, %sp\n\
+ callg (%ap), (%r0)\n\
+ ret\n\
.size " #tramp_name ", . - " #tramp_name "\n\
.previous\n\
");
@@ -214,9 +229,6 @@
.size _dl_start_user, . - _dl_start_user\n \
.previous");
-#if 0
-#endif
-
/* Nonzero iff TYPE describes a relocation that should
skip the executable when looking up the symbol value. */
#define elf_machine_lookup_noexec_p(type) ((type) == R_VAX_COPY)
|