• Tejun Heo's avatar
    stackprotector: update make rules · 5d707e9c
    Tejun Heo authored
    Impact: no default -fno-stack-protector if stackp is enabled, cleanup
    
    Stackprotector make rules had the following problems.
    
    * cc support test and warning are scattered across makefile and
      kernel/panic.c.
    
    * -fno-stack-protector was always added regardless of configuration.
    
    Update such that cc support test and warning are contained in makefile
    and -fno-stack-protector is added iff stackp is turned off.  While at
    it, prepare for 32bit support.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    5d707e9c
Makefile 53.2 KB