Forum > Other

ppcmipsel on openwrt/freetz

<< < (2/5) > >>

BigChimp:
Yep diff shows differences in
* entry point address (probably not important?)
* start of section headers (likewise)
* Flags: 0x50001001 for FPC where the working one has 0x50001005 and it also has cpic as you mentioned
* Number of program headers, section headers, string table index

No idea if the difference in flags is relevant (don't even know what they signify :) )

Ocye:
I can compile with -Cg and get CPIC into.

--- Quote ---Flags:                             0x50001005, noreorder, cpic, o32, mips32

--- End quote ---
According to this posting the 0x5... flag is a bug. But how do I change the elf header?

BigChimp:
Yep. Don't know how you can change it; perhaps ask on the fpc list; there might be a workaround in the compiler (or perhaps... we can get one put in ;) )

BigChimp:
Got this response on the fpc list, suggesting looking into ld
http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg32685.html

Also found this, might be useful/relevant:
http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg27995.html

Ocye:
Thanks for your assistance. Maybe my reply was not correct but it can be found in the archives: http://lists.freepascal.org/lists/fpc-pascal/2013-April/037676.html

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version