CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/11/25 19:50:11
Modified files:
libexec/ld.so/aarch64: rtld_machine.c
libexec/ld.so/amd64: rtld_machine.c
libexec/ld.so/arm: rtld_machine.c
libexec/ld.so/i386: rtld_machine.c
Log message:
Make aarch64, amd64, arm, and i386 more like sparc64: move non-lazy
relocation from _dl_md_reloc() to _dl_md_reloc_all_plt() which has
the minimal code to do it.
Also, avoid division on PLTRELSZ; just use it to offset to the end.
ok kettenis@
