[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12808] Segfault in _bfd_elf_merge_symbol
From: |
kmtaylor at gmx dot com |
Subject: |
[Bug ld/12808] Segfault in _bfd_elf_merge_symbol |
Date: |
Thu, 26 May 2011 12:09:03 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12808
Kim Taylor <kmtaylor at gmx dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #2 from Kim Taylor <kmtaylor at gmx dot com> 2011-05-26 12:08:59
UTC ---
(In reply to comment #1)
> elflink.c in 2.20.1 does not have an error in the line you show in your patch,
> so perhaps you or someone else applied an incorrect patch?
I'm not sure what you mean by this. I'll try to explain the problem clearer:
The following code has been extracted from the latest version of elflink.c
-------------------------------------------------------------------------
if (tdef && ntdef)
(*_bfd_error_handler)
(_("%s: TLS definition in %B section %A mismatches non-TLS definition in
%B section %A"),
tbfd, tsec, ntbfd, ntsec, h->root.root.string);
else if (!tdef && !ntdef)
(*_bfd_error_handler)
(_("%s: TLS reference in %B mismatches non-TLS reference in %B"),
tbfd, ntbfd, h->root.root.string);
else if (tdef)
(*_bfd_error_handler)
(_("%s: TLS definition in %B section %A mismatches non-TLS reference in
%B"),
tbfd, tsec, ntbfd, h->root.root.string);
else
(*_bfd_error_handler)
(_("%s: TLS reference in %B mismatches non-TLS definition in %B section
%A"),
tbfd, ntbfd, ntsec, h->root.root.string);
--------------------------------------------------------------------------
There are several cases where the format descriptor does not match the supplied
argument type.
eg: "%s: TLS definition in %B section %A mismatches non-TLS reference in %B"
(string) (bfd *) (asection *) (bfd *)
tbfd tsec btbfd h->root.root.string
(bfd *) (asection *) (bfd *) (string)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.