Mon Nov 24 15:47:49 1997 Nick Clifton <nickc@cygnus.com>
- * coff-arm.c: Make variables and functions static, so that this
- file can be included in multiple object files.
+ * coff-arm.c: Make variables and some functions static, so that
+ this file can be included in multiple object files.
+ (coff_arm_bfd_final_link): Fix minor bug.
Sat Nov 22 15:16:00 1997 Nick Clifton <nickc@cygnus.com>
return true;
}
-static boolean
+#ifndef COFF_WITH_PR
+boolean
arm_allocate_interworking_sections (info)
struct bfd_link_info *info;
{
return;
}
-static boolean
+boolean
arm_process_before_allocation (abfd, info)
bfd * abfd;
struct bfd_link_info * info;
return true;
}
+#endif /* not COFF_WITH_PE */
#define coff_relocate_section coff_arm_relocate_section
/* If the two formats are different we cannot merge anything. */
if (ibfd->xvec != obfd->xvec)
{
+ _bfd_error_handler
+ ("ERROR: %s is format '%s' whereas %s is format '%s'",
+ bfd_get_filename (ibfd), bfd_get_target(ibfd),
+ bfd_get_filename (obfd), bfd_get_target(obfd)
+ );
+
bfd_set_error (bfd_error_wrong_format);
return false;
}
{
if (! _bfd_coff_link_input_bfd (&finfo, last_one))
goto error_return;
+ last_one->output_has_begun = true;
}
- last_one->output_has_begun = true;
}
#endif