From: Ian Lance Taylor Date: Thu, 6 Nov 2025 19:27:21 +0000 (-0800) Subject: libbacktrace: use correct names in #undef of ELF macros X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ae7073586dd7f2553885965994f6b76e8f42cd8;p=thirdparty%2Fgcc.git libbacktrace: use correct names in #undef of ELF macros Patch from Joseph Koshy. * elf.c (ELFMAGn): In #undef rename from ELF_MAGn. --- diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index 868d0e1a7f3..0f14066bf17 100644 --- a/libbacktrace/elf.c +++ b/libbacktrace/elf.c @@ -160,10 +160,10 @@ dl_iterate_phdr (int (*callback) (struct dl_phdr_info *, #undef EI_CLASS #undef EI_DATA #undef EI_VERSION -#undef ELF_MAG0 -#undef ELF_MAG1 -#undef ELF_MAG2 -#undef ELF_MAG3 +#undef ELFMAG0 +#undef ELFMAG1 +#undef ELFMAG2 +#undef ELFMAG3 #undef ELFCLASS32 #undef ELFCLASS64 #undef ELFDATA2LSB