summaryrefslogtreecommitdiffstats
path: root/package/elf2flt
Commit message (Collapse)AuthorAgeFilesLines
* package/elf2flt: fix build with Binutils >= 2.31Romain Naour2018-07-171-0/+34
| | | | | | | | | | | | | | Binutils added diagnostics.h to bfd.h [1], so elf2flt must create a symlink for this header. Fixes: https://gitlab.com/free-electrons/toolchains-builder/-/jobs/82284139 [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=95da9854466ada2572b42f5528711a06a2d42db1 Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/elf2flt: replace hard-links with copies to fix rpathYann E. MORIN2018-05-281-0/+16
| | | | | | | | | | | | | | | | | | | Do for elf2flt what we did for binutils: replace the hardlinks (which break rpath handling) with copies of the individaul tools. See previous commit (package/binutils: switch from symlinks to copies and commit f9cffb6af4 (binutils: replace hard-links with soft-links to fix rpath) for the complete story. Fixes: #11031. Reported-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Christophe Priouzeau <christophe.priouzeau@st.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* elf2flt: add patch to fix ld.real search logicThomas Petazzoni2017-08-151-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | elf2flt contains a program called ld-elf2flt, which gets installed as a replacement for ld, with ld renamed to ld.real. This program therefore calls ld.real internally. The logic to find ld.real worked fine for: - bin/TARGET_ALIAS-ld - TARGET_ALIAS/bin/ld However, it failed badly if bin/SIMPLER_TARGET_ALIAS-ld is used, as symlink to bin/TARGET_ALIAS-ld. For example: $ ./output/host/bin/arm-buildroot-uclinux-uclibcgnueabi-ld /home/thomas/buildroot/buildroot/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files $ ./output/host/bin/arm-linux-ld arm-linux-ld (ld-elf2flt): error trying to exec '/home/thomas/buildroot/buildroot/output/host/bin/ld.real': execvp: No such file or directory $ ./output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld /home/thomas/buildroot/buildroot/output/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: no input files This commit fixes that by adding a patch that adjusts the ld-elf2flt logic to properly cope with this situation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/elf2flt: bump versionBernd Kuhls2017-05-283-36/+2
| | | | | | | | Removed patch applied upstream: https://github.com/uclinux-dev/elf2flt/commit/a87f68ae9e879360a9624f2a02999e67cfbe5a2f Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: fix threading apps on ARM noMMU systemsWaldemar Brodkorb2016-08-251-0/+34
| | | | | | | | See this thread, which explains the problem in detail: http://mailman.uclinux.org/pipermail/uclinux-dev//2016-April/052713.html Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: Update version to fix buffer overflow in output_relocs()Maxime Coquelin2016-04-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This new version contains a patch that fixes the following crash: make[1]: Entering directory `<...>/build/uclibc-1.0.14' CC utils/getconf *** buffer overflow detected ***: <...>/bin/elf2flt terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x2ad3be5f738f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x2ad3be68ec9c] /lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x2ad3be68db60] /lib/x86_64-linux-gnu/libc.so.6(+0x109069)[0x2ad3be68d069] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xbc)[0x2ad3be5ff70c] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xaef)[0x2ad3be5ce7df] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x2ad3be68d0f4] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x2ad3be68d04d] <...>/bin/elf2flt[0x403cda] <...>/bin/elf2flt[0x4030a4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2ad3be5a5ec5] <...>/bin/elf2flt[0x403642] Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: enable for xtensaMax Filippov2016-04-181-1/+1
| | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: use new upstream site and bump versionThomas Petazzoni2016-04-162-4/+6
| | | | | | | | | | | | | The uClinux developers now have a Github with elf2flt code, with an upstream that is again active. Let's switch to this upstream, which has built-in support for ARM noMMU, contributed by Waldemar. Since we're now fetching from github, a hash file is added as well. Finally, we disable -Werror to avoid build issues caused by warnings. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* elf2flt: fix build when LTO is enabledDouglas RAILLARD2015-09-201-1/+7
| | | | | | Signed-off-by: Douglas RAILLARD <public.douglas.raillard@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: change upstream repositoryDouglas RAILLARD2015-09-201-2/+2
| | | | | | | | | Use Waldemar Brodkorb's repository (at least) until an "official" upstream repository is established, to get the ARM noMMU patches Signed-off-by: Douglas RAILLARD <public.douglas.raillard@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: disable for blackfinGustavo Zacarias2015-03-201-1/+1
| | | | | | | | Now that we don't support the internal blackfin toolchain any more it makes no sense to have this enabled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/elf2flt: hide when an MMU is usedYann E. MORIN2014-05-301-0/+1
| | | | | | | | | elf2flt is specifically for cases where an MMU is not available. There is no point in building elf2flt when using an MMU. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* elf2flt: change source siteRyan Barnett2014-02-041-3/+3
| | | | | | | | | | | The CVS repository for this package is no longer available. So changing the repository to be a mirror git repository. Fixes: http://autobuild.buildroot.net/results/779/77997fd75282c355f6270b92371c161c9457d1dd Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* elf2flt: upgrade to latest versionGustavo Zacarias2013-09-1319-13983/+4
| | | | | | | Upgrade to the latest uclinux CVS snapshot, gives us blackfin support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* normalize separator size to 80Jerzy Grzegorek2013-07-271-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* elf2flt: needs to link with zlibPeter Korsgaard2013-07-081-0/+2
| | | | | | | | Got dropped by the move to packages/. Fixes http://autobuild.buildroot.net/results/bb7/bb7b2c0bb23e0ab6e148a1e690b2c0827135ff55/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elf2flt: convert to the package infrastructureThomas Petazzoni2013-07-0319-0/+14013
[Peter: Correct legacy position] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud