Fix accesses to the GOT for AARCH64 operating in 32-bit mode.
[deliverable/binutils-gdb.git] / bfd / elf32-tilepro.c
index ebd5046c46c8be8f9a93b8fb3abb4842c90278e8..9430b78000f9b58d4e6535a4ef3ddc3e55368d95 100644 (file)
@@ -1234,8 +1234,7 @@ tilepro_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.025336 seconds and 4 git commands to generate.