summaryrefslogtreecommitdiff
path: root/packages/binutils
AgeCommit message (Collapse)AuthorFilesLines
2022-02-28binutils: Bring in upstream fix for powerpcChris Packham1-0/+52
Some versions of GCC emit a .machine directive near the start of the compiler's assembly output that overrides the CPU passed on the command line. Bring in an upstream change for binutils that works around the problem. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-02-14Merge pull request #1674 from stilor/masterAlexey Neyman53-268/+163
Updates to make `ct-ng build-all` pass
2022-02-13packages/binutils: add binutils-2.38Hans-Christian Noren Egtvedt10-0/+595
Binutils version 2.38 has been released https://www.phoronix.com/scan.php?page=news_item&px=GNU-Binutils-2.38 https://sourceware.org/pipermail/binutils/2022-February/119721.html Patches 0000 to 0008 from binutils-2.37 applied clean, so forward ported them. The following patches are now applied from upstream, hence dropped: 0010-change-uint-to-unsigned.patch 0011-bfd-close-the-file-descriptor-if-there-is-no-archive-fd.patch 0012-pr28391-strip-objcopy-preserve-dates-a-cannot-set-time.patch 0013-ld-pru-fix-resource_table-output-section-alignment.patch 0014-pr28422-build_id-use-after-free.patch 0015-pr28459-readelf-issues-bogus-warning.patch 0016-pr28417-std-string-no-longer-allows-accepting-nullptr_t.patch 0017-pr28540-segmentation-fault-on-NULL-byte_get.patch 0018-gold-place-note-gnu-property-section-before-other-note-sections.patch 0019-waddress-warning-in-ldelf.c.patch Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-02-11Run patches thru `manage-packages -P`Alexey Neyman51-260/+155
This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11Run packages through `manage-packages -D`Alexey Neyman2-8/+8
This fixed some typos in the checksum files (please don't edit them manually, this is error-prone!) Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-03binutils-2.37: add more patches from upstream release branchHans-Christian Noren Egtvedt9-0/+582
Fetch in various patches from binutils-2_37-branch upstream. The most vital change is the 0012-pr28391-strip-objcopy-preserve-dates-a-cannot-set-time.patch which allows building large upstream projects like Qt WebEngine without need 100k's of file descriptors open. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2021-10-10binutils-2.37: Remove obsolete ld_makefile patchAlexey Brodkin1-27/+0
The patch in question was first introduced in [1] as a copy-paste from OpenEmbedded [2], where it seems to exist on the first ever SVN commit. Later it was removed from OE in [3] on switching to Binutils 2.25. It's not clear why it was introduced in the first place and why it got removed later. But given in OE/Yocto it was missing since 2015 and never was reverted, I guess it is not strictly necessary at least with recent Binutils. So it's an extra patch which adds questionable value. Moreover it gets in the way if one wants to merge a couple of separate toolchains like little- & big-enadian so that "bin" & "lib" folder contain all the binaries and libs simultaneously. W/ that patch in place ldscripts won't co-exist, but instead the latest set of scripts will override all the rest. And in case of aforementioned example w/ merged little- & big-endian toolchains BE ldscripts will override LE ones leading to a funny behavior: on linking w/o explicitly set endianess (via "-EL" or "-EB") default linker scripts won't match the GCC driver used: ------------------------------->8--------------------------- $ arc-elf32-gcc test.c -Wl,-marcv2elfx ... .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/lib/crt0.o: compiled for a little endian system and target is big endian .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: failed to merge target specific data of file .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/lib/crt0.o .../bin/../lib/gcc/arc-snps-elf/11.2.0/../../../../arc-snps-elf/bin/ld: .../bin/../lib/gcc/arc-snps-elf/11.2.0/crti.o: compiled for a little endian system and target is big endian ... ------------------------------->8--------------------------- [1] https://github.com/crosstool-ng/crosstool-ng/commit/cfbcdd378646594887c9d488aee529c07838ee8e [2] https://github.com/openembedded/openembedded-core/commit/4b46c1f6e891b1ddd5968536440b888661fade3e [3] https://github.com/openembedded/openembedded-core/commit/3c7fe424f850af70989ad682dd9c5be70cd02ca5 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-21binutils: Remove obsolete versionsChris Packham74-10660/+1
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - binutils-linaro-2.23.2-2013.10-4 - binutils-linaro-2.24.0-2014.11-2 - binutils-linaro-2.25.0-2015.01-2 - binutils-2.23.2 - binutils-2.24 - binutils-2.25.1 Adjust the milestones now that the old versions have been removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-14binutils: Add MinGW build fix from 2.37 branchArtem Panfilov1-0/+56
This fixes a defect introduced in 25162c7. The "uint" type has not been explicitly defined here on mingw, causing compilation to fail. Signed-off-by: Artem Panfilov <artemp@synopsys.com>
2021-09-13binutils 2.37: arc: Fix for 32-bit hostsAlexey Brodkin1-0/+217
While building statically-linked executables for ARC on 32-bit platform LD segfaulted like that: --------------------------->8------------------------- $ gcc test.c -static potentially unexpected fatal signal 11. Path: /arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld CPU: 0 PID: 79 Comm: ld Not tainted 5.10.43 #8 Invalid Read @ 0x00000020 by insn @ 0x40bbe @off 0x40bbe in [/arc_gnu_2021.03_prebuilt_glibc_le_archs_native_install/arc-snps-linux-gnu/bin/ld] VMA: 0x00010000 to 0x0010e000 ECR: 0x00050100 EFA: 0x00000020 ERET: 0x00040bbe STAT: 0x80080082 [IE U ] BTA: 0x0003fc24 SP: 0x5fdb8dec FP: 0x00129598 BLK: 0x40b66 LPS: 0x2008c602 LPE: 0x2008c63e LPC: 0x00000001 r00: 0x008392f2 r01: 0x00000001 r02: 0x00000000 r03: 0x008392f2 r04: 0x00000058 r05: 0x00e37e88 r06: 0x00eb8ea8 r07: 0x00a837e8 r08: 0x0000003f r09: 0x736e7520 r10: 0x2011aa74 r11: 0x001147f4 r12: 0x00a83834 r13: 0x00a837e8 r14: 0x00ce92b8 r15: 0x00112130 r16: 0x00eb8ea8 r17: 0x00000058 r18: 0x001273b8 r19: 0x00e37e88 r20: 0x00129598 r21: 0x5fdb8e74 r22: 0x00112130 r23: 0x00179bb0 r24: 0x00170684 r25: 0x20122490 collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. --------------------------->8------------------------- Originally found during native building on ARC board, but later re-produced on other 32-bit systems like i386/i586. For all the gory details please refer to [1]. Original fix could be found here [2]. [1] https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/402 [2] https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/29d31b4ed96fcbc774740fac91ef77cb3d62a714 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-08-16binutils: add version 2.37Alexey Brodkin11-0/+622
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-02-12binutils: add version 2.36.1Hans-Christian Noren Egtvedt11-0/+622
Forward ported patches from binutils 2.35.1, refreshed to match current sources. Patch 0008-poison-system-directories.patch did not apply clean and had minor adjustments to fit new binutils 2.36.1 release. Dropped the following patches as they have been applied upstream: - 0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch - 0010-arm-Fix-the-wrong-error-message-string-for-mve-vldr-.patch Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-11-06binutils: Pull in some bug fixes from binutils 2.35 branchKumar Gala2-0/+962
Expect that if there is a binutils 2.35.2 release these fixes will be included in there, these are pulled out of the binutils-2_35-branch post the 2.35.1 release. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-09-22binutils: add version 2.35.1Hans-Christian Noren Egtvedt12-12/+12
Bump to latest 2.35 minor release from upstream, now 2.35.1, replaces version 2.35. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-08-27Add support for binutils 2.35Hans-Christian Noren Egtvedt11-0/+622
Forward ported patches from binutils 2.34, refreshed to match current sources. Patch 0008-poison-system-directories.patch did not apply clean and had minor adjustments to fit new binutils 2.35 release. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2020-06-17fix missing include of string in binutils older than 2.33Nicolas Dusart10-0/+260
Signed-off-by: Nicolas Dusart <nicolas@freedelity.be>
2020-02-26Add binutils 2.34Alexey Neyman11-0/+622
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-23binutils: add version 2.33.1Hans-Christian Noren Egtvedt11-0/+622
Forward ported patches from version 2.32, and refreshed them so they apply clean. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2019-02-14Another wave of version updatesAlexey Neyman11-0/+622
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman1-0/+1
Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-05Add configuration options for enabling SSPAlexey Neyman1-0/+11
... in uClibc and glibc. Fixes #681. While here, relocate additional "sources" for uClibc/binutils into packages/ directory. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-04Add a config option for default RELRO settingAlexey Neyman1-1/+1
Fixes #656. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-08Restore binutils (gold) build on mingw32 hostAlexey Neyman1-0/+122
Fixes #1049. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-28Patches to fix ld's abort on xtensaAlexey Neyman20-0/+128
Also while there, fix the naming (some patches ended up with two sequence numbers somehow). Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-25Upgrades. Lots of 'em.Alexey Neyman11-0/+622
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30More fixes after the upgrades:Alexey Neyman1-1/+1
- GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix relies on binutils 2.24 or newer, which is okay for glibc 2.26 since it needs 2.25 or newer anyway. But older glibc versions are now pinned to binutils 2.29 or older on aarch64. - xtensa needs patches in libgcc with gcc 7.3. - comment in newlib's patch to indicate it is a reversal of a commit. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-29Upgrade to new releasesAlexey Neyman11-0/+622
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng MPC vs MPFR dependencies required modifications in auto-generated templates to also provide non-inclusive older-than/newer-than specifications. Also correct MPC URLs, the website seems to have adjusted its directory layout. Currently, newlib 3.0.0 doesn't build for arm-nano-eabi. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-03Bunch of upgrades: android-ndk, expat, gcc-linaro, ...Alexey Neyman1-8/+4
... mingw-w64, musl, strace, uClibc-ng, linux. Also, regenerate chksum's after @bhundven's upgrade of binutils. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02Run all patches through renumbering and updateAlexey Neyman114-1500/+1208
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-05[binutils] remove 2.29Bryan Hundven11-624/+0
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05[binutils] Add 2.29.1Bryan Hundven11-0/+628
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-09-30Add digests for all packagesAlexey Neyman7-0/+64
Also fix test-packages: it was saving the output from CT_DoLog into the checksum file. Also use one file per version. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-28Add an ability to verify the digest/signatureAlexey Neyman1-0/+1
Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-28Apply ucontext patch to mainstream GCC releasesAlexey Neyman1-1/+1
Not applicable to 4.8, as GLIBC2.26 requires 4.9 or newer. Record that dependency. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-24Upgrade binutilsAlexey Neyman21-42/+612
Bump 2.28 -> 2.28.1; add 2.29. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-19Record tarball formatsAlexey Neyman6-0/+6
Also, missed upgrades of gmp, isl, mingw-w64 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-18Trim old versionsAlexey Neyman14-0/+0
Policy: - Only latest patchlevel for each branch release Exception: CLooG - ISL has dependencies on specific CLooG releases within a single branch - Where there are no patchlevel releases (uClibc, musl) - just retain two most recent releases Also, missed automake update: 1.14 -> 1.14.1 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10Typo in binutils package descriptionAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10Resolve a few more TBDsAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Downloading packages using new frameworkAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman4-7/+7
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Implement "milestones" for packagesAlexey Neyman1-0/+1
Also get rid of dependency on GNU sort. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert gcc to new framework.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08More work-in-progress.Alexey Neyman1-3/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08First stab at gen-versions.shAlexey Neyman106-0/+13084
Signed-off-by: Alexey Neyman <stilor@att.net>