From 846141822b5d8f6ecc549ce98be474522b95d9cb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 7 Dec 2020 16:17:40 +0000 Subject: Remove references to the unofficial SHF_GNU_BUILD_NOTE section flag. binutils * objcopy.c (is_mergeable_note_section): Remove reference to SHF_GNU_BUILD_NOTE. include * elf/common.h (SHF_GNU_BUILD_NOTE): Delete. --- include/ChangeLog | 4 ++++ include/elf/common.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 81486ad..ebda223 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-12-07 Nick Clifton + + * elf/common.h (SHF_GNU_BUILD_NOTE): Delete. + 2020-12-01 Nelson Chu * opcode/riscv.h (RISCV_UNKNOWN_VERSION): added. diff --git a/include/elf/common.h b/include/elf/common.h index 95a852f..6482f8c 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -553,7 +553,6 @@ /* #define SHF_MASKOS 0x0F000000 *//* OS-specific semantics */ #define SHF_MASKOS 0x0FF00000 /* New value, Oct 4, 1999 Draft */ -#define SHF_GNU_BUILD_NOTE (1 << 20) /* Section contains GNU BUILD ATTRIBUTE notes. */ #define SHF_GNU_RETAIN (1 << 21) /* Section should not be garbage collected by the linker. */ #define SHF_MASKPROC 0xF0000000 /* Processor-specific semantics */ -- cgit v1.1