From: <ai...@us...> - 2004-01-16 14:55:48
|
Update of /cvsroot/linux-vax/glibc/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv19218 Modified Files: dl-machine.h Log Message: find the GOT in the correct place for a start Index: dl-machine.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/dl-machine.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- dl-machine.h 16 Jan 2004 12:42:37 -0000 1.6 +++ dl-machine.h 16 Jan 2004 14:55:44 -0000 1.7 @@ -57,7 +57,7 @@ paranoid. Why do you ask? */ Elf32_Addr *got; - __asm__ ("movl %%r0, %0": "=rm" (got)); + __asm__("\tmoval _GLOBAL_OFFSET_TABLE_, %0\n\t":"=r"(got)); return *got; } |