mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
elf.h: add relocation numbers for segmented support
Add relocation numbers reserved/intended for segmented support in ELF32. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
9acfdb26da
commit
e7c75e5521
@ -347,7 +347,10 @@ enum reloc32_type {
|
||||
R_386_16 = 20, /* A 16-bit absolute relocation */
|
||||
R_386_PC16 = 21, /* A 16-bit PC-relative relocation */
|
||||
R_386_8 = 22, /* An 8-bit absolute relocation */
|
||||
R_386_PC8 = 23 /* An 8-bit PC-relative relocation */
|
||||
R_386_PC8 = 23, /* An 8-bit PC-relative relocation */
|
||||
R_386_SEG16 = 45, /* A 16-bit real-mode segment */
|
||||
R_386_SUB16 = 46, /* Subtract 16-bit value */
|
||||
R_386_SUB32 = 47 /* Subtract 32-bit value */
|
||||
};
|
||||
|
||||
#define ELF64_R_SYM(x) ((x) >> 32)
|
||||
|
Loading…
Reference in New Issue
Block a user