about summary refs log tree commit diff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 8073fca575..f0c7284d73 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -214,7 +214,7 @@
 
 /* These are all done the same way in ELF.
    There is a new section created for each set.  */
-#  ifdef PIC
+#  ifdef SHARED
 /* When building a shared library, make the set section writable,
    because it will need to be relocated at run time anyway.  */
 #   define _elf_set_element(set, symbol) \