Add output_type to bfd_link_info
[deliverable/binutils-gdb.git] / ld / emultempl / aarch64elf.em
index 313263a1a2bdb794a7f09b4aa062da5d9a350ec8..b75a24b25808518dc1a9ae1319d49a1d86fc3125 100644 (file)
@@ -238,7 +238,7 @@ gld${EMULATION_NAME}_after_allocation (void)
 
   /* If generating a relocatable output file, then we don't
      have to examine the relocs.  */
-  if (stub_file != NULL && !link_info.relocatable)
+  if (stub_file != NULL && !bfd_link_relocatable (&link_info))
     {
       ret = elf${ELFSIZE}_aarch64_setup_section_lists (link_info.output_bfd,
                                                       &link_info);
@@ -273,7 +273,7 @@ gld${EMULATION_NAME}_after_allocation (void)
 static void
 gld${EMULATION_NAME}_finish (void)
 {
-  if (! link_info.relocatable)
+  if (!bfd_link_relocatable (&link_info))
     {
       /* Now build the linker stubs.  */
       if (stub_file->the_bfd->sections != NULL)
This page took 0.027066 seconds and 4 git commands to generate.