Description of problem: Feature request Discussion of issues: https://lists.xen.org/archives/html/xen-devel/2016-02/msg01847.html Version-Release number of selected component (if applicable): all versions How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: cat f24-binutils-add-386pep-emul.patch diff -r -Nup binutils-2.26.1-1.fc24.src/binutils.spec binutils-2.26.1-1.fc24.1.src/binutils.spec --- binutils-2.26.1-1.fc24.src/binutils.spec 2016-06-29 04:00:10.000000000 -0700 +++ binutils-2.26.1-1.fc24.1.src/binutils.spec 2016-09-15 15:29:38.000000000 -0700 @@ -20,7 +20,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.26.1 -Release: 1%{?dist} +Release: 1%{?dist}.1 License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -248,6 +248,11 @@ export CFLAGS="$RPM_OPT_FLAGS" %endif CARGS= +case %{binutils_target} in x86_64*|i?86*|arm*|aarch64*) + CARGS="$CARGS --enable-targets=x86_64-pep,x86_64-*-pep" + ;; +esac + case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*) CARGS="$CARGS --enable-64-bit-bfd" ;; @@ -525,6 +530,11 @@ exit 0 %endif # %{isnative} %changelog +* Fri Jul 22 2016 Mark Pryor <pryorm09> 2.26.1-1.1 +- minor release of binutils-2.26.1 +- added i386pep emulation for all EFI capable CPU type +- binary rebuild for 5th week of release + * Wed Jun 29 2016 Nick Clifton <nickc> 2.26.1-1 - Rebase on FSF binutils 2.26.1 release. - Retire: binutils-2.26-Bsymbolic_PIE.patch
After patching, this is the emulation list on x86_64 > ld -V GNU ld version 2.26.1-1.fc24.1 Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om i386pep i386pe
Hi Mark, I have checked in a small variant of your patch to the Fedora repository. Please try out: binutils-2.27-8.fc26 which you should be able to find by following this link: http://koji.fedoraproject.org/koji/taskinfo?taskID=15749020 Cheers Nick
I installed the patched binutils in f24 mock chroot. There are 2 new emulations as desired. http://paste.fedoraproject.org/433673/47466864/raw/ <PryMar56> patched binutils, installed in f24 chroot, then query the emulations & found 2 new