Re: [PATCH] fix load of RHEL ans SUSE images by correctly calculate ELF entry point

2010-10-19 Thread Manoel Rebelo Abraches
This is another version to the same fix. The first patch 01_mem.patch creates a new function to allocate memory using the "available" property in the "memory" node. The second patch 02_offset.patch correctly finds the linux entry point, also assumes that more segments can exist (made accordingly w

Re: [PATCH] Fix getline name clash

2010-10-19 Thread Grégoire Sutre
On 10/19/2010 11:17, BVK Chaitanya wrote: How about the attached patch? The patch fixes the problem. With the patch, grub trunk builds fine on NetBSD 5. Thanks, Grégoire ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/li

Re: [PATCH] Fix getline name clash

2010-10-19 Thread BVK Chaitanya
How about the attached patch? It introduces new library libemu.a (in addition to libgrub.a) with sources that need gnulib headers. IMO correct thing to do is, fixing stdio.in.h to make getline a function instead of a macro, if everybody agrees, I will raise a bug report to gnulib project? bvk