how to create a self-relocatable raw binary with gcc?

Pan ruochen panruochen@gmail.com
Mon Aug 11 16:32:00 GMT 2008


Hi All,

I want to create a raw binary excutable for MIPS arch, which can relocate
itself to any load address at runtime without an externel loader.
How should I compile the sources and write the linker script for this purpose?

Best Regards,
PRC
Apr 11, 2008



More information about the Gcc-help mailing list