Skip to content
Commit f2734de0 authored by Siva Chandra Reddy's avatar Siva Chandra Reddy
Browse files

Make _dl_relocate_static_pie return an int indicating whether it applied relocs.

There are two versions of _dl_relocation_static_pie. One of them is the
actual worker used for static pie which applies the startup relocations.
The other is a dummy use for non-pie static. This change make the worker
version return 1, and the dummy version return 0. The return value 1
indicates that the relocs have been applied, and hence a second round of
irel relocations are not attempted in LIBC_START_MAIN for static-pie.
parent a8e9dc59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment