Support 64-bit entry size in SHT_HASH (for s390).
[deliverable/binutils-gdb.git] / gold / layout.cc
index b454c101b71ddf1cabc965719c6174374e4e3fa8..ad92fccca42eb1db809a221c030dbd90f8d8c20b 100644 (file)
@@ -4409,7 +4409,7 @@ Layout::create_dynamic_symtab(const Input_objects* input_objects,
        {
          if (dynsym != NULL)
            hashsec->set_link_section(dynsym);
-         hashsec->set_entsize(4);
+         hashsec->set_entsize(parameters->target().hash_entry_size() / 8);
        }
 
       if (odyn != NULL)
This page took 0.027026 seconds and 4 git commands to generate.