[PATCH] s390 check-textrel failure.
Martin Schwidefsky
schwidefsky@de.ibm.com
Mon Jan 20 13:30:00 GMT 2003
Hi,
I found out why the check-textrel complains about libc.so. In vfork.S
is a non pc relative reference for __fork. Consequently there is a
R_390_RELATIVE relocation in the .rela.dyn against it.
blues skies,
Martin.
linuxthreads/ChangeLog:
2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Avoid non pc relative
reference to __fork.
diff -urN libc/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S libc-s390/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S
--- libc/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S Tue Jan 14 09:52:45 2003
+++ libc-s390/linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S Fri Jan 17 09:07:01 2003
@@ -43,10 +43,10 @@
0:
basr %r1,0
1:
- l %r1,2f-1b(%r1)
+ al %r1,2f-1b(%r1)
br %r1
2:
- .long HIDDEN_JUMPTARGET(__fork)
+ .long HIDDEN_JUMPTARGET(__fork)-1b
PSEUDO_END(__vfork)
libc_hidden_def (__vfork)
More information about the Libc-hacker
mailing list