glibc/scripts
Frédéric Bérat 64d9580cdf Allow glibc to be built with _FORTIFY_SOURCE
Add --enable-fortify-source option.

It is now possible to enable fortification through a configure option.
The level may be given as parameter, if none is provided, the configure
script will determine what is the highest level possible that can be set
considering GCC built-ins availability and set it.
If level is explicitly set to 3, configure checks if the compiler
supports the built-in function necessary for it or raise an error if it
isn't.

If the configure option isn't explicitly enabled, it _FORTIFY_SOURCE is
forcibly undefined (and therefore disabled).

The result of the configure checks are new variables, ${fortify_source}
and ${no_fortify_source} that can be used to appropriately populate
CFLAGS.

A dedicated patch will follow to make use of this variable in Makefiles
when necessary.

Updated NEWS and INSTALL.

Adding dedicated x86_64 variant that enables the configuration.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2023-07-05 16:59:34 +02:00
..
abi-versions.awk
abilist.awk
backport-support.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
build-many-glibcs.py Allow glibc to be built with _FORTIFY_SOURCE 2023-07-05 16:59:34 +02:00
check-c++-types.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-execstack.awk
check-initfini.awk Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-installed-headers.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-local-headers.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-localplt.awk
check-obsolete-constructs.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-textrel.awk
check-wrapper-headers.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
check-wx-segment.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
config-uname.sh
config.guess
config.sub
cpp
cross-test-ssh.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
documented.sh
dso-ordering-test.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
evaluate-test.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
firstversions.awk
gen-as-const.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gen-libc-abis
gen-libc-modules.awk
gen-posix-conf-vars.awk
gen-rrtypes.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gen-sorted.awk Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
gen-tunables.awk
glibc_shared_code.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glibcelf.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
glibcextract.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
glibcpp.py Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
glibcsymbols.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
haveversions.awk
install-sh
lib-names.awk
lint-makefiles.sh Add lint-makefiles Makefile linting test. 2023-06-02 21:43:05 -04:00
list-fixed-bugs.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
list-sources.sh
localplt.awk
merge-test-results.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mkinstalldirs
move-if-change
move-symbol-to-libc.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pylint
pylintrc Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
rellns-sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sort-makefile-lines.py Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
soversions.awk
sysd-rules.awk
test_printers_common.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test_printers_exceptions.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-installation.pl Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
tst-elf-edit.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-ld-trace.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
update-abilist.sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
update-copyrights Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
vcstocl_quirks.py Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
versionlist.awk Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
versions.awk Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00