[ARC] PLT information was still being generated when symbol was forced_local.
[deliverable/binutils-gdb.git] / bfd / elf32-arc.c
index 4d36a4175610d887f85bd401e4bfd1fc1ce0c924..180c4dcc52f2f8c324cfd66a7eecd73bbc3db129 100644 (file)
@@ -2057,7 +2057,8 @@ elf_arc_check_relocs (bfd *                        abfd,
          if (h == NULL)
            continue;
          else
-           h->needs_plt = 1;
+           if (h->forced_local == 0)
+             h->needs_plt = 1;
        }
 
       /* Add info to the symbol got_entry_list.  */
This page took 0.02352 seconds and 4 git commands to generate.