Re: Fix AArch64 "$x" symbols
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 07/31/2014 11:13 AM, Andrew Haley wrote:
> I think this is the correct fix:
>
> diff --git a/libutil++/bfd_support.cpp b/libutil++/bfd_support.cpp
> index a3bee99..d5fd70d 100644
> --- a/libutil++/bfd_support.cpp
> +++ b/libutil++/bfd_support.cpp
> @@ -475,7 +475,8 @@ bool interesting_symbol(asymbol * sym)
> /* ARM assembler internal mapping symbols aren't interesting */
> if ((strcmp("$a", sym->name) == 0) ||
> (strcmp("$t", sym->name) == 0) ||
> - (strcmp("$d", sym->name) == 0))
> + (strcmp("$d", sym->name) == 0) ||
> + (strcmp("$x", sym->name) == 0))
> return false;
>
> // C++ exception stuff
>
> Andrew.
Hi Andrew,
This patch does seem to clean up the "$x". I applied the patch and compared the output between the unpatched and patched version. It seems to map all the previous "$x" names to reasonable names function names.
Thanks,
-Will
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk