aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/mipself.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/mipself.em')
-rw-r--r--ld/emultempl/mipself.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/mipself.em b/ld/emultempl/mipself.em
index 108d33f..48944d5 100644
--- a/ld/emultempl/mipself.em
+++ b/ld/emultempl/mipself.em
@@ -168,7 +168,7 @@ mips_add_stub_section (const char *stub_sec_name, asection *input_section,
/* Set the flags. */
flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
| SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_KEEP);
- if (!bfd_set_section_flags (stub_bfd, stub_sec, flags))
+ if (!bfd_set_section_flags (stub_sec, flags))
goto err_ret;
os = lang_output_section_get (output_section);