1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

PowerPC: Fix vDSO missing ODP entries

This patch fixes the vDSO symbol used directed in IFUNC resolver where
they do not have an associated ODP entry leading to undefined behavior
in some cases. It adds an artificial OPD static entry to such cases
and set its TOC to non 0 to avoid triggering lazy resolutions.
This commit is contained in:
Adhemerval Zanella
2013-11-07 05:34:22 -06:00
parent e4368156e6
commit 76a9b99861
4 changed files with 35 additions and 5 deletions

View File

@ -20,7 +20,9 @@
# include <time.h>
# include <sysdep.h>
# include <dl-vdso.h>
# include <bits/libc-vdso.h>
# include <dl-machine.h>
void *time_ifunc (void) asm ("time");