| OLD | NEW |
| 1 //===-- llvm/Support/ELF.h - ELF constants and data structures --*- C++ -*-===// | 1 //===-- llvm/Support/ELF.h - ELF constants and data structures --*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This header contains common, non-processor-specific data structures and | 10 // This header contains common, non-processor-specific data structures and |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 SHT_SHLIB = 10, // Reserved. | 291 SHT_SHLIB = 10, // Reserved. |
| 292 SHT_DYNSYM = 11, // Symbol table. | 292 SHT_DYNSYM = 11, // Symbol table. |
| 293 SHT_INIT_ARRAY = 14, // Pointers to initialisation functions. | 293 SHT_INIT_ARRAY = 14, // Pointers to initialisation functions. |
| 294 SHT_FINI_ARRAY = 15, // Pointers to termination functions. | 294 SHT_FINI_ARRAY = 15, // Pointers to termination functions. |
| 295 SHT_PREINIT_ARRAY = 16, // Pointers to pre-init functions. | 295 SHT_PREINIT_ARRAY = 16, // Pointers to pre-init functions. |
| 296 SHT_GROUP = 17, // Section group. | 296 SHT_GROUP = 17, // Section group. |
| 297 SHT_SYMTAB_SHNDX = 18, // Indicies for SHN_XINDEX entries. | 297 SHT_SYMTAB_SHNDX = 18, // Indicies for SHN_XINDEX entries. |
| 298 SHT_LOOS = 0x60000000, // Lowest operating system-specific type. | 298 SHT_LOOS = 0x60000000, // Lowest operating system-specific type. |
| 299 SHT_HIOS = 0x6fffffff, // Highest operating system-specific type. | 299 SHT_HIOS = 0x6fffffff, // Highest operating system-specific type. |
| 300 SHT_LOPROC = 0x70000000, // Lowest processor architecture-specific type
. | 300 SHT_LOPROC = 0x70000000, // Lowest processor architecture-specific type
. |
| 301 |
| 302 // Fixme: All this is duplicated in MCSectionELF. Why?? |
| 303 // Exception Index table |
| 304 SHT_ARM_EXIDX = 0x70000001U, |
| 305 // BPABI DLL dynamic linking pre-emption map |
| 306 SHT_ARM_PREEMPTMAP = 0x70000002U, |
| 307 // Object file compatibility attributes |
| 308 SHT_ARM_ATTRIBUTES = 0x70000003U, |
| 309 SHT_ARM_DEBUGOVERLAY = 0x70000004U, |
| 310 SHT_ARM_OVERLAYSECTION = 0x70000005U, |
| 311 |
| 301 SHT_HIPROC = 0x7fffffff, // Highest processor architecture-specific typ
e. | 312 SHT_HIPROC = 0x7fffffff, // Highest processor architecture-specific typ
e. |
| 302 SHT_LOUSER = 0x80000000, // Lowest type reserved for applications. | 313 SHT_LOUSER = 0x80000000, // Lowest type reserved for applications. |
| 303 SHT_HIUSER = 0xffffffff // Highest type reserved for applications. | 314 SHT_HIUSER = 0xffffffff // Highest type reserved for applications. |
| 304 }; | 315 }; |
| 305 | 316 |
| 306 // Section flags. | 317 // Section flags. |
| 307 enum { | 318 enum { |
| 308 SHF_WRITE = 0x1, // Section data should be writable during execution. | 319 SHF_WRITE = 0x1, // Section data should be writable during execution. |
| 309 SHF_ALLOC = 0x2, // Section occupies memory during program execution. | 320 SHF_ALLOC = 0x2, // Section occupies memory during program execution. |
| 310 SHF_EXECINSTR = 0x4, // Section contains executable machine instructions. | 321 SHF_EXECINSTR = 0x4, // Section contains executable machine instructions. |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 DT_HIOS = 0x6FFFFFFF, // End of environment specific tags. | 569 DT_HIOS = 0x6FFFFFFF, // End of environment specific tags. |
| 559 DT_LOPROC = 0x70000000, // Start of processor specific tags. | 570 DT_LOPROC = 0x70000000, // Start of processor specific tags. |
| 560 DT_HIPROC = 0x7FFFFFFF // End of processor specific tags. | 571 DT_HIPROC = 0x7FFFFFFF // End of processor specific tags. |
| 561 }; | 572 }; |
| 562 | 573 |
| 563 } // end namespace ELF | 574 } // end namespace ELF |
| 564 | 575 |
| 565 } // end namespace llvm | 576 } // end namespace llvm |
| 566 | 577 |
| 567 #endif | 578 #endif |
| OLD | NEW |