URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1602 to Rev 1603
- ↔ Reverse comparison
Rev 1602 → Rev 1603
/trunk/linux/linux-2.4/include/asm-or32/elf.h
19,6 → 19,7
|
/* This should be moved to include/linux/elf.h */ |
#define EM_OR32 0x8472 |
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */ |
/* |
* These are used to set parameters in the core dumps. |
*/ |
32,7 → 33,8
* This is used to ensure we don't load something for the wrong architecture. |
*/ |
|
#define elf_check_arch(x) ((x)->e_machine == EM_OR32) |
#define elf_check_arch(x) \ |
(((x)->e_machine == EM_OR32) || ((x)->e_machine == EM_OPENRISC)) |
|
/* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
use of this is to invoke "./ld.so someprog" to test out a new version of |