I am trying to use objdump -d fileName
on a s-rec file and it returns unknown architecture, however it recognizes fileName: file format srec
I looked at objdump --help
and under supported targets srec and symbolsrec is listed.
I have tried
objdump -d -M srec myFile
objdump -d -m srec myFile
What is the best way to tackle this? Alternatives?
objdump -i
I don't see it listed, so I might have to go the custom build path... – 0siris May 23 '18 at 21:17-b srec
argument: Specify that the object-code format for the object files is bfdname. This option may not be necessary; objdump can automatically recognize many formats.In other words, you specify the format of the binary not the targeted architecture. S-Record or srec format: https://de.wikipedia.org/wiki/S-Record
– kuch3n Jan 25 '24 at 17:41