Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-05-06 Thread Rusty Russell
Tom Rini writes: > On 05/01/2013 07:18 AM, Tom Rini wrote: >> On 04/30/2013 10:19 PM, Rusty Russell wrote: >>> Tom Rini writes: On 04/28/2013 10:59 PM, Rusty Russell wrote: > Tom Rini writes: > >> Recent gcc's may place functions into the .text.unlikely section and we >> nee

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-05-01 Thread Tom Rini
On 05/01/2013 07:18 AM, Tom Rini wrote: > On 04/30/2013 10:19 PM, Rusty Russell wrote: >> Tom Rini writes: >>> On 04/28/2013 10:59 PM, Rusty Russell wrote: Tom Rini writes: > Recent gcc's may place functions into the .text.unlikely section and we > need to check this section as

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-05-01 Thread Tom Rini
On 04/30/2013 10:19 PM, Rusty Russell wrote: > Tom Rini writes: >> On 04/28/2013 10:59 PM, Rusty Russell wrote: >>> Tom Rini writes: >>> Recent gcc's may place functions into the .text.unlikely section and we need to check this section as well for section mismatches now otherwise w

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-04-30 Thread Rusty Russell
Tom Rini writes: > On 04/28/2013 10:59 PM, Rusty Russell wrote: >> Tom Rini writes: >> >>> Recent gcc's may place functions into the .text.unlikely section and we >>> need to check this section as well for section mismatches now otherwise >>> we may have false negatives for this test. >> >> Hmm

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-04-29 Thread Tom Rini
On 04/28/2013 10:59 PM, Rusty Russell wrote: > Tom Rini writes: > >> Recent gcc's may place functions into the .text.unlikely section and we >> need to check this section as well for section mismatches now otherwise >> we may have false negatives for this test. > > Hmm, I don't think it's all th

Re: [PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-04-28 Thread Rusty Russell
Tom Rini writes: > Recent gcc's may place functions into the .text.unlikely section and we > need to check this section as well for section mismatches now otherwise > we may have false negatives for this test. Hmm, I don't think it's all that recent, is it? I can find it back to gcc 4.0.4: `-f

[PATCH] modpost.c: Add .text.unlikely to TEXT_SECTIONS

2013-04-24 Thread Tom Rini
Recent gcc's may place functions into the .text.unlikely section and we need to check this section as well for section mismatches now otherwise we may have false negatives for this test. Cc: Rusty Russell Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc: linux-kbu...@vger.kernel.org Si