about summary refs log tree commit diff
path: root/elf/tst-unique4lib.cc
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-unique4lib.cc')
-rw-r--r--elf/tst-unique4lib.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-unique4lib.cc b/elf/tst-unique4lib.cc
index c9fdf9cfea..20a10e93d0 100644
--- a/elf/tst-unique4lib.cc
+++ b/elf/tst-unique4lib.cc
@@ -14,4 +14,4 @@ static int a[24] =
     S<23>::i, S<24>::i
   };
 
-static int b = S<1>::j;
+static int b __attribute__ ((used)) = S<1>::j;