[PATCH]Always skip only 1 byte for CIE version 1's return address register.

Andreas Schwab schwab@linux-m68k.org
Fri Mar 1 11:01:00 GMT 2019


On Feb 28 2019, Tamar Christina <Tamar.Christina@arm.com> wrote:

> @@ -2005,12 +2005,16 @@ _bfd_elf_write_section_eh_frame (bfd *abfd,
>  	      extra_data = extra_augmentation_data_bytes (ent);
>  
>  	      /* Skip length, id and version.  */
> -	      buf += 9;
> +	      buf += 8;
> +	      version = (unsigned int)(*(char*) buf++);

The comment no longer matches.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the Binutils mailing list