Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ELF Low Level Stuff

Name: Anonymous 2009-03-18 13:37

Hey guys!

I'm hacking on binary images with elf... And I'm trying to figure out how a Load Memory Address fucks up with Virtual Memory Access.

The question is the following: since the compiling script removes the typical ELF data with objcopy -O binary, how the hell is the firmware loader supposed to know the differences between LMA and VMA?

Name: Anonymous 2009-03-20 14:30

>>6
Well actually he's right. Cross-platform stuff tends to get compiled to binaries that are 1.5x larger in Linux than on Windows. How much of that difference is due to the binary format and how much is due to GCC sucking, I don't know. And how does it impact memory use, I don't know either - maybe a lot of stuff doesn't even get touched.

In any case, Linux and friends desperately need a decent compiler. Not having an RMS heritage would help, I guess.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List