diff options
author | Alan Modra <amodra@gmail.com> | 2021-12-07 12:36:31 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-12-07 16:10:27 +1030 |
commit | d91c67e8730354c43fae86fa98fe593925882365 (patch) | |
tree | 0b780699668c28695bdcfa2601e83d110ccd891f /ld/ldmain.h | |
parent | 43908c16539f486d0b1afc43329bf59d1c3cdd20 (diff) | |
download | gdb-d91c67e8730354c43fae86fa98fe593925882365.zip gdb-d91c67e8730354c43fae86fa98fe593925882365.tar.gz gdb-d91c67e8730354c43fae86fa98fe593925882365.tar.bz2 |
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.
Diffstat (limited to 'ld/ldmain.h')
0 files changed, 0 insertions, 0 deletions