summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/amd64/gen/flt_rounds.S5
-rw-r--r--lib/libc/arch/i386/gen/flt_rounds.S4
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 */