summaryrefslogtreecommitdiff
path: root/lib/libc/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-19 18:23:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-19 18:23:01 +0000
commit170d6492d3cd4791f69ac30370d17467ea5c5cbc (patch)
treee39f004cadb76d64f44ffbeea030bda9cc84f21e /lib/libc/arch/amd64
parent50db4a87ba6e6f6d26110a0baeba0ae148ba6fd1 (diff)
Put _map table into .rodata instead of .text
Diffstat (limited to 'lib/libc/arch/amd64')
-rw-r--r--lib/libc/arch/amd64/gen/flt_rounds.S5
1 files changed, 2 insertions, 3 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 */