diff options
author | Vincent Chen <vincent.chen@sifive.com> | 2020-12-15 17:16:40 +0800 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2021-01-10 21:25:16 -0500 |
commit | 313bfd505e7c6a70c508ba9b2e2c0ff6e901c2a0 (patch) | |
tree | 6d1e34ef9b63bd754ab44ebfcd40121d74dc3a4e /sysdeps/riscv/jmpbuf-unwind.h | |
parent | c31b1f52311e10a37b85604b43de81dff205637e (diff) | |
download | glibc-313bfd505e7c6a70c508ba9b2e2c0ff6e901c2a0.tar.gz glibc-313bfd505e7c6a70c508ba9b2e2c0ff6e901c2a0.tar.xz glibc-313bfd505e7c6a70c508ba9b2e2c0ff6e901c2a0.zip |
riscv: Initialize $gp before resolving the IRELATIVE relocation
The $gp register may be used to access the global variable in the PDE program, so the $gp register should be initialized before executing the IFUNC resolver of PDE program to avoid unexpected error occurs.
Diffstat (limited to 'sysdeps/riscv/jmpbuf-unwind.h')
0 files changed, 0 insertions, 0 deletions