https://sourceware.org/bugzilla/show_bug.cgi?id=26206
--- Comment #27 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d91c67e8730354c43fae86fa98fe593925882365 commit d91c67e8730354c43fae86fa98fe593925882365 Author: Alan Modra <amo...@gmail.com> Date: Tue Dec 7 12:36:31 2021 +1030 Re: Add support for AArch64 EFI (efi-*-aarch64) Commit b69c9d41e8 was broken in multiple ways regarding the realloc of the target string, most notably in that "-little" wasn't actually appended to the input_target or output_target. This caused asan errors and "FAIL: Check if efi app format is recognized". I also noticed that the input_target string wasn't being copied but rather the output_target when dealing with the input target. Fix that too. PR 26206 * objcopy.c (convert_efi_target): Rewrite. Allocate modified target strings here.. (copy_main): ..rather than here. Do handle input_target, not output_target for input. -- You are receiving this mail because: You are on the CC list for the bug.