Re: [PATCH 53/74] x86, lto, paravirt: Make paravirt thunks global

2012-08-19 Thread Andi Kleen
On Sun, Aug 19, 2012 at 01:27:00AM -0700, Jeremy Fitzhardinge wrote: > On 08/18/2012 07:56 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > The paravirt thunks use a hack of using a static reference to a static > > function to reference that function from the top level statement. > > > > This as

Re: [PATCH 53/74] x86, lto, paravirt: Make paravirt thunks global

2012-08-19 Thread Jeremy Fitzhardinge
On 08/18/2012 07:56 PM, Andi Kleen wrote: > From: Andi Kleen > > The paravirt thunks use a hack of using a static reference to a static > function to reference that function from the top level statement. > > This assumes that gcc always generates static function names in a specific > format, which

[PATCH 53/74] x86, lto, paravirt: Make paravirt thunks global

2012-08-18 Thread Andi Kleen
From: Andi Kleen The paravirt thunks use a hack of using a static reference to a static function to reference that function from the top level statement. This assumes that gcc always generates static function names in a specific format, which is not necessarily true. Simply make these functions