Closed siddhesh closed 11 months ago
Add .gnu.property notes to indicate support for IBT and shadow stacks when libsodium is built with it. There's no stack switching code in here, so this should not need any other codegen changes.
Without this, the following build configuration fails:
./configure CFLAGS="-O2 -fcf-protection" LDFLAGS=-Wl,-z,cet-report=error
Great!
Thank you Siddhesh!
Add .gnu.property notes to indicate support for IBT and shadow stacks when libsodium is built with it. There's no stack switching code in here, so this should not need any other codegen changes.
Without this, the following build configuration fails:
./configure CFLAGS="-O2 -fcf-protection" LDFLAGS=-Wl,-z,cet-report=error