Regenerate spu overlay and icache manager files
[deliverable/binutils-gdb.git] / ld / emultempl / ppc64elf.em
index 914fc52183cc9bd16dcd5f8cdac0ff4034fcc7fc..59ea78693c3556623a1ffad83cc729e806a342cf 100644 (file)
@@ -531,7 +531,8 @@ gld${EMULATION_NAME}_finish (void)
   /* e_entry on PowerPC64 points to the function descriptor for
      _start.  If _start is missing, default to the first function
      descriptor in the .opd section.  */
-  if ((elf_elfheader (link_info.output_bfd)->e_flags & EF_PPC64_ABI) == 1)
+  if (stub_file != NULL
+      && (elf_elfheader (link_info.output_bfd)->e_flags & EF_PPC64_ABI) == 1)
     entry_section = ".opd";
 
   if (params.emit_stub_syms < 0)
This page took 0.023397 seconds and 4 git commands to generate.