git: 6d3f54fd0901 - main - amd64 fabs.S: put signbit into rodata instead of text

Konstantin Belousov kib at FreeBSD.org
Sun Apr 4 01:50:00 UTC 2021


The branch main has been updated by kib:

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

commit 6d3f54fd090162ab14e2ec66f46bb1335a127a30
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-04 01:36:32 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-04 01:49:22 +0000

    amd64 fabs.S: put signbit into rodata instead of text
    
    Noted by:       jrtc27
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 lib/libc/amd64/gen/fabs.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libc/amd64/gen/fabs.S b/lib/libc/amd64/gen/fabs.S
index bb1ac3a81b96..1da21d03f506 100644
--- a/lib/libc/amd64/gen/fabs.S
+++ b/lib/libc/amd64/gen/fabs.S
@@ -39,6 +39,7 @@ ENTRY(fabs)
 	ret
 END(fabs)
 
+	.rodata
 	.p2align 3
 signbit:
 	.quad	0x8000000000000000


More information about the dev-commits-src-all mailing list