aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/binutils
Commit message (Collapse)AuthorAgeFilesLines
* treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-03-211-1/+1
| | | | | | | Keep backwards compatibility via PKG_USE_MIPS16 for now, as this is used in all package feeds. Signed-off-by: Andre Heider <a.heider@gmail.com>
* binutils: Deactivate msgpackHauke Mehrtens2023-03-091-0/+1
| | | | | | | | | | | | Deactivate the msgpack option. The binutils build might detect the libmsgpackc.so.2 library and will try to link against it, if it is not explicitly deactivated. This prevents the following build errors seen in the build bots. Package binutils is missing dependencies for the following libraries: libmsgpackc.so.2 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: Update to version 2.40Hauke Mehrtens2023-03-052-4/+96
| | | | | | | | | | | | | | | | | | | binutils 2.39: https://lists.gnu.org/archive/html/info-gnu/2022-08/msg00002.html binutils 2.40: https://lists.gnu.org/archive/html/info-gnu/2023-01/msg00003.html This version includes a new libsframe.so library, pack it into the libbfd package as it is used by this library. Also deactivate some optional configuration options for now. An extra patch to fix compile problem in AARCH64 is added. gprofng needs a C++ standard library, deactivate it for now. Activate feature-disassembler-init-styled in bpftools too to fix compilation with the updated binutils. An bpftool version 7.0 or later is needed for binutils 2.39 and later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "binutils: update to 2.39"Hauke Mehrtens2022-08-141-2/+2
| | | | | | | | | | | | | | | This reverts commit cc24c4ed5eae66c061e5787bb172fd2a91861f25. binutils does not compile with glibc: Package binutils is missing dependencies for the following libraries: libgprofng.so.0 libmsgpackc.so.2 libstdc++.so.6 libbpf does not compile against binutils 2.39 any more, see: https://github.com/libbpf/bpftool/issues/30 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: update to 2.39Nick Hainke2022-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * The ELF linker will now generate a warning message if the stack is made executable. Similarly it will warn if the output binary contains a segment with all three of the read, write and execute permission bits set. These warnings are intended to help developers identify programs which might be vulnerable to attack via these executable memory regions. The warnings are enabled by default but can be disabled via a command line option. It is also possible to build a linker with the warnings disabled, should that be necessary. * The ELF linker now supports a --package-metadata option that allows embedding a JSON payload in accordance to the Package Metadata specification. * In linker scripts it is now possible to use TYPE=<type> in an output section description to set the section type value. * The objdump program now supports coloured/colored syntax highlighting of its disassembler output for some architectures. (Currently: AVR, RiscV, s390, x86, x86_64). * The nm program now supports a --no-weak/-W option to make it ignore weak symbols. * The readelf and objdump programs now support a -wE option to prevent them from attempting to access debuginfod servers when following links. * The objcopy program's --weaken, --weaken-symbol, and --weaken-symbols options now works with unique symbols as well. Announcement: https://sourceware.org/pipermail/binutils/2022-August/122246.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* binutils: update to 2.38Nick Hainke2022-07-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Assembler: General: * Add support for the LoongArch architecture. * Add an option to control how multibyte characters are handled in the assembler. Using the option warnings can be generated when such characters are encountered in symbol names, or anywhere in the input source file(s). AArch64 and ARM: * Add support for more system registers. * Add support for Scalable Matrix Extension. * Add support for Cortex-R52+, Cortex-A510, Cortex-A710, Cortex-X2, Cortex-A710 cores. * Add support for 'v8.7-a', 'v8.8-a', 'v9-a', 'v9.1-a', 'armv9.2-a' and 'armv9.3-a' architecture extensions. X86: * Add a command-line option to encode aligned vector move as unaligned vector move. * Add support for Intel AVX512_FP16 instructions. * The outputs of .ds.x directive and .tfloat directive with hex input have been reduced from 12 bytes to 10 bytes to match the output of .tfloat directive. Linker: * Add support for the LoongArch architecture. * Add -z pack-relative-relocs/-z no pack-relative-relocs to x86 ELF linker to pack relative relocations in the DT_RELR section. * Add -z indirect-extern-access/-z noindirect-extern-access to x86 ELF linker to control canonical function pointers and copy relocation. Other Binary Tools: * elfedit: Add --output-abiversion option to update ABIVERSION. * Tools which display symbols or strings (readelf, strings, nm, objdump) have a new command line option which controls how unicode characters are handled. By default they are treated as normal for the tool. Using --unicode=locale will display them according to the current locale. Using --unicode=hex will display them as hex byte values, whilst --unicode=escape will display them as escape sequences. In addition using --unicode=highlight will display them as unicode escape sequences highlighted in red (if supported by the output device). * readelf -r dumps RELR relative relocations now. * Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been added to objcopy in order to enable UEFI development using binutils. * ar: Add --thin for creating thin archives. -T is a deprecated alias without diagnostics. In many ar implementations -T has a different meaning, as specified by X/Open System Interface. Signed-off-by: Nick Hainke <vincent@systemli.org>
* binutils: fix compiling with arch-based distrosNick Hainke2022-01-021-2/+2
| | | | | | | | | | | | | | | | | | | Arch Linux users have encountered problems with packages that have a dependency on binutils. This error happens when libtool is doing: libtool: relink: ... So change PKG_FIXUP to "patch-libtool". Fixes error in the form of: libtool: install: error: relink `libctf.la' with the above command before installing it Upstream Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28545 OpenWrt Bug: https://bugs.openwrt.org/index.php?do=details&task_id=4149 Acked-by: John Audia <graysky@archlinux.us> Signed-off-by: Nick Hainke <vincent@systemli.org>
* binutils: Update to version 2.37Hauke Mehrtens2021-11-031-2/+2
| | | | | | This matches the version used in the toolchain. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: update to 2.35.2Konstantin Demin2021-05-231-3/+3
| | | | Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
* binutils: fix libbfd missing DSO dependency if NLS enabledTony Ambardar2021-04-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | The libbfd package definition uses $(ICONV_DEPENDS) and $(INTL_DEPENDS) but links against neither, leading to libbfd detection failures in other packages (e.g. bpftools) and on-target relocation problems with libintl.so: root@OpenWrt:/# ldd /usr/lib/libbfd.so ldd (0x77db6000) libc.so => ldd (0x77db6000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77c6d000) Error relocating /usr/lib/libbfd.so: libintl_dgettext: symbol not found Add NLS-conditional linking of "libintl" to fix this. Also remove libbfd package dependency $(ICONV_DEPENDS) which is not used during building or linking. Tested with QEMU on malta/be32, after building all packages from binutils, bpftools and iproute2, using different libc options musl and glibc. Fixes: 08e817569630 ("binutils: use nls.mk to fix libbfd link errors in other packages") Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* binutils: update to 2.35.1Rosen Penev2020-12-221-2/+2
| | | | | | Fixes compilation with musl 1.2.x. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* bintuils: Pack libctf-nobfd.so in additionHauke Mehrtens2020-08-101-2/+3
| | | | | | | | | | readelf is linked against this library on MIPS64BE This fixes a build problem on MIPS64BE. In addition also explicitly activate it in the configure command. Fixes: 60f595daab45 ("binutils: update to version 2.34") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: update to version 2.34Felix Fietkau2020-08-063-1329/+19
| | | | | | Fixes perf on aarch64 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* binutils: add ALTERNATIVES for strings (FS#3001)Hans Dedecker2020-04-181-1/+2
| | | | | | | | Don't move strings anymore to /bin/strings to avoid clash with busybox /usr/bin/strings but move it to /usr/bin/binutils-strings. Use ALTERNATIVES support to install it as /usr/bin/strings Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* binutils: fix build with host gcc < 4.9Hauke Mehrtens2017-04-122-0/+1323
| | | | | | | | | binutils 2.27 checks if the target compiler supports -Wstack- usage=262144, and also uses this setting for the host compiler. If the host compiler is gcc < 4.9 binutils build will fail. This backports 2 commits which are fixing this problem for binutils 2.28. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/devel/binutils: Update to 2.27diizzyy2016-10-131-2/+2
| | | | | Updates binutils to 2.27 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* binutils: use nls.mk to fix libbfd link errors in other packagesFelix Fietkau2016-01-201-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48422
* binutils: upgrade to version 2.25John Crispin2015-12-231-3/+3
| | | | | | | | | | | | | | Fixes build: config/tc-i386.c: In function 'build_modrm_byte': config/tc-i386.c:6143:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] && !op.bitfield.reg64 != 1 Contains this fix: https://sourceware.org/ml/binutils/2014-09/msg00095.html Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 48003
* binutils/oprofile: disable mips16 to fix build errors (#19522)Felix Fietkau2015-04-201-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45525
* package/binutils: actually support the target toolchainFelix Fietkau2015-01-071-0/+2
| | | | | | | | This fixes a bug, where ld on ARM EABI platforms expects OABI code. Signed-off-by: Harald Geyer <harald@ccbib.org> SVN-Revision: 43866
* binutils: break-out libbfd, libopcodes and arFelix Fietkau2014-12-181-6/+44
| | | | | | | | Package libbfd, libopcodes and ar seperately. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43745
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* binutils: fix build with gcc 4.9Felix Fietkau2014-09-301-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42707
* binutils: link libbfd and libopcodes dynamically againJonas Gorski2014-08-301-1/+4
| | | | | | | | | | | | | Build libbfd and libopcodes as shared libraries, else they get linked statically into every binary, increasing each binary size by ~650kB. Reduces binutils package size to old expected values. Fixes #17060. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42337
* binutils: decouple from toolchain selection, use version 2.24, fix libiberty ↵Felix Fietkau2014-06-061-64/+20
| | | | | | | | installation Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41036
* upgrade the Linaro binutils to 2.24-2013.12Imre Kaloz2014-01-071-4/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39210
* handle the Linaro version as wellImre Kaloz2013-12-261-5/+14
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39164
* move a few development packages to trunk and add myself as a maintainerFelix Fietkau2012-10-101-0/+115
SVN-Revision: 33705