bfd/
[deliverable/binutils-gdb.git] / bfd / elflink.c
index 017ebe436a9ce80dd2702709a8bcaeae998c6efa..cd9131ef3805d301d0afc7c0e954fe502e26e3eb 100644 (file)
@@ -7048,6 +7048,8 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
                            (_("`%s' referenced in section `%A' of %B: "
                               "defined in discarded section `%A' of %B"),
                             o, input_bfd, sec, sec->owner, sym_name);
+                         bfd_set_error (bfd_error_bad_value);
+                         return FALSE;
                        }
 
                      /* Try to do the best we can to support buggy old
This page took 0.023718 seconds and 4 git commands to generate.