[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25676] binutils can't handle the split/linked nature of th
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit |
Date: |
Mon, 23 Mar 2020 15:33:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25676
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
(In reply to cialdi from comment #5)
Hi Max,
> For object files compiled with -fcommon nm cannot "find" file name and line.
> The strange thing (in my opinion) is that for the corresponding elf file it
> does.
This is because "common" variables do not have single place where they are
defined. At least not in object files. They can be defined in multiple
locations, and it is only once they are linked that a final size and place of
definition is chosen.
If you look at the object file nm's output will show the variables of type "C".
But once the object file is linked their type changes to "B", as they now have
a definite location and size.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25676] New: binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, cialdi at gmail dot com, 2020/03/14
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, nickc at redhat dot com, 2020/03/18
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, cvs-commit at gcc dot gnu.org, 2020/03/19
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, nickc at redhat dot com, 2020/03/20
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, cialdi at gmail dot com, 2020/03/21
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit, cialdi at gmail dot com, 2020/03/21
- [Bug binutils/25676] binutils can't handle the split/linked nature of the debug-records for variables whose (separate) extern-decl and definition are found in the same compilation unit,
nickc at redhat dot com <=