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
GitHub <noreply@github.com>Committed on Apr 17 2021, 8:11 PM
Parents
rGa31ac10185e6: libzfs: refresh property cache after inheriting userprop
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG7c9702e2a7c0: ICP: Silence objtool "stack pointer realignment" warnings (authored by Attila Fülöp <attila@fueloep.org>).Apr 17 2021, 8:11 PM