]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add a clang/lld workaround for symbol not being overridden
authorStan Shebs <stanshebs@google.com>
Wed, 9 May 2018 18:25:42 +0000 (11:25 -0700)
committerStan Shebs <stanshebs@google.com>
Wed, 9 May 2018 18:25:42 +0000 (11:25 -0700)
elf/unload4mod4.c

index ba5a144d3822d46266463eaae776edf10f9f27da..bfff34fd57328e105c85593ebd65b53ead8dd23a 100644 (file)
@@ -3,6 +3,8 @@
 
 int
 __attribute__((noinline))
+/* Workaround for clang/lld failing to override this from a module.  */
+__attribute__((weak))
 baz (int x)
 {
   abort ();