From f548033818b8bbcee17ad3926103f2a9b2c975df Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sat, 3 Apr 2021 04:32:10 +0300 Subject: [PATCH] amd64 fabs(3): move signbit to .text There is no reason for signbit quad to be writeable. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- lib/libc/amd64/gen/fabs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/amd64/gen/fabs.S b/lib/libc/amd64/gen/fabs.S index 2ace0f9fb92..bb1ac3a81b9 100644 --- a/lib/libc/amd64/gen/fabs.S +++ b/lib/libc/amd64/gen/fabs.S @@ -39,7 +39,7 @@ ENTRY(fabs) ret END(fabs) - .data + .p2align 3 signbit: .quad 0x8000000000000000