HomeFreeBSD

Fix objtool: missing int3 after ret warning

Description

Fix objtool: missing int3 after ret warning

Resolve straight-line speculation warnings reported by objtool
for x86_64 assembly on Linux when CONFIG_SLS is set. See the
following LWN article for the complete details.

https://lwn.net/Articles/877845/

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 20 2022, 11:36 PM
Parents
rGb9d862f2dbcf: ICP: Add missing stack frame info to SHA asm files
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG69ad0bd769f6: Fix objtool: missing int3 after ret warning (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 27 2022, 8:38 PM