blob: 4b833ffd3ceea8edeec7686746cf1d1d424598e0 (
plain) (
tree)
|
|
The tests need to know musl can support symbol visibility.
Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30915
--- binutils-2.41/ld/testsuite/ld-vsb/main.c.old 2023-07-02 18:00:00.000000000 -0500
+++ binutils-2.41/ld/testsuite/ld-vsb/main.c 2023-09-29 03:03:53.103603661 -0500
@@ -5,9 +5,9 @@
int
main (void)
{
-#if defined (__GLIBC__) && (__GLIBC__ > 2 \
- || (__GLIBC__ == 2 \
- && __GLIBC_MINOR__ >= 2))
+#if !defined (__GLIBC__) || (__GLIBC__ > 2 \
+ || (__GLIBC__ == 2 \
+ && __GLIBC_MINOR__ >= 2))
puts ("yes");
#else
puts ("no");
|