Robert Millan wrote: > > > > I already have such a tool (based on objcopy with a small fix for > > PE->ELF added). See this thread: > > http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00174.html > > I understand that it may be difficult to fix this in a way the > binutils maintainers will accept, but in your own words (from that > thread), the alternative of fixing it in GRUB is a workaround. >
Yes, I will remove this hack. > I think you should really try either fixing BFD or > working around the problem somewhere else (the runtime ELF loader > seems like the worst of all the options to me). > Fixing this in BFD is difficult, the PE and ELF backends don't care about relocation format conversion. To provide a self-contained package for Cygwin in the future, I will add the reduced+fixed objcopy to my branch of the source tree and modify Makefile accordingly. I don't see any other option which fits into the limited time I have for this project. Christian _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel