[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/16566] New: Please provide a way to include static symbols in li
From: |
pmiscml at gmail dot com |
Subject: |
[Bug ld/16566] New: Please provide a way to include static symbols in linker map file |
Date: |
Wed, 12 Feb 2014 15:42:02 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16566
Bug ID: 16566
Summary: Please provide a way to include static symbols in
linker map file
Product: binutils
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: pmiscml at gmail dot com
Link map file (-Map=) is one good way to get detailed information about
complete ready-to-deploy binary product. Unfortunately, a map file doesn't
include information about local (static in C-speak) symbols. Usage of static
symbols is the best practice in contemporary C and other languages, and such
situation means that a map file unfortunately is not suitable for many
interesting analyses (like for example tracking detailed function sizes across
application versions/optimization settings).
So, please consider:
1. Adding a linker option to include local/static symbols in generated map
file.
2. Alternatively, it may be argued that users whu are interested in map files
are probably want to have information about all symbols anyway, so it can be
just changed to include local/static symbols unconditionally, without growing
number of command-line options.
Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/16566] New: Please provide a way to include static symbols in linker map file,
pmiscml at gmail dot com <=