Now that public_includes is supported in header yaml files, we don't need custom .h.def templates just to include another header. This patch removes link.h.def, string.h.def, and ucontext.h.def and moves their inclusions directly into their yaml definitions: - link.yaml: add elf.h - string.yaml: add strings.h - sys/ucontext.yaml: add ucontext.h Assisted by Gemini.
23 lines
383 B
YAML
23 lines
383 B
YAML
header: link.h
|
|
public_includes:
|
|
- elf.h
|
|
standards:
|
|
- svid
|
|
macros:
|
|
- macro_name: ElfW
|
|
standards:
|
|
- gnu
|
|
macro_header: link-macros.h
|
|
types:
|
|
- type_name: struct_dl_phdr_info
|
|
standards:
|
|
- gnu
|
|
functions:
|
|
- name: dl_iterate_phdr
|
|
standards:
|
|
- gnu
|
|
return_type: int
|
|
arguments:
|
|
- type: __dl_iterate_phdr_callback_t
|
|
- type: void *
|