mach-o cleanup: remove useless calls to bfd_seek.
[deliverable/binutils-gdb.git] / ld / ldemul.c
index 8b2cae7711bdc41e38b5afd55d37aa745445d879..22c79744d9b645c5e5ffa33c10bcf90c31426fcf 100644 (file)
@@ -205,7 +205,7 @@ void
 after_parse_default (void)
 {
   if (entry_symbol.name != NULL
-      && (link_info.executable || entry_from_cmdline))
+      && (bfd_link_executable (&link_info) || entry_from_cmdline))
     {
       bfd_boolean is_vma = FALSE;
 
@@ -235,14 +235,14 @@ after_allocation_default (void)
 void
 before_allocation_default (void)
 {
-  if (!link_info.relocatable)
+  if (!bfd_link_relocatable (&link_info))
     strip_excluded_output_sections ();
 }
 
 void
 finish_default (void)
 {
-  if (!link_info.relocatable)
+  if (!bfd_link_relocatable (&link_info))
     _bfd_fix_excluded_sec_syms (link_info.output_bfd, &link_info);
 }
 
This page took 0.023998 seconds and 4 git commands to generate.