Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 00:48:18 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb698c2c6dd1 - stable/13 - amd64 fabs(3): move signbit to .rodata
Message-ID:  <202104060048.1360mIAx043329@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb698c2c6dd1a0f8c5dd00888294dd272a42602c

commit fb698c2c6dd1a0f8c5dd00888294dd272a42602c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-03 01:32:10 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-04-06 00:47:34 +0000

    amd64 fabs(3): move signbit to .rodata
    
    (cherry picked from commit f548033818b8bbcee17ad3926103f2a9b2c975df)
    (cherry picked from commit 6d3f54fd090162ab14e2ec66f46bb1335a127a30)
    (cherry picked from commit d218c6f6af336135ea88342d472b0e66c21239c9)
---
 lib/libc/amd64/gen/fabs.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/libc/amd64/gen/fabs.S b/lib/libc/amd64/gen/fabs.S
index 2ace0f9fb926..38e67ab03873 100644
--- a/lib/libc/amd64/gen/fabs.S
+++ b/lib/libc/amd64/gen/fabs.S
@@ -39,7 +39,8 @@ ENTRY(fabs)
 	ret
 END(fabs)
 
-	.data
+	.section .rodata
+	.p2align 3
 signbit:
 	.quad	0x8000000000000000
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104060048.1360mIAx043329>