haiku/headers/private/system/arch/mipsel/arch_elf.h
X512 ebeab0cf70 rumtime_loader: fix TLS for riscv64
Change-Id: I55593dea936af31135b8e9159f8b6a64270369c0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5157
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-27 16:15:41 +00:00

56 lines
1.4 KiB
C

/*
* Copyright 2009 Haiku Inc.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef _SYSTEM_ARCH_MIPSEL_ELF_H
#define _SYSTEM_ARCH_MIPSEL_ELF_H
#warning DEFINE mipsel relocation types
/* relocation types */
#define R_MIPSEL_NONE 0
#define R_MIPSEL_ADDR32 1
#define R_MIPSEL_ADDR24 2
#define R_MIPSEL_ADDR16 3
#define R_MIPSEL_ADDR16_LO 4
#define R_MIPSEL_ADDR16_HI 5
#define R_MIPSEL_ADDR16_HA 6
#define R_MIPSEL_ADDR14 7
#define R_MIPSEL_ADDR14_BRTAKEN 8
#define R_MIPSEL_ADDR14_BRNTAKEN 9
#define R_MIPSEL_REL24 10
#define R_MIPSEL_REL14 11
#define R_MIPSEL_REL14_BRTAKEN 12
#define R_MIPSEL_REL14_BRNTAKEN 13
#define R_MIPSEL_GOT16 14
#define R_MIPSEL_GOT16_LO 15
#define R_MIPSEL_GOT16_HI 16
#define R_MIPSEL_GOT16_HA 17
#define R_MIPSEL_PLTREL24 18
#define R_MIPSEL_COPY 19
#define R_MIPSEL_GLOB_DAT 20
#define R_MIPSEL_JMP_SLOT 21
#define R_MIPSEL_RELATIVE 22
#define R_MIPSEL_LOCAL24PC 23
#define R_MIPSEL_UADDR32 24
#define R_MIPSEL_UADDR16 25
#define R_MIPSEL_REL32 26
#define R_MIPSEL_PLT32 27
#define R_MIPSEL_PLTREL32 28
#define R_MIPSEL_PLT16_LO 29
#define R_MIPSEL_PLT16_HI 30
#define R_MIPSEL_PLT16_HA 31
#define R_MIPSEL_SDAREL16 32
#define R_MIPSEL_SECTOFF 33
#define R_MIPSEL_SECTOFF_LO 34
#define R_MIPSEL_SECTOFF_HI 35
#define R_MIPSEL_SECTOFF_HA 36
#define R_MIPSEL_ADDR30 37
#define TLS_DTV_OFFSET 0
#endif /* _SYSTEM_ARCH_MIPSEL_ELF_H */