This patch is removed as you say it is merged upstream:

On 22 December 2016 at 02:24, Zheng Ruoqin <[email protected]>
wrote:

> --- a/meta/recipes-devtools/elfutils/elfutils-0.166/0001-
> fix-a-stack-usage-warning.patch
> +++ /dev/null
> -diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c
> -index 64f5379..52dde3e 100644
> ---- a/backends/ppc_initreg.c
> -+++ b/backends/ppc_initreg.c
> -@@ -93,7 +93,7 @@ ppc_set_initial_registers_tid (pid_t tid __attribute__
> ((unused)),
> -       return false;
> -     }
> -   const size_t gprs = sizeof (user_regs.r.gpr) / sizeof
> (*user_regs.r.gpr);
> --  Dwarf_Word dwarf_regs[gprs];
> -+  Dwarf_Word dwarf_regs[sizeof (user_regs.r.gpr) / sizeof
> (*user_regs.r.gpr)];
>


However the upstream code
(https://git.fedorahosted.org/cgit/elfutils.git/tree/backends/ppc_initreg.c?h=elfutils-0.167#n95)
still says:


  const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr);
  Dwarf_Word dwarf_regs[gprs];

So this wasn't merged.  Please re-review the patches (and maybe this is a
good opportunity to push more of them upstream).

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to