Commit: Fix GOLD testsuite failures for 2.35 branch
Andreas Schwab
schwab@linux-m68k.org
Mon Jul 6 10:50:44 GMT 2020
On Jul 06 2020, Nick Clifton via Binutils wrote:
> diff --git a/gold/target-reloc.h b/gold/target-reloc.h
> index e9e3e5b002..d1d0e13589 100644
> --- a/gold/target-reloc.h
> +++ b/gold/target-reloc.h
> @@ -136,6 +136,7 @@ class Default_comdat_behavior
> if (Layout::is_debug_info_section(name))
> return CB_PRETEND;
> if (strcmp(name, ".eh_frame") == 0
> + || strncmp(name, ".gnu.build.attributes", 21) == 0
Can you avoid the magic number?
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