Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use the command objdump command with no-aliases option #29

Open
sangeui opened this issue Jan 24, 2022 · 3 comments
Open

can't use the command objdump command with no-aliases option #29

sangeui opened this issue Jan 24, 2022 · 3 comments

Comments

@sangeui
Copy link

sangeui commented Jan 24, 2022

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.

@below
Copy link
Owner

below commented Jan 25, 2022

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

@below
Copy link
Owner

below commented Jun 8, 2022

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.

@below
Copy link
Owner

below commented Jun 8, 2022

This is strange: I just ran objdump -s -d -M no-aliases movexamps.o for the code in Chapter 2, and had no issues …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants