diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-12-03 14:10:21 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-12-03 14:17:29 +0100 |
commit | c41d197ec4a564a588e1cf3855d955297f2915c4 (patch) | |
tree | df8210bd8255958d533238b20a387997d658c3bc | |
parent | 1d9cbb96082e646de7515a1667efa041ffb79958 (diff) | |
download | glibc-c41d197ec4a564a588e1cf3855d955297f2915c4.tar glibc-c41d197ec4a564a588e1cf3855d955297f2915c4.tar.gz glibc-c41d197ec4a564a588e1cf3855d955297f2915c4.tar.bz2 glibc-c41d197ec4a564a588e1cf3855d955297f2915c4.zip |
elf: Synchronize <elf.h> section header flags with binutils
binutils 2.36 will add SHF_GNU_RETAIN support. SHF_GNU_BUILD_NOTE
was also missing from the glibc header.
-rw-r--r-- | elf/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -478,6 +478,8 @@ typedef struct #define SHF_COMPRESSED (1 << 11) /* Section with compressed data. */ #define SHF_MASKOS 0x0ff00000 /* OS-specific. */ #define SHF_MASKPROC 0xf0000000 /* Processor-specific */ +#define SHF_GNU_BUILD_NOTE (1 << 20) /* Contains GNU build notes. */ +#define SHF_GNU_RETAIN (1 << 21) /* Not to be GCed by linker. */ #define SHF_ORDERED (1 << 30) /* Special ordering requirement (Solaris). */ #define SHF_EXCLUDE (1U << 31) /* Section is excluded unless |