From ff5ac77bf52737eb247737fcf0f213eaf148cbf8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 4 Apr 2013 14:38:01 +0000 Subject: * bfd.c (bfd_error_type, bfd_errmsgs): Add bfd_error_missing_dso. * bfd-in2.h: Regenerate. * elflink.c (elf_link_add_object_symbols): Use new error. --- bfd/elflink.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bfd/elflink.c') diff --git a/bfd/elflink.c b/bfd/elflink.c index 38add1a..8a2bf3f 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4443,11 +4443,7 @@ error_free_dyn: (*_bfd_error_handler) (_("%B: undefined reference to symbol '%s'"), old_bfd, name); - (*_bfd_error_handler) - (_("note: '%s' is defined in DSO %B" - " so try adding it to the linker command line"), - abfd, name); - bfd_set_error (bfd_error_invalid_operation); + bfd_set_error (bfd_error_missing_dso); goto error_free_vers; } -- cgit v1.1