diff options
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index a6c2e0d..fe3ea29 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -4987,6 +4987,13 @@ convert_efi_target (char *efi) /* Change x86_64 to x86-64. */ efi[7] = '-'; } + else if (strcmp (efi + 4, "aarch64") == 0) + { + /* Change aarch64 to aarch64-little. */ + efi = (char *) xrealloc (efi, strlen (efi) + 7); + char *t = "aarch64-little"; + strcpy (efi + 4, t); + } } /* Allocate and return a pointer to a struct section_add, initializing the |