diff options
Diffstat (limited to 'ld/emultempl/avrelf.em')
-rw-r--r-- | ld/emultempl/avrelf.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em index f7a3acb..18bd51d 100644 --- a/ld/emultempl/avrelf.em +++ b/ld/emultempl/avrelf.em @@ -81,7 +81,7 @@ avr_elf_${EMULATION_NAME}_before_allocation (void) /* If generating a relocatable output file, then we don't have to generate the trampolines. */ - if (link_info.relocatable) + if (bfd_link_relocatable (&link_info)) avr_no_stubs = TRUE; if (avr_no_stubs) @@ -182,7 +182,7 @@ avr_finish (void) bfd *abfd; bfd_boolean avr_link_relax; - if (link_info.relocatable) + if (bfd_link_relocatable (&link_info)) { avr_link_relax = TRUE; for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next) |