https://sourceware.org/bugzilla/show_bug.cgi?id=34413
Bug ID: 34413
Summary: cxxfilt shouldn't need to link against libbfd
Product: binutils
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: matz at suse dot de
Target Milestone: ---
The demangler in principle is a string-to-string transformer, without any
facilities to look into (or manipulate) any object files (or any files _at
all_,
for that matter). So it linking against libbfd is rather an artifact than by
design.
The uses of BFD facilities come in due to linking against
binutils/bucomm.c for the whole and only purpose of that one providing the
error
routine 'fatal'. Due to that cxxfilt.c is also directly using
bfd_set_error_program_name, and some uses of the global `program_name` crept in
as well.
It would be nice to remove that need of linking against libbfd eventually,
hence this enhancement request.
--
You are receiving this mail because:
You are on the CC list for the bug.