kumquat-buildroot/package/binutils/2.22
Thomas Petazzoni df8dcbcd81 binutils/2.22: add patch to warn about unsafe library paths
This commit adds a patch to binutils borrowed from CodeSourcery/Yocto
that warns about unsafe library paths (i.e /usr/lib, /usr/local/lib,
etc.). The patch was adapted to binutils 2.22, and modified to support
the BR_COMPILER_PARANOID_UNSAFE_PATH environment variable to error out
instead of just warn when unsafe paths are used. Even though erroring
out can be chosen by passing --error-poison-system-directories, we are
not sure this option in LDFLAGS will always be passed, so having an
environment variable guarantees it will always be passed, and also
allows to have an identical behavior to the external toolchain
wrapper.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
2014-12-11 00:05:52 +01:00
..
120-sh-conf.patch
300-001_ld_makefile_patch.patch
300-012_check_ldrunpath_length.patch
500-sysroot.patch
600-poison-system-directories.patch
900-xtensa-trampolines.patch
901-xtensa-gas-first-frag-alignment.patch
902-xtensa-gas-ld-diff-relocation-signed.patch
903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch
904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch
905-Fix-trampolines-search-code-for-conditional-branches.patch
999-ppc-textrels.patch