package/binutils: add support for version 2.40
See:
https://sourceware.org/pipermail/binutils/2023-January/125671.html
Disable zstd support to avoid adding a new dependency.
Add Upstream tag on each binutils patches:
0001-sh-conf.patch: Buildroot specific since we are carrying this patch for years.
0002-poison-system-directories.patch: Add the Buildroot Upstream tag
Remove 0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch since
it was rejected by upstream [1] and actually only needed for binutils
< 2.37. Binutils 2.37 replaced AC_PROG_CC with AC_PROG_CC_C99 in top
level configure file [2].
[1] https://sourceware.org/pipermail/binutils/2021-June/116907.html
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=a8d6316b67d52eaa1b7b311084ddff71a66f7cc0
Runtime tested:
https://gitlab.com/kubu93/buildroot/-/pipelines/895618463
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>