i386 + bcheck: fix __bound_local_new
commitcdf715a0b5bf26f6e19dfd75fdbf23deffcc6d1c
authorPavlas, Zdenek <zden3k@gmail.com>
Wed, 9 Nov 2016 08:22:28 +0000 (9 00:22 -0800)
committerPavlas, Zdenek <zden3k@gmail.com>
Wed, 9 Nov 2016 09:04:45 +0000 (9 01:04 -0800)
treeecd3e75d051da8f5ba9b625ee24148fab4c22ba5
parent3054a76249d1f0690984027db73a94995300cac2
i386 + bcheck: fix __bound_local_new

With -b, this produces garbage. Code to call __bound_local_new
is put at wrong place, overwriting the regparam setup code.
Fix copied from x86_64-gen.c.

void __attribute__((regparm(3)))
fun(int unused)
{
  char local[1];
}
i386-gen.c
x86_64-gen.c