Delete duplicate target short-cuts to dynamic sections
[deliverable/binutils-gdb.git] / bfd / elfnn-aarch64.c
index 4ebdbe20d7178ce46e6b8f2a77784ec00c2fff92..0b5e655e3cdb5fda277bf19d2297802dfaecae7e 100644 (file)
@@ -6939,8 +6939,7 @@ aarch64_elf_create_got_section (bfd *abfd, struct bfd_link_info *info)
   struct elf_link_hash_table *htab = elf_hash_table (info);
 
   /* This function may be called more than once.  */
-  s = bfd_get_linker_section (abfd, ".got");
-  if (s != NULL)
+  if (htab->sgot != NULL)
     return TRUE;
 
   flags = bed->dynamic_sec_flags;
This page took 0.023844 seconds and 4 git commands to generate.