RFC: Change readelf/objdump to automatically follow debug links

Florian Weimer fweimer@redhat.com
Wed Feb 10 10:39:04 GMT 2021


* Nick Clifton:

>   The patch adds a new configure time option
>   --enable-follow-debugs-links=[yes|no] which can be used to set the
>   default behaviour for both objdump and readelf.  If the option is
>   not used, the default is to follow the links.

What happens if the debuglink contains '/'?  Maybe it's prudent to
restrict loading of debuginfo data if it comes from the system default
location.

Thanks for looking into this,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Binutils mailing list