This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mn10300: clarify a diagnostic


We only flag bfd_reloc_dangerous in one situation, yet the message for
that error is void of meaning.  I propose we emit something more
useful...

	* elf-m10300 (mn10300_elf_relocate_section): Make diagnostic
	more specific.

Index: elf-m10300.c
===================================================================
RCS file: /cvs/cvsfiles/gnupro/bfd/elf-m10300.c,v
retrieving revision 1.12.8.1.4.16
diff -p -U3 -r1.12.8.1.4.16 elf-m10300.c
--- elf-m10300.c	14 Feb 2006 22:20:08 -0000	1.12.8.1.4.16
+++ elf-m10300.c	17 Oct 2006 02:14:23 -0000
@@ -2143,7 +2143,7 @@ mn10300_elf_relocate_section (output_bfd
 	      goto common_error;
 
 	    case bfd_reloc_dangerous:
-	      msg = _("internal error: dangerous error");
+	      msg = _("warning: non-PIC relocation seen during shared library link");
 	      goto common_error;
 
 	    default:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]