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
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
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.