crosstool-ng/packages/binutils
Alexey Brodkin 5d903ccee9 binutils-2.37: Remove obsolete ld_makefile patch
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] cfbcdd3786
[2] 4b46c1f6e8
[3] 3c7fe424f8

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-10-10 04:55:24 -07:00
..
2.26.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.27 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.28.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.29.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.30 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.31.1 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.32 fix missing include of string in binutils older than 2.33 2020-06-17 17:43:35 +02:00
2.33.1 binutils: add version 2.33.1 2019-10-23 10:01:01 +02:00
2.34 Add binutils 2.34 2020-02-26 11:05:19 -08:00
2.35.1 binutils: Pull in some bug fixes from binutils 2.35 branch 2020-11-06 08:51:19 -06:00
2.36.1 binutils: add version 2.36.1 2021-02-12 11:54:11 +01:00
2.37 binutils-2.37: Remove obsolete ld_makefile patch 2021-10-10 04:55:24 -07:00
binutils-ld.in Add configuration options for enabling SSP 2018-12-04 16:15:37 -08:00
package.desc binutils: Remove obsolete versions 2021-09-21 21:24:31 +12:00