sync glibc::elf/elf.h

This commit is contained in:
Emile Clark-Boman 2025-09-16 13:33:04 +10:00
parent 6beabe7e88
commit 0628521d8a
2 changed files with 4629 additions and 0 deletions

24
lib/elf/Makefile Normal file
View file

@ -0,0 +1,24 @@
GELF_H := glibc_elf.h
MIRROR := https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=elf/elf.h;hb=HEAD
define HEADER
/* This file was autogenerated with `make sync` by the Enby project.\n\
* UPSTREAM: $(MIRROR)\n\
*/\n\
endef
all:
@echo Usage: make sync
.PHONY: sync
sync: clean $(GELF_H)
clean:
rm -f $(GELF_H)
$(GELF_H):
{ echo -e '$(HEADER)'; wget -q -O- '$(MIRROR)'; } \
| clang-format >> $(GELF_H)
# grep -v features.h $@ > $@

4605
lib/elf/glibc_elf.h Normal file

File diff suppressed because it is too large Load diff