https://gcc.gnu.org/g:1ae7073586dd7f2553885965994f6b76e8f42cd8
commit r16-5065-g1ae7073586dd7f2553885965994f6b76e8f42cd8 Author: Ian Lance Taylor <[email protected]> Date: Thu Nov 6 11:27:21 2025 -0800 libbacktrace: use correct names in #undef of ELF macros Patch from Joseph Koshy. * elf.c (ELFMAGn): In #undef rename from ELF_MAGn. Diff: --- libbacktrace/elf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libbacktrace/elf.c b/libbacktrace/elf.c index 868d0e1a7f3e..0f14066bf17c 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
