Re: [RFC PATCH 1/3] Add powerpc little-endian (ppc64le) flags

2014-09-17 Thread Paulo Flabiano Smorigo
Thu, Aug 28, 2014 at 04:56:03PM -0300, Paulo Flabiano Smorigo wrote: > libgcc dependency was removed *just* for this target because > the distros that use ppc64el doesn't have 32-bit support on it. > > * configure.ac: Add targets for powerpc64el and skip libgcc. > * Makefile.am: Likewise. > --- >

Re: [RFC PATCH 2/3] Files reorganization and include some libgcc fuctions

2014-09-17 Thread Paulo Flabiano Smorigo
Colin, I changed the patches following your suggestions and making it more likely to the no-libgcc branch from Vladimir. In this branch, phcoder added compiler-rt.{c,h,S} with the necessary code in it. My approach is very minimalist and only for powerpc. I tried to avoid change the behavior for ot

[PATCH] Initialized initrd_ctx so we don't free a random pointer from the stack.

2014-09-17 Thread Peter Jones
Currently, if "linux" fails, the "goto fail;" in grub_cmd_initrd sends us into grub_initrd_close() without grub_initrd_init() being called, and thus it never clears initrd_ctx->components. grub_initrd_close() then frees that address, which is stale data from the stack. If the stack happens to hav