diff options
Diffstat (limited to 'ld/emultempl/spuelf.em')
-rw-r--r-- | ld/emultempl/spuelf.em | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em index cc9ef2c..88278ae 100644 --- a/ld/emultempl/spuelf.em +++ b/ld/emultempl/spuelf.em @@ -107,10 +107,10 @@ spu_after_open (void) params.emit_stub_syms |= link_info.emitrelocations; spu_elf_setup (&link_info, ¶ms); - if (link_info.relocatable) + if (bfd_link_relocatable (&link_info)) lang_add_unique (".text.ia.*"); - if (!link_info.relocatable + if (!bfd_link_relocatable (&link_info) && link_info.input_bfds != NULL && !spu_elf_create_sections (&link_info)) einfo ("%X%P: can not create note section: %E\n"); @@ -264,7 +264,7 @@ static void spu_before_allocation (void) { if (is_spu_target () - && !link_info.relocatable + && !bfd_link_relocatable (&link_info) && !no_overlays) { int ret; @@ -318,7 +318,7 @@ spu_before_allocation (void) } if (is_spu_target () - && !link_info.relocatable) + && !bfd_link_relocatable (&link_info)) spu_elf_size_sections (link_info.output_bfd, &link_info); gld${EMULATION_NAME}_before_allocation (); |