Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | |
2 | #ifndef ELF_RELOC |
||
3 | #error "ELF_RELOC must be defined" |
||
4 | #endif |
||
5 | |||
6 | // No relocation |
||
7 | ELF_RELOC(R_LANAI_NONE, 0) |
||
8 | // 21-bit symbol relocation |
||
9 | ELF_RELOC(R_LANAI_21, 1) |
||
10 | // 21-bit symbol relocation with last two bits masked to 0 |
||
11 | ELF_RELOC(R_LANAI_21_F, 2) |
||
12 | // 25-bit branch targets |
||
13 | ELF_RELOC(R_LANAI_25, 3) |
||
14 | // General 32-bit relocation |
||
15 | ELF_RELOC(R_LANAI_32, 4) |
||
16 | // Upper 16-bits of a symbolic relocation |
||
17 | ELF_RELOC(R_LANAI_HI16, 5) |
||
18 | // Lower 16-bits of a symbolic relocation |
||
19 | ELF_RELOC(R_LANAI_LO16, 6) |