diff options
author | 2017-08-19 18:23:00 +0000 | |
---|---|---|
committer | 2017-08-19 18:23:00 +0000 | |
commit | 3b35c967ee99681fe39f5cd695ad20cf8e53cb13 (patch) | |
tree | 9ab03b6a7a16bd7640a1236176a11f3fbf697e62 /lib/libc | |
parent | Build ld.so with ${DEBUG} which defults to -g, like other "libraries" are. (diff) | |
download | wireguard-openbsd-3b35c967ee99681fe39f5cd695ad20cf8e53cb13.tar.xz wireguard-openbsd-3b35c967ee99681fe39f5cd695ad20cf8e53cb13.zip |
Put _map table into .rodata instead of .text
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/amd64/gen/flt_rounds.S | 5 | ||||
-rw-r--r-- | lib/libc/arch/i386/gen/flt_rounds.S | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/arch/amd64/gen/flt_rounds.S b/lib/libc/arch/amd64/gen/flt_rounds.S index 556e5850173..7b2c284d459 100644 --- a/lib/libc/arch/amd64/gen/flt_rounds.S +++ b/lib/libc/arch/amd64/gen/flt_rounds.S @@ -1,4 +1,4 @@ -/* $OpenBSD: flt_rounds.S,v 1.6 2015/11/14 21:53:03 guenther Exp $ */ +/* $OpenBSD: flt_rounds.S,v 1.7 2017/08/19 18:23:00 deraadt Exp $ */ /* $NetBSD: flt_rounds.S,v 1.2 2002/06/06 23:04:35 fvdl Exp $ */ /* @@ -8,8 +8,7 @@ #include "DEFS.h" - .text - _ALIGN_TEXT + .section .rodata _map: .byte 1 /* round to nearest */ .byte 3 /* round to negative infinity */ diff --git a/lib/libc/arch/i386/gen/flt_rounds.S b/lib/libc/arch/i386/gen/flt_rounds.S index e42ad93b214..a46fe912fd5 100644 --- a/lib/libc/arch/i386/gen/flt_rounds.S +++ b/lib/libc/arch/i386/gen/flt_rounds.S @@ -1,4 +1,4 @@ -/* $OpenBSD: flt_rounds.S,v 1.5 2015/10/27 05:54:49 guenther Exp $ */ +/* $OpenBSD: flt_rounds.S,v 1.6 2017/08/19 18:23:00 deraadt Exp $ */ /* * Written by J.T. Conklin, Apr 4, 1995 * Public domain. @@ -6,7 +6,7 @@ #include "SYS.h" - .text + .section .rodata .align 2 _map: .byte 1 /* round to nearest */ |