HomeFreeBSD

ICP: Silence objtool "stack pointer realignment" warnings

Description

ICP: Silence objtool "stack pointer realignment" warnings

Objtool requires the use of a DRAP register while aligning the
stack. Since a DRAP register is a gcc concept and we are
notoriously low on registers in the crypto code, it's not worth
the effort to mimic gcc generated stack realignment.

We simply silence the warning by adding the offending object files
to OBJECT_FILES_NON_STANDARD.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #6950
Closes #11914

Details

Provenance
Attila Fülöp <attila@fueloep.org>Authored on Apr 17 2021, 8:11 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 19 2021, 10:22 PM
Parents
rG121a34e36b4a: libzfs: refresh property cache after inheriting userprop
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGcdc27fd061d2: ICP: Silence objtool "stack pointer realignment" warnings (authored by Attila Fülöp <attila@fueloep.org>).Apr 19 2021, 10:22 PM