This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is -dis-symname supported by binutils?


On Jan 21 2019, Michael Matz <matz@suse.de> wrote:

> I don't like many of these consistency checks.  objdump is a low level 
> tool, when I'm using --disassemble=foobar I'm presumably knowning what I'm 
> doing, and certainly I want to see that symbol be disassembled.  If I 
> happened to forget marking that symbol as function in my asm sources, or 
> if it happens to be a data array containing instruction bytes, I still 
> want it disassembled because I said so on the command line.  I.e. please 
> don't add such check.

If you want to disassemble a non-exec section you have to use -D aka
--disassemble-all.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]