mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Add remaining ELF compression definitions and structs
A follow-up to r300231. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
067115e050
commit
21dff1801f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312599
@ -254,4 +254,10 @@ typedef struct {
|
||||
Elf32_Half si_flags; /* per symbol flags */
|
||||
} Elf32_Syminfo;
|
||||
|
||||
typedef struct {
|
||||
Elf32_Word ch_type;
|
||||
Elf32_Word ch_size;
|
||||
Elf32_Word ch_addralign;
|
||||
} Elf32_Chdr;
|
||||
|
||||
#endif /* !_SYS_ELF32_H_ */
|
||||
|
@ -257,4 +257,11 @@ typedef struct {
|
||||
Elf64_Half si_flags; /* per symbol flags */
|
||||
} Elf64_Syminfo;
|
||||
|
||||
typedef struct {
|
||||
Elf64_Word ch_type;
|
||||
Elf64_Word ch_reserved;
|
||||
Elf64_Xword ch_size;
|
||||
Elf64_Xword ch_addralign;
|
||||
} Elf64_Chdr;
|
||||
|
||||
#endif /* !_SYS_ELF64_H_ */
|
||||
|
@ -849,6 +849,13 @@ typedef struct {
|
||||
#define SYMINFO_CURRENT 1
|
||||
#define SYMINFO_NUM 2
|
||||
|
||||
/* Values for ch_type (compressed section headers). */
|
||||
#define ELFCOMPRESS_ZLIB 1 /* ZLIB/DEFLATE */
|
||||
#define ELFCOMPRESS_LOOS 0x60000000 /* OS-specific */
|
||||
#define ELFCOMPRESS_HIOS 0x6fffffff
|
||||
#define ELFCOMPRESS_LOPROC 0x70000000 /* Processor-specific */
|
||||
#define ELFCOMPRESS_HIPROC 0x7fffffff
|
||||
|
||||
/*
|
||||
* Relocation types.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user