OpenLIBM: local modification - elf notes on assembly
authorJohn Marino <draco@marino.st>
Sun, 12 Jul 2015 20:06:59 +0000 (21:06 +0100)
committerJohn Marino <draco@marino.st>
Sun, 12 Jul 2015 20:07:00 +0000 (22:07 +0200)
commita27bb01fb90c87959b0c0dfacf7dd85d1308a35f
tree94b98354a3ff848a20c55c09fbac42e667c5da0f
parent4382f29d99a100bd77a81697c2f699c11f6a472a
OpenLIBM: local modification - elf notes on assembly

All object files need a .note.GNU-stack elf section in order to preserve
the ability for the resulting program to run on a non-executable stack.
If a single object is missing this section, the linker will run the program
on an executable stack instead which is less secure.

The FreeBSD and NetBSD libm assembly files have these notes, but OpenBSD
does not use them, thus the need for a local modification.
43 files changed:
contrib/openbsd_libm/arch/amd64/e_acos.S
contrib/openbsd_libm/arch/amd64/e_asin.S
contrib/openbsd_libm/arch/amd64/e_atan2.S
contrib/openbsd_libm/arch/amd64/e_atan2f.S
contrib/openbsd_libm/arch/amd64/e_exp.S
contrib/openbsd_libm/arch/amd64/e_fmod.S
contrib/openbsd_libm/arch/amd64/e_log.S
contrib/openbsd_libm/arch/amd64/e_log10.S
contrib/openbsd_libm/arch/amd64/e_remainder.S
contrib/openbsd_libm/arch/amd64/e_remainderf.S
contrib/openbsd_libm/arch/amd64/e_scalb.S
contrib/openbsd_libm/arch/amd64/e_sqrt.S
contrib/openbsd_libm/arch/amd64/e_sqrtf.S
contrib/openbsd_libm/arch/amd64/e_sqrtl.S
contrib/openbsd_libm/arch/amd64/s_atan.S
contrib/openbsd_libm/arch/amd64/s_atanf.S
contrib/openbsd_libm/arch/amd64/s_ceil.S
contrib/openbsd_libm/arch/amd64/s_ceilf.S
contrib/openbsd_libm/arch/amd64/s_copysign.S
contrib/openbsd_libm/arch/amd64/s_copysignf.S
contrib/openbsd_libm/arch/amd64/s_cos.S
contrib/openbsd_libm/arch/amd64/s_cosf.S
contrib/openbsd_libm/arch/amd64/s_floor.S
contrib/openbsd_libm/arch/amd64/s_floorf.S
contrib/openbsd_libm/arch/amd64/s_ilogb.S
contrib/openbsd_libm/arch/amd64/s_ilogbf.S
contrib/openbsd_libm/arch/amd64/s_llrint.S
contrib/openbsd_libm/arch/amd64/s_llrintf.S
contrib/openbsd_libm/arch/amd64/s_log1p.S
contrib/openbsd_libm/arch/amd64/s_log1pf.S
contrib/openbsd_libm/arch/amd64/s_logb.S
contrib/openbsd_libm/arch/amd64/s_logbf.S
contrib/openbsd_libm/arch/amd64/s_lrint.S
contrib/openbsd_libm/arch/amd64/s_lrintf.S
contrib/openbsd_libm/arch/amd64/s_rint.S
contrib/openbsd_libm/arch/amd64/s_rintf.S
contrib/openbsd_libm/arch/amd64/s_scalbnf.S
contrib/openbsd_libm/arch/amd64/s_significand.S
contrib/openbsd_libm/arch/amd64/s_significandf.S
contrib/openbsd_libm/arch/amd64/s_sin.S
contrib/openbsd_libm/arch/amd64/s_sinf.S
contrib/openbsd_libm/arch/amd64/s_tan.S
contrib/openbsd_libm/arch/amd64/s_tanf.S