mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Add a few more ELF bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5370f11d9
commit
5af8f421b6
@ -99,6 +99,12 @@ enum {
|
|||||||
ET_HIPROC = 0xffff // Processor-specific
|
ET_HIPROC = 0xffff // Processor-specific
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Versioning
|
||||||
|
enum {
|
||||||
|
EV_NONE = 0,
|
||||||
|
EV_CURRENT = 1
|
||||||
|
};
|
||||||
|
|
||||||
// Machine architectures
|
// Machine architectures
|
||||||
enum {
|
enum {
|
||||||
EM_NONE = 0, // No machine
|
EM_NONE = 0, // No machine
|
||||||
@ -129,6 +135,11 @@ enum {
|
|||||||
ELFDATA2MSB = 2 // Big-endian object file
|
ELFDATA2MSB = 2 // Big-endian object file
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// OS ABI identification -- unused.
|
||||||
|
enum {
|
||||||
|
ELFOSABI_NONE = 0
|
||||||
|
};
|
||||||
|
|
||||||
// Section header.
|
// Section header.
|
||||||
struct Elf32_Shdr {
|
struct Elf32_Shdr {
|
||||||
Elf32_Word sh_name; // Section name (index into string table)
|
Elf32_Word sh_name; // Section name (index into string table)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user