Apparently some firmware implementations[1] won't run executables
containing an .eh_frame section, failing instead with "Error reported:
Unsupported" on the shell. There's also no obvious need for it, so
don't copy it.

[1] e.g., the one used on the ASRock C2750D4I
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index d224418..d004bdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -144,7 +144,7 @@ $(efi_solib): $(efi_objects)
 
 $(efi_loadername): $(efi_solib)
        $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
-         -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \
+         -j .dynsym -j .rel -j .rela -j .reloc \
          --target=efi-app-$(ARCH) $< $@
 
 # 
------------------------------------------------------------------------------
-- 
1.9.1

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to