Re: -mm merge plans for 2.6.21

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 10, 2007 at 11:04:48AM -0600, Robert Hancock wrote:
> Frederik Deweerdt wrote:
> >>How about this one instead then:
> >Well, the warning you get is not that obvious:
> >test.c: In function 'main':
> >test.c:11: warning: 'deprecated_irqf' is deprecated
> >And as far as I could test 
... which apparently was not enough :)
> >(gcc 4.1.1 and gcc 3.4.3), Arjan's comment is
> >not true, the "static const int" don't use extra space, they get
> >optimized away by the compiler (see http://lkml.org/lkml/2007/2/9/106).
> 
> gcc 3.2 should be tested as well, that is still supported by the kernel, and versions before 3.4 did not have unit-at-a-time optimizations.
Sorry for the delay. I've setup a 3.2.3 gcc and, indeed, the symbols
make their way in the binary...

$ gcc-3.2.3 -O2 -c dont_use_flag.c
$ nm dont_use_flag.o
00000000 r SA_INTERRUPT
00000000 T main
         U printf

Regards,
Frederik
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux