[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/29847] objdump: add --show-all-symbols
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/29847] objdump: add --show-all-symbols |
Date: |
Thu, 08 Dec 2022 15:02:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29847
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 14488
--> https://sourceware.org/bugzilla/attachment.cgi?id=14488&action=edit
Proposed patch
Hi Fanguri,
What do you think of the uploaded patch ?
With it applied, objdump's behaviour is similar to llvm-objdump's:
% .objdump -d multisym.o --show-all-symbols
multisym.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <aaaa>:
00000000 <bbbb>:
0: e0800080 add r0, r0, r0, lsl #1
...etc...
The difference is that it does not show the <$a.0> symbol. (Because
the ARM backend in the BFD library considers it to be an "invalid"
symbol).
Personally I prefer this behaviour since those markup symbols are
rarely useful to the user.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.