Specify -z notext when building with -z ifunc-noplt.
The upstream implementation of -z ifunc-noplt disallows its combination with -z text. The option does not have much significance for kernel builds, though. Reviewed by: kib (previous version) Discussed with: emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20260
This commit is contained in:
parent
b5155bc919
commit
367ba2d2a3
@ -157,7 +157,7 @@ LDFLAGS+= -z max-page-size=2097152
|
||||
.if ${LINKER_TYPE} != "lld"
|
||||
LDFLAGS+= -z common-page-size=4096
|
||||
.else
|
||||
LDFLAGS+= -z ifunc-noplt
|
||||
LDFLAGS+= -z notext -z ifunc-noplt
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user