summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/weaksym.test
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/elf/weaksym.test')
-rw-r--r--lld/test/elf/weaksym.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/elf/weaksym.test b/lld/test/elf/weaksym.test
index 0e265028e5e..59d997edc64 100644
--- a/lld/test/elf/weaksym.test
+++ b/lld/test/elf/weaksym.test
@@ -1,7 +1,7 @@
# Tests that a weak reference remains a weak reference,
# even if a shared library defines the symbol weak as well.
-RUN: lld -flavor gnu -target x86_64 -shared %p/Inputs/weaksym.o -L%p/Inputs -lweaksym -o %t1
+RUN: lld -flavor old-gnu -target x86_64 -shared %p/Inputs/weaksym.o -L%p/Inputs -lweaksym -o %t1
RUN: llvm-nm -n %t1 | FileCheck -check-prefix CHECKSYMS %s
CHECKSYMS: w weaksym
OpenPOWER on IntegriCloud