This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: addr2line format specifiers
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 24 Feb 2012 13:41:09 -0800
- Subject: Re: addr2line format specifiers
The older GNU extension is %as or %a[ and %ms/%m[ was added after C99
usurped %a. Newer GNU implementations support both in that %a is a flag if
followed by s or [ and a specifier otherwise. Hence the code is correct
for portability to both old and new GNU C libraries.