[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.BSM.4.64L.2401201711130.29203@herc.mirbsd.org>
Date: Sat, 20 Jan 2024 17:19:16 +0000 (UTC)
From: Thorsten Glaser <tg@...ian.org>
To: Linus Torvalds <torvalds@...uxfoundation.org>
cc: "H. Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>,
x86@...nel.org, rostedt@...dmis.org, linux-kernel@...r.kernel.org,
linux-toolchains@...r.kernel.org, jpoimboe@...hat.com,
alexei.starovoitov@...il.com, mhiramat@...nel.org
Subject: Re: [PATCH 1/2] x86: Remove dynamic NOP selection
Linus Torvalds dixit:
>On that note, does anybody have a better disassembler than objdump? Or
>even a script around it to make it more useful? I do use "objdump
>--disassemble" a fair amount, and I hate how bad it is.
Other than -Mintel (and -Mintel,i8086 for boot code) to make the
syntax 90–95% less awful, I’m sorry I’ve also been looking.
>My pet peeve is the crazy relocation handling (or lack there-of). IOW,
Yes! This!
I’ve been putting markers into the file and then disassembling
the final linked thing instead of just the object file I need
because of this.
>Is there some sane tool that just does the sane thing and shows this as
The only other disassemblers I know don’t know about ELF objects
at all, I’m sorry to say.
I didn’t know about objdump -r, but that’s truly awful to read.
Given a wide enough screen, an intermediate | sed 's/^\t/&&&&/'
at least moves the relocation info more to the right to interrupt
the reading flow less.
Thanks,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
Powered by blists - more mailing lists