[PATCH V4 6/8] ld: aarch64: make EH Frame parsing aware of augmentation char 'G'

Jan Beulich jbeulich@suse.com
Thu Jul 10 06:59:36 GMT 2025


On 09.07.2025 23:44, Jose E. Marchesi wrote:
> --- a/bfd/elf-eh-frame.c
> +++ b/bfd/elf-eh-frame.c
> @@ -802,6 +802,7 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
>  		switch (*aug++)
>  		  {
>  		  case 'B':
> +                  case 'G':

As a nit - indentation is wrong here (using solely blanks). Which points at

>                      if (abfd->arch_info->arch != bfd_arch_aarch64)
>                        goto unrecognized;

... the earlier patch introducing these (and other) lines having a similar
issue.

Apart from the style issues this common code change is then of course okay.
All of the Arm64-specific bits will still require arch maintainer approval,
of course.

Jan


More information about the Binutils mailing list