]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: libgcc: tweak warning from __sync_synchronize
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 27 Nov 2023 17:59:39 +0000 (17:59 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 27 Nov 2023 18:00:33 +0000 (18:00 +0000)
My previous patch to add an implementation of __sync_syncrhonize with
a warning trips a testsuite failure in fortran (and possibly other
languages as well) as the framework expects no blank lines in the
output, but this warning was generating one.  So remove the newline
from the end of the message and rely on the one added by the linker
instead.

Since we're there, remove the trailing period from the message as
well, since the convention seems to be not to have one.

libgcc/

* config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.

libgcc/config/arm/lib1funcs.S

index 78887861616c5bc6b430be9696a8bb503271ffc2..40e9a7a87fb7fc933ece5069dc6c877420ffc43c 100644 (file)
@@ -2214,7 +2214,7 @@ LSYM(Lchange_\register):
        .ascii "no effect.  Relink with\n"
        .ascii "  -specs=sync-{none,dmb,cp15dmb}.specs\n"
        .ascii "to specify exactly which barrier format to use and avoid "
-       .ascii "this warning.\n\0"
+       .ascii "this warning\0"
 #endif
 #endif
 #endif