DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: libm: Add .section .note.GNU-stack to all assembly files


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Dec 2011 23:22:29 -0800 (PST)

commit 70e34eb24a22146387d9d5fab19ae39ea9225a1d
Author: John Marino <draco@marino.st>
Date:   Tue Dec 20 13:07:37 2011 +0100

    libm: Add .section .note.GNU-stack to all assembly files
    
    GCC always appends the following line to assembly files it generates:
    
      .section    .note.GNU-stack,"",@progbits
    
    This creates an empty section named ".note.GNU-stack" to the object file
    which servers as a hint to GNU linkers that this object file does not
    require an executable stack.  When all linked object files indicate that
    no executable stack is needed, the executable NX bit is set such as the
    binary is run on a non-executable stack.  This is a free security
    improvement against buffer overflow attacks.

Summary of changes:
 lib/libm/arch/i386/e_acos.S         |    2 ++
 lib/libm/arch/i386/e_asin.S         |    2 ++
 lib/libm/arch/i386/e_atan2.S        |    2 ++
 lib/libm/arch/i386/e_atan2f.S       |    2 ++
 lib/libm/arch/i386/e_exp.S          |    2 ++
 lib/libm/arch/i386/e_expf.S         |    2 ++
 lib/libm/arch/i386/e_fmod.S         |    2 ++
 lib/libm/arch/i386/e_log.S          |    2 ++
 lib/libm/arch/i386/e_log10.S        |    2 ++
 lib/libm/arch/i386/e_log10f.S       |    2 ++
 lib/libm/arch/i386/e_log2.S         |    2 ++
 lib/libm/arch/i386/e_log2f.S        |    2 ++
 lib/libm/arch/i386/e_logf.S         |    2 ++
 lib/libm/arch/i386/e_remainder.S    |    2 ++
 lib/libm/arch/i386/e_remainderf.S   |    2 ++
 lib/libm/arch/i386/e_scalb.S        |    2 ++
 lib/libm/arch/i386/e_scalbf.S       |    2 ++
 lib/libm/arch/i386/e_sqrt.S         |    2 ++
 lib/libm/arch/i386/e_sqrtf.S        |    2 ++
 lib/libm/arch/i386/lrint.S          |    2 ++
 lib/libm/arch/i386/s_atan.S         |    2 ++
 lib/libm/arch/i386/s_atanf.S        |    2 ++
 lib/libm/arch/i386/s_ceil.S         |    2 ++
 lib/libm/arch/i386/s_ceilf.S        |    2 ++
 lib/libm/arch/i386/s_copysign.S     |    2 ++
 lib/libm/arch/i386/s_copysignf.S    |    2 ++
 lib/libm/arch/i386/s_cos.S          |    2 ++
 lib/libm/arch/i386/s_cosf.S         |    2 ++
 lib/libm/arch/i386/s_finite.S       |    2 ++
 lib/libm/arch/i386/s_finitef.S      |    2 ++
 lib/libm/arch/i386/s_floor.S        |    2 ++
 lib/libm/arch/i386/s_floorf.S       |    2 ++
 lib/libm/arch/i386/s_ilogb.S        |    2 ++
 lib/libm/arch/i386/s_ilogbf.S       |    2 ++
 lib/libm/arch/i386/s_ilogbl.S       |    4 +++-
 lib/libm/arch/i386/s_log1p.S        |    2 ++
 lib/libm/arch/i386/s_log1pf.S       |    2 ++
 lib/libm/arch/i386/s_logb.S         |    2 ++
 lib/libm/arch/i386/s_logbf.S        |    2 ++
 lib/libm/arch/i386/s_logbl.S        |    4 +++-
 lib/libm/arch/i386/s_modf.S         |    2 ++
 lib/libm/arch/i386/s_rint.S         |    2 ++
 lib/libm/arch/i386/s_rintf.S        |    2 ++
 lib/libm/arch/i386/s_scalbn.S       |    2 ++
 lib/libm/arch/i386/s_scalbnf.S      |    2 ++
 lib/libm/arch/i386/s_scalbnl.S      |    2 ++
 lib/libm/arch/i386/s_significand.S  |    2 ++
 lib/libm/arch/i386/s_significandf.S |    2 ++
 lib/libm/arch/i386/s_sin.S          |    2 ++
 lib/libm/arch/i386/s_sinf.S         |    2 ++
 lib/libm/arch/i386/s_tan.S          |    2 ++
 lib/libm/arch/i386/s_tanf.S         |    2 ++
 52 files changed, 106 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70e34eb24a22146387d9d5fab19ae39ea9225a1d


-- 
DragonFly BSD source repository



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