On 7/27/09 5:22 PM, ron minnich wrote:
This is interesting, it's the second note today speculating that we need to compile with -lgcc.
Which is especially weird since we link against libgcc already.
I think that's a bad approach, as we learned in the early days. It is too easy to link in libgcc code that expects a full OS environment and not realize you have done so.
Yes, we should drop libgcc linking, but x86emu wants it for the 64bit division, too..
René, interesting approach.. Are you checking signatures of the payload? Out of curiosity .. Is there a reason why the signature checking is not done in the payload itself? That might be easier... There's a grub2 version out there that we made a year or two ago that does signature checking of binaries. Back then we skipped checking the payload, since if it's possible to exchange the payload, it's possible to exchange the rest of the rom code too, in many cases.
Stefan