This is the mail archive of the binutils@sources.redhat.com 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]

[PATCH] newline missing in elf_link_input_bfd


openoffice doesnt link for me, the error looks confusing. Maybe there is
a newline missing.

`.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section `.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm[char const* _STL::__get_formatted_time<_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, char const*>(_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, char const*, char const*, _STL::_Time_Info const&, int&, tm*)]' of ../lib/obj/GCC/ReleaseD/locale_impl.o`.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section `.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm[char const* _STL::__get_formatted_time<_STL::istreambuf_iterator<char, _STL::char_traits<char> >, char const*>(_STL::istreambuf_iterator<char, _STL::char_traits<char> >, _STL::istreambuf_iterator<char, _STL::char_traits<char> >, char const*, char const*, _STL::_Time_Info const&, int&, tm*)]' of ../lib/obj/GCC/ReleaseD/locale_impl.o`.gnu.linkonce.r._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section `.gnu.linkonce.r._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE[_STL::money_get<wchar_t, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> > >::do_get(_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, bool, _STL::ios_base&, int&, _STL::basic_string<wchar_t, _STL::char_traits<wchar_t>, _STL::allocator<wchar_t> >&) const]' of ../lib/obj/GCC/ReleaseD/locale_impl.o`.gnu.linkonce.r._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section `.gnu.linkonce.r._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE[_STL::money_get<char, _STL::istreambuf_iterator<char, _STL::char_traits<char> > >::do_get(_STL::istreambuf_iterator<char, _STL::char_traits<char> >, _STL::istreambuf_iterator<char, _STL::char_traits<char> >, bool, _STL::ios_base&, int&, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&) const]' of ../lib/obj/GCC/ReleaseD/locale_impl.o`.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm[char const* _STL::__get_formatted_time<_STL::istreambuf_iterator<char, _STL::char_traits<char> >, char const*>(_STL::istreambuf_iterator<char, _STL::char_traits<char> >, _STL::istreambuf_iterator<char, _STL::char_traits<char> >, char const*, char const*, _STL::_Time_Info const&, int&, tm*)]' of ../lib/obj/GCC/ReleaseD/locale_catalog.o`.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.r._ZN4_STL20__get_formatted_timeINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKcEET0_T_S8_S7_S7_RKNS_10_Time_InfoERiP2tm[char const* _STL::__get_formatted_time<_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, char const*>(_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, char const*, char const*, _STL::_Time_Info const&, int&, tm*)]' of ../lib/obj/GCC/ReleaseD/locale_catalog.o`.gnu.linkonce.r._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.r._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE[_STL::money_get<wchar_t, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> > >::do_get(_STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, _STL::istreambuf_iterator<wchar_t, _STL::char_traits<wchar_t> >, bool, _STL::ios_base&, int&, _STL::basic_string<wchar_t, _STL::char_traits<wchar_t>, _STL::allocator<wchar_t> >&) const]' of ../lib/obj/GCC/ReleaseD/locale_catalog.o`.gnu.linkonce.r._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE' referenced in section `.got2' of ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section `.gnu.linkonce.r._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE[_STL::money_get<char, _STL::istreambuf_iterator<char, _STL::char_traits<char> > >::do_get(_STL::istreambuf_iterator<char, _STL::char_traits<char> >, _STL::istreambuf_iterator<char, _STL::char_traits<char> >, bool, _STL::ios_base&, int&, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >&) const]' of ../lib/obj/GCC/ReleaseD/locale_catalog.ocollect2: ld returned 1 exit status

Index: ./bfd/elflink.c
===================================================================
RCS file: /cvs/src/src/bfd/elflink.c,v
retrieving revision 1.177
diff -u -p -u -r1.177 elflink.c
--- ./bfd/elflink.c	16 Jul 2005 15:08:14 -0000	1.177
+++ ./bfd/elflink.c	23 Jul 2005 09:30:42 -0000
@@ -7089,7 +7089,7 @@ elf_link_input_bfd (struct elf_final_lin
 		      if (action & COMPLAIN)
 			(*finfo->info->callbacks->einfo)
 			  (_("%X`%s' referenced in section `%A' of %B: "
-			     "defined in discarded section `%A' of %B"),
+			     "defined in discarded section `%A' of %B\n"),
 			   sym_name, o, input_bfd, sec, sec->owner);
 
 		      /* Try to do the best we can to support buggy old


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