diff options
author | miod <> | 2023-01-13 17:11:41 +0000 |
---|---|---|
committer | miod <> | 2023-01-13 17:11:41 +0000 |
commit | 364fc1ecd2d96b869246574350c6925835b991ab (patch) | |
tree | 754902f7e6ad288b35b04ef817ed997460a00546 /src/lib/libcrypto/arch | |
parent | f80a4029bb2f43fe5f0270857d48bc9d41d3ea4e (diff) | |
download | openbsd-364fc1ecd2d96b869246574350c6925835b991ab.tar.gz openbsd-364fc1ecd2d96b869246574350c6925835b991ab.tar.bz2 openbsd-364fc1ecd2d96b869246574350c6925835b991ab.zip |
Move all data tables from .text section to .rodata, and update the code to
fetch them correctly when building PIC. Also drop unused data, and remove
--no-execute-only from linker flags.
ok jsing@ kettenis@
Diffstat (limited to 'src/lib/libcrypto/arch')
-rw-r--r-- | src/lib/libcrypto/arch/hppa/Makefile.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc index 8744a0bbb8..eb15810f38 100644 --- a/src/lib/libcrypto/arch/hppa/Makefile.inc +++ b/src/lib/libcrypto/arch/hppa/Makefile.inc | |||
@@ -1,9 +1,7 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.11 2023/01/11 16:25:13 deraadt Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.12 2023/01/13 17:11:41 miod Exp $ |
2 | 2 | ||
3 | # hppa-specific libcrypto build rules | 3 | # hppa-specific libcrypto build rules |
4 | 4 | ||
5 | LDADD+= -Wl,--no-execute-only | ||
6 | |||
7 | # aes | 5 | # aes |
8 | SRCS+= aes_core.c aes_cbc.c | 6 | SRCS+= aes_core.c aes_cbc.c |
9 | CFLAGS+= -DAES_ASM | 7 | CFLAGS+= -DAES_ASM |