search for: ad5e459

Displaying 4 results from an estimated 4 matches for "ad5e459".

2012 May 22
0
[klibc:master] include: [sys/elfcommon.h] define STN_UNDEF
...efine STN_UNDEF Noticed while trying to compile kexec against klibc. Signed-off-by: maximilian attems <max at stro.at> --- usr/include/sys/elfcommon.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h index ad5e459..300ff4e 100644 --- a/usr/include/sys/elfcommon.h +++ b/usr/include/sys/elfcommon.h @@ -147,6 +147,9 @@ #define SHN_COMMON 0xfff2 #define SHN_HIRESERVE 0xffff +/* End of a chain. */ +#define STN_UNDEF 0 + /* Lenght of magic at the start of a file */ #define EI_NIDENT 16
2007 Dec 10
1
[git patch] m-i-t support, ipconfig fix
...4_Nhdr; +/* Both Elf32_Sym and Elf64_Sym use the same one-byte st_info field. */ +#define ELF64_ST_BIND(val) ELF32_ST_BIND (val) +#define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val) + #endif /* _SYS_ELF64_H */ diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h index 0d81db5..ad5e459 100644 --- a/usr/include/sys/elfcommon.h +++ b/usr/include/sys/elfcommon.h @@ -184,4 +184,14 @@ #define ELFOSABI_NONE 0 #define ELFOSABI_LINUX 3 +/* Legal values for ST_BIND subfield of st_info (symbol binding). */ +#define STB_LOCAL 0 /* Local symbol */ +#define STB_GLOBAL 1 /* Global sy...
2007 Sep 22
3
[git patch] module-init-tools fixes
...4_Nhdr; +/* Both Elf32_Sym and Elf64_Sym use the same one-byte st_info field. */ +#define ELF64_ST_BIND(val) ELF32_ST_BIND (val) +#define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val) + #endif /* _SYS_ELF64_H */ diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h index 0d81db5..ad5e459 100644 --- a/usr/include/sys/elfcommon.h +++ b/usr/include/sys/elfcommon.h @@ -184,4 +184,14 @@ #define ELFOSABI_NONE 0 #define ELFOSABI_LINUX 3 +/* Legal values for ST_BIND subfield of st_info (symbol binding). */ +#define STB_LOCAL 0 /* Local symbol */ +#define STB_GLOBAL 1 /* Global sy...
2012 Jan 29
5
[PATCH 0/2 v3] mkstemp() and m68k support
Hi, after a year, I decided to hack on klibc again. I?ve reworked both the patch to add mkstemp(), discussing to use AT_RANDOM as cheap entropy source on IRC (if there will ever be another entropy consumer, I can quickly write a minimal arc4random() seeded from it, as it has only 16 octets), capable of making a working mksh (static and shared) on amd64/xen, and the m68k support code, leading to