libcrypto padlock.so: Link with -z noexecstack for ld.bfd.
The assembly source files do not contain GNU-stack annotations, so ld.bfd defaults to using an executable stack.
This commit is contained in:
parent
69f6399c37
commit
99df55bbb7
@ -9,6 +9,8 @@ SRCS+= e_padlock-x86_64.S
|
||||
SRCS+= e_padlock-x86.S
|
||||
.endif
|
||||
|
||||
LDFLAGS.bfd+= -Wl,-znoexecstack
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.PATH: ${SRCTOP}/sys/crypto/openssl/${MACHINE_CPUARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user