H8/300: Fix pseudo registers reads/writes.
[deliverable/binutils-gdb.git] / gold / symtab.h
index 1232c97747ef6d92f52524405bdc698ccc431d2a..9aff274cb3f7885175b826520c939b6bbd90eb79 100644 (file)
@@ -576,8 +576,14 @@ class Symbol
     if (!parameters->options().shared())
       return false;
 
-    // If the user used -Bsymbolic, then nothing is preemptible.
-    if (parameters->options().Bsymbolic())
+    // If the symbol was named in a --dynamic-list script, it is preemptible.
+    if (parameters->options().in_dynamic_list(this->name()))
+      return true;
+
+    // If the user used -Bsymbolic or provided a --dynamic-list script,
+    // then nothing (else) is preemptible.
+    if (parameters->options().Bsymbolic()
+        || parameters->options().have_dynamic_list())
       return false;
 
     // If the user used -Bsymbolic-functions, then functions are not
This page took 0.024091 seconds and 4 git commands to generate.