Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: include $a and $t symbols in arm final link #9118
The host objdump -d doesn't work correctly on 5l-linked binaries. 5l does not add $a (arm) and $t (thumb) symbols to the output, and thus objdump doesn't know how to disassemble the code. It ends up disassembling as .word directives instead of actual disassembly. objdump can be forced to disassemble correctly using -D, but then you get data sections disassembled into junk. Or you can use go tool objdump, which works but can't disassemble thumb.