about summary refs log tree commit diff
path: root/sysdeps/riscv/rvf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-09-28 13:31:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-09-28 13:31:30 -0700
commit7b1f9406761331cf35fe521fbdb592beecf68a2c (patch)
tree33dd97f1e788774cc9ec32fe443b5046d80e8349 /sysdeps/riscv/rvf
parent7a16bdbb9ff4122af0a28dc20996c95352011fdd (diff)
downloadglibc-7b1f9406761331cf35fe521fbdb592beecf68a2c.tar.gz
glibc-7b1f9406761331cf35fe521fbdb592beecf68a2c.tar.xz
glibc-7b1f9406761331cf35fe521fbdb592beecf68a2c.zip
i386: Use _dl_runtime_[resolve|profile]_shstk for SHSTK [BZ #23716]
When elf_machine_runtime_setup is called to set up resolver, it should
use _dl_runtime_resolve_shstk or _dl_runtime_profile_shstk if SHSTK is
enabled by kernel.

Tested on i686 with and without --enable-cet as well as on CET emulator
with --enable-cet.

	[BZ #23716]
	* sysdeps/i386/dl-cet.c: Removed.
	* sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
	prototype.
	(_dl_runtime_profile_shstk): Likewise.
	(elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
	_dl_runtime_resolve_shstk if SHSTK is enabled by kernel.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/riscv/rvf')
0 files changed, 0 insertions, 0 deletions