HelloSilicon
HelloSilicon copied to clipboard
can't use the command `objdump` command with no-aliases option
Hi, I'm really new to this row level world 🙏 and have an issue.
I'm not able to use the command with options, objdump -s -d -M no-aliases filename.o
, and it says "Unrecognized disassembler option: no-aliases"
I don't know why, can't I use that option on m1?
thank you, in advance.
This is strange. I am pretty certain I have used this option when writing this text. It seems unavailable with 13.2.1. I will investigate
OK, it took me a while: What is missing is the -m
switch, short for --macho
: "Use MachO specific object file parser"
So objdump -s -m -d -M no-aliases arm64.o
or objdump --macho --disassembler-options=no-aliases arm64.o
will work (and of course, you can throw in -s
or --full-info
, too.
This is strange: I just ran objdump -s -d -M no-aliases movexamps.o
for the code in Chapter 2, and had no issues …