You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
right, and cmd/ld/ldelf.c even filter out existing $a/$d/$t symbols from ELF files.
we not only need to generate $a (and $t if we want to support thumb), we also
need to generate $d for embedded constant pools.
The text was updated successfully, but these errors were encountered: