Port-sgimips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting NetBSD to SGI Fuel?

On Wed, 19 Sep 2018, Christos Zoulas wrote:
What is the cause of this problem.
1) ldscript
2) compile option
3) mips64 toolchain
I don't know, but objdump --disassemble and readelf are your friends :-)

Christos, do you think it's something that could be done in a MIPS64 emulator like qmeu, or would the lack of SGI ROMs blow it?

I just wonder how you guys do even attempt such a thing without a debugger/profiler. Sounds like you are saying to use objdump --disassemble to dump some of the ASM and then start through it manually. Wouldn't that require some MIPS ASM wizardry to manually interpret?

I barely remembered the existence of readelf (I've only used it once). It looks like that would help dump out different parts of the binary metadata, but it doesn't appear to do disassembly. What would one look for in the readelf session? I noticed it's got a way to list out internal symbols and such, which is interesting, but I wonder how it could be used to help with a problem like this.

Basically, I'm an acolyte wondering how the real wizards use these tools.


Home | Main Index | Thread Index | Old Index