elftools 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +111 -7
- data/lib/elftools/constants/machine.rb +248 -0
- data/lib/elftools/constants/machine_names.rb +246 -0
- data/lib/elftools/constants/relocation/aarch64.rb +213 -0
- data/lib/elftools/constants/relocation/alpha.rb +47 -0
- data/lib/elftools/constants/relocation/amdgpu.rb +28 -0
- data/lib/elftools/constants/relocation/arm.rb +150 -0
- data/lib/elftools/constants/relocation/avr.rb +51 -0
- data/lib/elftools/constants/relocation/bfin.rb +72 -0
- data/lib/elftools/constants/relocation/bpf.rb +21 -0
- data/lib/elftools/constants/relocation/cr16.rb +46 -0
- data/lib/elftools/constants/relocation/cris.rb +46 -0
- data/lib/elftools/constants/relocation/crx.rb +35 -0
- data/lib/elftools/constants/relocation/csky.rb +79 -0
- data/lib/elftools/constants/relocation/d10v.rb +23 -0
- data/lib/elftools/constants/relocation/d30v.rb +27 -0
- data/lib/elftools/constants/relocation/dlx.rb +24 -0
- data/lib/elftools/constants/relocation/epiphany.rb +28 -0
- data/lib/elftools/constants/relocation/fr30.rb +27 -0
- data/lib/elftools/constants/relocation/frv.rb +57 -0
- data/lib/elftools/constants/relocation/ft32.rb +27 -0
- data/lib/elftools/constants/relocation/h8.rb +69 -0
- data/lib/elftools/constants/relocation/hppa.rb +135 -0
- data/lib/elftools/constants/relocation/i370.rb +26 -0
- data/lib/elftools/constants/relocation/i386.rb +59 -0
- data/lib/elftools/constants/relocation/i860.rb +48 -0
- data/lib/elftools/constants/relocation/i960.rb +22 -0
- data/lib/elftools/constants/relocation/ia64.rb +117 -0
- data/lib/elftools/constants/relocation/ip2k.rb +29 -0
- data/lib/elftools/constants/relocation/iq2000.rb +27 -0
- data/lib/elftools/constants/relocation/kvx.rb +97 -0
- data/lib/elftools/constants/relocation/lm32.rb +32 -0
- data/lib/elftools/constants/relocation/loongarch.rb +144 -0
- data/lib/elftools/constants/relocation/m32c.rb +27 -0
- data/lib/elftools/constants/relocation/m32r.rb +57 -0
- data/lib/elftools/constants/relocation/m68hc11.rb +35 -0
- data/lib/elftools/constants/relocation/m68k.rb +57 -0
- data/lib/elftools/constants/relocation/mcore.rb +27 -0
- data/lib/elftools/constants/relocation/mep.rb +36 -0
- data/lib/elftools/constants/relocation/metag.rb +63 -0
- data/lib/elftools/constants/relocation/microblaze.rb +48 -0
- data/lib/elftools/constants/relocation/mips.rb +125 -0
- data/lib/elftools/constants/relocation/mmix.rb +51 -0
- data/lib/elftools/constants/relocation/mn10200.rb +22 -0
- data/lib/elftools/constants/relocation/mn10300.rb +49 -0
- data/lib/elftools/constants/relocation/moxie.rb +17 -0
- data/lib/elftools/constants/relocation/msp430.rb +27 -0
- data/lib/elftools/constants/relocation/msp430x.rb +37 -0
- data/lib/elftools/constants/relocation/mt.rb +21 -0
- data/lib/elftools/constants/relocation/nds32.rb +167 -0
- data/lib/elftools/constants/relocation/nfp.rb +41 -0
- data/lib/elftools/constants/relocation/nfp3200.rb +46 -0
- data/lib/elftools/constants/relocation/nios2.rb +74 -0
- data/lib/elftools/constants/relocation/or1k.rb +69 -0
- data/lib/elftools/constants/relocation/pj.rb +24 -0
- data/lib/elftools/constants/relocation/ppc.rb +131 -0
- data/lib/elftools/constants/relocation/ppc64.rb +177 -0
- data/lib/elftools/constants/relocation/pru.rb +31 -0
- data/lib/elftools/constants/relocation/riscv.rb +74 -0
- data/lib/elftools/constants/relocation/rl78.rb +70 -0
- data/lib/elftools/constants/relocation/rx.rb +81 -0
- data/lib/elftools/constants/relocation/s12z.rb +22 -0
- data/lib/elftools/constants/relocation/s390.rb +82 -0
- data/lib/elftools/constants/relocation/score.rb +36 -0
- data/lib/elftools/constants/relocation/sh.rb +124 -0
- data/lib/elftools/constants/relocation/sparc.rb +108 -0
- data/lib/elftools/constants/relocation/spu.rb +32 -0
- data/lib/elftools/constants/relocation/tic6x.rb +48 -0
- data/lib/elftools/constants/relocation/tilegx.rb +134 -0
- data/lib/elftools/constants/relocation/tilepro.rb +105 -0
- data/lib/elftools/constants/relocation/v800.rb +101 -0
- data/lib/elftools/constants/relocation/v850.rb +66 -0
- data/lib/elftools/constants/relocation/vax.rb +29 -0
- data/lib/elftools/constants/relocation/visium.rb +30 -0
- data/lib/elftools/constants/relocation/wasm32.rb +16 -0
- data/lib/elftools/constants/relocation/x86_64.rb +68 -0
- data/lib/elftools/constants/relocation/xgate.rb +34 -0
- data/lib/elftools/constants/relocation/xstormy16.rb +29 -0
- data/lib/elftools/constants/relocation/xtensa.rb +75 -0
- data/lib/elftools/constants/relocation/z80.rb +28 -0
- data/lib/elftools/constants/relocation.rb +181 -0
- data/lib/elftools/constants.rb +124 -231
- data/lib/elftools/dynamic/hash_table.rb +216 -0
- data/lib/elftools/dynamic/string_table.rb +30 -0
- data/lib/elftools/dynamic/symbols.rb +146 -0
- data/lib/elftools/dynamic/tag.rb +66 -0
- data/lib/elftools/dynamic.rb +102 -62
- data/lib/elftools/elf_file.rb +74 -23
- data/lib/elftools/lazy_array.rb +42 -4
- data/lib/elftools/note.rb +6 -3
- data/lib/elftools/relocation.rb +94 -0
- data/lib/elftools/sections/dynamic_section.rb +13 -0
- data/lib/elftools/sections/relocation_section.rb +24 -43
- data/lib/elftools/sections/section.rb +4 -4
- data/lib/elftools/sections/sym_tab_section.rb +14 -34
- data/lib/elftools/sections/symbol.rb +112 -0
- data/lib/elftools/segments/dynamic_segment.rb +1 -0
- data/lib/elftools/segments/load_segment.rb +33 -5
- data/lib/elftools/segments/segment.rb +8 -4
- data/lib/elftools/structs.rb +24 -3
- data/lib/elftools/util.rb +1 -1
- data/lib/elftools/version.rb +1 -1
- metadata +101 -11
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of RX.
|
|
10
|
+
module RX
|
|
11
|
+
R_RX_NONE = 0 # :nodoc:
|
|
12
|
+
R_RX_DIR32 = 1 # Was: R_RX_32
|
|
13
|
+
R_RX_DIR24S = 2 # Was: R_RX_24
|
|
14
|
+
R_RX_DIR16 = 3 # :nodoc:
|
|
15
|
+
R_RX_DIR16U = 4 # Was: R_RX_16_UNS
|
|
16
|
+
R_RX_DIR16S = 5 # Was: R_RX_16
|
|
17
|
+
R_RX_DIR8 = 6 # :nodoc:
|
|
18
|
+
R_RX_DIR8U = 7 # Was: R_RX_8_UNS
|
|
19
|
+
R_RX_DIR8S = 8 # Was: R_RX_8
|
|
20
|
+
R_RX_DIR24S_PCREL = 9 # Was: R_RX_24_PCREL
|
|
21
|
+
R_RX_DIR16S_PCREL = 10 # Was: R_RX_16_PCREL
|
|
22
|
+
R_RX_DIR8S_PCREL = 11 # Was: R_RX_8_PCREL
|
|
23
|
+
R_RX_DIR16UL = 12 # :nodoc:
|
|
24
|
+
R_RX_DIR16UW = 13 # :nodoc:
|
|
25
|
+
R_RX_DIR8UL = 14 # :nodoc:
|
|
26
|
+
R_RX_DIR8UW = 15 # :nodoc:
|
|
27
|
+
R_RX_DIR32_REV = 16 # :nodoc:
|
|
28
|
+
R_RX_DIR16_REV = 17 # :nodoc:
|
|
29
|
+
R_RX_DIR3U_PCREL = 18 # :nodoc:
|
|
30
|
+
R_RX_RH_3_PCREL = 32 # Like R_RX_DIR8S_PCREL but only 3-bits
|
|
31
|
+
R_RX_RH_16_OP = 33 # Like R_RX_DIR16 but for opcodes - always big endian
|
|
32
|
+
R_RX_RH_24_OP = 34 # Like R_RX_DIR24S but for opcodes - always big endian
|
|
33
|
+
R_RX_RH_32_OP = 35 # Like R_RX_DIR32 but for opcodes - always big endian
|
|
34
|
+
R_RX_RH_24_UNS = 36 # Like R_RX_DIR24S but for unsigned values
|
|
35
|
+
R_RX_RH_8_NEG = 37 # Like R_RX_DIR8 but -x is stored
|
|
36
|
+
R_RX_RH_16_NEG = 38 # Like R_RX_DIR16 but -x is stored
|
|
37
|
+
R_RX_RH_24_NEG = 39 # Like R_RX_DIR24S but -x is stored
|
|
38
|
+
R_RX_RH_32_NEG = 40 # Like R_RX_DIR32 but -x is stored
|
|
39
|
+
R_RX_RH_DIFF = 41 # Subtract from a previous relocation
|
|
40
|
+
R_RX_RH_GPRELB = 42 # Byte value, relative to __gp
|
|
41
|
+
R_RX_RH_GPRELW = 43 # Word value, relative to __gp
|
|
42
|
+
R_RX_RH_GPRELL = 44 # Long value, relative to __gp
|
|
43
|
+
R_RX_RH_RELAX = 45 # Marks opcodes suitable for linker relaxation
|
|
44
|
+
R_RX_ABS32 = 65 # :nodoc:
|
|
45
|
+
R_RX_ABS24S = 66 # :nodoc:
|
|
46
|
+
R_RX_ABS16 = 67 # :nodoc:
|
|
47
|
+
R_RX_ABS16U = 68 # :nodoc:
|
|
48
|
+
R_RX_ABS16S = 69 # :nodoc:
|
|
49
|
+
R_RX_ABS8 = 70 # :nodoc:
|
|
50
|
+
R_RX_ABS8U = 71 # :nodoc:
|
|
51
|
+
R_RX_ABS8S = 72 # :nodoc:
|
|
52
|
+
R_RX_ABS24S_PCREL = 73 # :nodoc:
|
|
53
|
+
R_RX_ABS16S_PCREL = 74 # :nodoc:
|
|
54
|
+
R_RX_ABS8S_PCREL = 75 # :nodoc:
|
|
55
|
+
R_RX_ABS16UL = 76 # :nodoc:
|
|
56
|
+
R_RX_ABS16UW = 77 # :nodoc:
|
|
57
|
+
R_RX_ABS8UL = 78 # :nodoc:
|
|
58
|
+
R_RX_ABS8UW = 79 # :nodoc:
|
|
59
|
+
R_RX_ABS32_REV = 80 # :nodoc:
|
|
60
|
+
R_RX_ABS16_REV = 81 # :nodoc:
|
|
61
|
+
R_RX_SYM = 128 # :nodoc:
|
|
62
|
+
R_RX_OPneg = 129 # :nodoc:
|
|
63
|
+
R_RX_OPadd = 130 # :nodoc:
|
|
64
|
+
R_RX_OPsub = 131 # :nodoc:
|
|
65
|
+
R_RX_OPmul = 132 # :nodoc:
|
|
66
|
+
R_RX_OPdiv = 133 # :nodoc:
|
|
67
|
+
R_RX_OPshla = 134 # :nodoc:
|
|
68
|
+
R_RX_OPshra = 135 # :nodoc:
|
|
69
|
+
R_RX_OPsctsize = 136 # :nodoc:
|
|
70
|
+
R_RX_OPscttop = 141 # :nodoc:
|
|
71
|
+
R_RX_OPand = 144 # :nodoc:
|
|
72
|
+
R_RX_OPor = 145 # :nodoc:
|
|
73
|
+
R_RX_OPxor = 146 # :nodoc:
|
|
74
|
+
R_RX_OPnot = 147 # :nodoc:
|
|
75
|
+
R_RX_OPmod = 148 # :nodoc:
|
|
76
|
+
R_RX_OPromtop = 149 # :nodoc:
|
|
77
|
+
R_RX_OPramtop = 150 # :nodoc:
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of S12Z.
|
|
10
|
+
module S12Z
|
|
11
|
+
R_S12Z_NONE = 0 # :nodoc:
|
|
12
|
+
R_S12Z_OPR = 1 # :nodoc:
|
|
13
|
+
R_S12Z_UKNWN_2 = 2 # :nodoc:
|
|
14
|
+
R_S12Z_PCREL_7_15 = 3 # :nodoc:
|
|
15
|
+
R_S12Z_EXT24 = 4 # :nodoc:
|
|
16
|
+
R_S12Z_EXT18 = 5 # :nodoc:
|
|
17
|
+
R_S12Z_CW32 = 6 # :nodoc:
|
|
18
|
+
R_S12Z_EXT32 = 7 # :nodoc:
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of S390.
|
|
10
|
+
module S390
|
|
11
|
+
R_390_NONE = 0 # No reloc
|
|
12
|
+
R_390_8 = 1 # Direct 8 bit
|
|
13
|
+
R_390_12 = 2 # Direct 12 bit
|
|
14
|
+
R_390_16 = 3 # Direct 16 bit
|
|
15
|
+
R_390_32 = 4 # Direct 32 bit
|
|
16
|
+
R_390_PC32 = 5 # PC relative 32 bit
|
|
17
|
+
R_390_GOT12 = 6 # 12 bit GOT offset
|
|
18
|
+
R_390_GOT32 = 7 # 32 bit GOT offset
|
|
19
|
+
R_390_PLT32 = 8 # 32 bit PC relative PLT address
|
|
20
|
+
R_390_COPY = 9 # Copy symbol at runtime
|
|
21
|
+
R_390_GLOB_DAT = 10 # Create GOT entry
|
|
22
|
+
R_390_JMP_SLOT = 11 # Create PLT entry
|
|
23
|
+
R_390_RELATIVE = 12 # Adjust by program base
|
|
24
|
+
R_390_GOTOFF32 = 13 # 32 bit offset to GOT
|
|
25
|
+
R_390_GOTPC = 14 # 32 bit PC relative offset to GOT
|
|
26
|
+
R_390_GOT16 = 15 # 16 bit GOT offset
|
|
27
|
+
R_390_PC16 = 16 # PC relative 16 bit
|
|
28
|
+
R_390_PC16DBL = 17 # PC relative 16 bit shifted by 1
|
|
29
|
+
R_390_PLT16DBL = 18 # 16 bit PC rel. PLT shifted by 1
|
|
30
|
+
R_390_PC32DBL = 19 # PC relative 32 bit shifted by 1
|
|
31
|
+
R_390_PLT32DBL = 20 # 32 bit PC rel. PLT shifted by 1
|
|
32
|
+
R_390_GOTPCDBL = 21 # 32 bit PC rel. GOT shifted by 1
|
|
33
|
+
R_390_64 = 22 # Direct 64 bit
|
|
34
|
+
R_390_PC64 = 23 # PC relative 64 bit
|
|
35
|
+
R_390_GOT64 = 24 # 64 bit GOT offset
|
|
36
|
+
R_390_PLT64 = 25 # 64 bit PC relative PLT address
|
|
37
|
+
R_390_GOTENT = 26 # 32 bit PC rel. to GOT entry >> 1
|
|
38
|
+
R_390_GOTOFF16 = 27 # 16 bit offset to GOT
|
|
39
|
+
R_390_GOTOFF64 = 28 # 64 bit offset to GOT
|
|
40
|
+
R_390_GOTPLT12 = 29 # 12 bit offset to jump slot
|
|
41
|
+
R_390_GOTPLT16 = 30 # 16 bit offset to jump slot
|
|
42
|
+
R_390_GOTPLT32 = 31 # 32 bit offset to jump slot
|
|
43
|
+
R_390_GOTPLT64 = 32 # 64 bit offset to jump slot
|
|
44
|
+
R_390_GOTPLTENT = 33 # 32 bit rel. offset to jump slot
|
|
45
|
+
R_390_PLTOFF16 = 34 # 16 bit offset from GOT to PLT
|
|
46
|
+
R_390_PLTOFF32 = 35 # 32 bit offset from GOT to PLT
|
|
47
|
+
R_390_PLTOFF64 = 36 # 16 bit offset from GOT to PLT
|
|
48
|
+
R_390_TLS_LOAD = 37 # Tag for load insn in TLS code
|
|
49
|
+
R_390_TLS_GDCALL = 38 # :nodoc:
|
|
50
|
+
R_390_TLS_LDCALL = 39 # :nodoc:
|
|
51
|
+
R_390_TLS_GD32 = 40 # :nodoc:
|
|
52
|
+
R_390_TLS_GD64 = 41 # :nodoc:
|
|
53
|
+
R_390_TLS_GOTIE12 = 42 # :nodoc:
|
|
54
|
+
R_390_TLS_GOTIE32 = 43 # :nodoc:
|
|
55
|
+
R_390_TLS_GOTIE64 = 44 # :nodoc:
|
|
56
|
+
R_390_TLS_LDM32 = 45 # :nodoc:
|
|
57
|
+
R_390_TLS_LDM64 = 46 # :nodoc:
|
|
58
|
+
R_390_TLS_IE32 = 47 # :nodoc:
|
|
59
|
+
R_390_TLS_IE64 = 48 # :nodoc:
|
|
60
|
+
R_390_TLS_IEENT = 49 # :nodoc:
|
|
61
|
+
R_390_TLS_LE32 = 50 # :nodoc:
|
|
62
|
+
R_390_TLS_LE64 = 51 # :nodoc:
|
|
63
|
+
R_390_TLS_LDO32 = 52 # :nodoc:
|
|
64
|
+
R_390_TLS_LDO64 = 53 # :nodoc:
|
|
65
|
+
R_390_TLS_DTPMOD = 54 # ID of module containing symbol
|
|
66
|
+
R_390_TLS_DTPOFF = 55 # Offset in TLS block
|
|
67
|
+
R_390_TLS_TPOFF = 56 # :nodoc:
|
|
68
|
+
R_390_20 = 57 # Direct 20 bit
|
|
69
|
+
R_390_GOT20 = 58 # 20 bit GOT offset
|
|
70
|
+
R_390_GOTPLT20 = 59 # 20 bit offset to jump slot
|
|
71
|
+
R_390_TLS_GOTIE20 = 60 # :nodoc:
|
|
72
|
+
R_390_IRELATIVE = 61 # IFUNC relocation
|
|
73
|
+
R_390_PC12DBL = 62 # PC relative 12 bit shifted by 1
|
|
74
|
+
R_390_PLT12DBL = 63 # 12 bit PC rel. PLT shifted by 1
|
|
75
|
+
R_390_PC24DBL = 64 # PC relative 24 bit shifted by 1
|
|
76
|
+
R_390_PLT24DBL = 65 # 24 bit PC rel. PLT shifted by 1
|
|
77
|
+
R_390_GNU_VTINHERIT = 250 # :nodoc:
|
|
78
|
+
R_390_GNU_VTENTRY = 251 # :nodoc:
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of SCORE.
|
|
10
|
+
module SCORE
|
|
11
|
+
R_SCORE_NONE = 0 # :nodoc:
|
|
12
|
+
R_SCORE_HI16 = 1 # :nodoc:
|
|
13
|
+
R_SCORE_LO16 = 2 # :nodoc:
|
|
14
|
+
R_SCORE_BCMP = 3 # :nodoc:
|
|
15
|
+
R_SCORE_24 = 4 # :nodoc:
|
|
16
|
+
R_SCORE_PC19 = 5 # :nodoc:
|
|
17
|
+
R_SCORE16_11 = 6 # :nodoc:
|
|
18
|
+
R_SCORE16_PC8 = 7 # :nodoc:
|
|
19
|
+
R_SCORE_ABS32 = 8 # :nodoc:
|
|
20
|
+
R_SCORE_ABS16 = 9 # :nodoc:
|
|
21
|
+
R_SCORE_DUMMY2 = 10 # :nodoc:
|
|
22
|
+
R_SCORE_GP15 = 11 # :nodoc:
|
|
23
|
+
R_SCORE_GNU_VTINHERIT = 12 # :nodoc:
|
|
24
|
+
R_SCORE_GNU_VTENTRY = 13 # :nodoc:
|
|
25
|
+
R_SCORE_GOT15 = 14 # :nodoc:
|
|
26
|
+
R_SCORE_GOT_LO16 = 15 # :nodoc:
|
|
27
|
+
R_SCORE_CALL15 = 16 # :nodoc:
|
|
28
|
+
R_SCORE_GPREL32 = 17 # :nodoc:
|
|
29
|
+
R_SCORE_REL32 = 18 # :nodoc:
|
|
30
|
+
R_SCORE_DUMMY_HI16 = 19 # :nodoc:
|
|
31
|
+
R_SCORE_IMM30 = 20 # :nodoc:
|
|
32
|
+
R_SCORE_IMM32 = 21 # :nodoc:
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of SH.
|
|
10
|
+
module SH
|
|
11
|
+
R_SH_NONE = 0 # :nodoc:
|
|
12
|
+
R_SH_DIR32 = 1 # :nodoc:
|
|
13
|
+
R_SH_REL32 = 2 # :nodoc:
|
|
14
|
+
R_SH_DIR8WPN = 3 # :nodoc:
|
|
15
|
+
R_SH_IND12W = 4 # :nodoc:
|
|
16
|
+
R_SH_DIR8WPL = 5 # :nodoc:
|
|
17
|
+
R_SH_DIR8WPZ = 6 # :nodoc:
|
|
18
|
+
R_SH_DIR8BP = 7 # :nodoc:
|
|
19
|
+
R_SH_DIR8W = 8 # :nodoc:
|
|
20
|
+
R_SH_DIR8L = 9 # :nodoc:
|
|
21
|
+
R_SH_LOOP_START = 10 # :nodoc:
|
|
22
|
+
R_SH_LOOP_END = 11 # :nodoc:
|
|
23
|
+
R_SH_GNU_VTINHERIT = 22 # :nodoc:
|
|
24
|
+
R_SH_GNU_VTENTRY = 23 # :nodoc:
|
|
25
|
+
R_SH_SWITCH8 = 24 # :nodoc:
|
|
26
|
+
R_SH_SWITCH16 = 25 # :nodoc:
|
|
27
|
+
R_SH_SWITCH32 = 26 # :nodoc:
|
|
28
|
+
R_SH_USES = 27 # :nodoc:
|
|
29
|
+
R_SH_COUNT = 28 # :nodoc:
|
|
30
|
+
R_SH_ALIGN = 29 # :nodoc:
|
|
31
|
+
R_SH_CODE = 30 # :nodoc:
|
|
32
|
+
R_SH_DATA = 31 # :nodoc:
|
|
33
|
+
R_SH_LABEL = 32 # :nodoc:
|
|
34
|
+
R_SH_DIR16 = 33 # :nodoc:
|
|
35
|
+
R_SH_DIR8 = 34 # :nodoc:
|
|
36
|
+
R_SH_DIR8UL = 35 # :nodoc:
|
|
37
|
+
R_SH_DIR8UW = 36 # :nodoc:
|
|
38
|
+
R_SH_DIR8U = 37 # :nodoc:
|
|
39
|
+
R_SH_DIR8SW = 38 # :nodoc:
|
|
40
|
+
R_SH_DIR8S = 39 # :nodoc:
|
|
41
|
+
R_SH_DIR4UL = 40 # :nodoc:
|
|
42
|
+
R_SH_DIR4UW = 41 # :nodoc:
|
|
43
|
+
R_SH_DIR4U = 42 # :nodoc:
|
|
44
|
+
R_SH_PSHA = 43 # :nodoc:
|
|
45
|
+
R_SH_PSHL = 44 # :nodoc:
|
|
46
|
+
R_SH_DIR5U = 45 # :nodoc:
|
|
47
|
+
R_SH_DIR6U = 46 # :nodoc:
|
|
48
|
+
R_SH_DIR6S = 47 # :nodoc:
|
|
49
|
+
R_SH_DIR10S = 48 # :nodoc:
|
|
50
|
+
R_SH_DIR10SW = 49 # :nodoc:
|
|
51
|
+
R_SH_DIR10SL = 50 # :nodoc:
|
|
52
|
+
R_SH_DIR10SQ = 51 # :nodoc:
|
|
53
|
+
R_SH_DIR16S = 53 # :nodoc:
|
|
54
|
+
R_SH_TLS_GD_32 = 144 # :nodoc:
|
|
55
|
+
R_SH_TLS_LD_32 = 145 # :nodoc:
|
|
56
|
+
R_SH_TLS_LDO_32 = 146 # :nodoc:
|
|
57
|
+
R_SH_TLS_IE_32 = 147 # :nodoc:
|
|
58
|
+
R_SH_TLS_LE_32 = 148 # :nodoc:
|
|
59
|
+
R_SH_TLS_DTPMOD32 = 149 # :nodoc:
|
|
60
|
+
R_SH_TLS_DTPOFF32 = 150 # :nodoc:
|
|
61
|
+
R_SH_TLS_TPOFF32 = 151 # :nodoc:
|
|
62
|
+
R_SH_GOT32 = 160 # :nodoc:
|
|
63
|
+
R_SH_PLT32 = 161 # :nodoc:
|
|
64
|
+
R_SH_COPY = 162 # :nodoc:
|
|
65
|
+
R_SH_GLOB_DAT = 163 # :nodoc:
|
|
66
|
+
R_SH_JMP_SLOT = 164 # :nodoc:
|
|
67
|
+
R_SH_RELATIVE = 165 # :nodoc:
|
|
68
|
+
R_SH_GOTOFF = 166 # :nodoc:
|
|
69
|
+
R_SH_GOTPC = 167 # :nodoc:
|
|
70
|
+
R_SH_GOTPLT32 = 168 # :nodoc:
|
|
71
|
+
R_SH_GOT_LOW16 = 169 # :nodoc:
|
|
72
|
+
R_SH_GOT_MEDLOW16 = 170 # :nodoc:
|
|
73
|
+
R_SH_GOT_MEDHI16 = 171 # :nodoc:
|
|
74
|
+
R_SH_GOT_HI16 = 172 # :nodoc:
|
|
75
|
+
R_SH_GOTPLT_LOW16 = 173 # :nodoc:
|
|
76
|
+
R_SH_GOTPLT_MEDLOW16 = 174 # :nodoc:
|
|
77
|
+
R_SH_GOTPLT_MEDHI16 = 175 # :nodoc:
|
|
78
|
+
R_SH_GOTPLT_HI16 = 176 # :nodoc:
|
|
79
|
+
R_SH_PLT_LOW16 = 177 # :nodoc:
|
|
80
|
+
R_SH_PLT_MEDLOW16 = 178 # :nodoc:
|
|
81
|
+
R_SH_PLT_MEDHI16 = 179 # :nodoc:
|
|
82
|
+
R_SH_PLT_HI16 = 180 # :nodoc:
|
|
83
|
+
R_SH_GOTOFF_LOW16 = 181 # :nodoc:
|
|
84
|
+
R_SH_GOTOFF_MEDLOW16 = 182 # :nodoc:
|
|
85
|
+
R_SH_GOTOFF_MEDHI16 = 183 # :nodoc:
|
|
86
|
+
R_SH_GOTOFF_HI16 = 184 # :nodoc:
|
|
87
|
+
R_SH_GOTPC_LOW16 = 185 # :nodoc:
|
|
88
|
+
R_SH_GOTPC_MEDLOW16 = 186 # :nodoc:
|
|
89
|
+
R_SH_GOTPC_MEDHI16 = 187 # :nodoc:
|
|
90
|
+
R_SH_GOTPC_HI16 = 188 # :nodoc:
|
|
91
|
+
R_SH_GOT10BY4 = 189 # :nodoc:
|
|
92
|
+
R_SH_GOTPLT10BY4 = 190 # :nodoc:
|
|
93
|
+
R_SH_GOT10BY8 = 191 # :nodoc:
|
|
94
|
+
R_SH_GOTPLT10BY8 = 192 # :nodoc:
|
|
95
|
+
R_SH_COPY64 = 193 # :nodoc:
|
|
96
|
+
R_SH_GLOB_DAT64 = 194 # :nodoc:
|
|
97
|
+
R_SH_JMP_SLOT64 = 195 # :nodoc:
|
|
98
|
+
R_SH_RELATIVE64 = 196 # :nodoc:
|
|
99
|
+
R_SH_GOT20 = 201 # :nodoc:
|
|
100
|
+
R_SH_GOTOFF20 = 202 # :nodoc:
|
|
101
|
+
R_SH_GOTFUNCDESC = 203 # :nodoc:
|
|
102
|
+
R_SH_GOTFUNCDESC20 = 204 # :nodoc:
|
|
103
|
+
R_SH_GOTOFFFUNCDESC = 205 # :nodoc:
|
|
104
|
+
R_SH_GOTOFFFUNCDESC20 = 206 # :nodoc:
|
|
105
|
+
R_SH_FUNCDESC = 207 # :nodoc:
|
|
106
|
+
R_SH_FUNCDESC_VALUE = 208 # :nodoc:
|
|
107
|
+
R_SH_SHMEDIA_CODE = 242 # :nodoc:
|
|
108
|
+
R_SH_PT_16 = 243 # :nodoc:
|
|
109
|
+
R_SH_IMMS16 = 244 # :nodoc:
|
|
110
|
+
R_SH_IMMU16 = 245 # :nodoc:
|
|
111
|
+
R_SH_IMM_LOW16 = 246 # :nodoc:
|
|
112
|
+
R_SH_IMM_LOW16_PCREL = 247 # :nodoc:
|
|
113
|
+
R_SH_IMM_MEDLOW16 = 248 # :nodoc:
|
|
114
|
+
R_SH_IMM_MEDLOW16_PCREL = 249 # :nodoc:
|
|
115
|
+
R_SH_IMM_MEDHI16 = 250 # :nodoc:
|
|
116
|
+
R_SH_IMM_MEDHI16_PCREL = 251 # :nodoc:
|
|
117
|
+
R_SH_IMM_HI16 = 252 # :nodoc:
|
|
118
|
+
R_SH_IMM_HI16_PCREL = 253 # :nodoc:
|
|
119
|
+
R_SH_64 = 254 # :nodoc:
|
|
120
|
+
R_SH_64_PCREL = 255 # :nodoc:
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of SPARC.
|
|
10
|
+
module SPARC
|
|
11
|
+
R_SPARC_NONE = 0 # :nodoc:
|
|
12
|
+
R_SPARC_8 = 1 # :nodoc:
|
|
13
|
+
R_SPARC_16 = 2 # :nodoc:
|
|
14
|
+
R_SPARC_32 = 3 # :nodoc:
|
|
15
|
+
R_SPARC_DISP8 = 4 # :nodoc:
|
|
16
|
+
R_SPARC_DISP16 = 5 # :nodoc:
|
|
17
|
+
R_SPARC_DISP32 = 6 # :nodoc:
|
|
18
|
+
R_SPARC_WDISP30 = 7 # :nodoc:
|
|
19
|
+
R_SPARC_WDISP22 = 8 # :nodoc:
|
|
20
|
+
R_SPARC_HI22 = 9 # :nodoc:
|
|
21
|
+
R_SPARC_22 = 10 # :nodoc:
|
|
22
|
+
R_SPARC_13 = 11 # :nodoc:
|
|
23
|
+
R_SPARC_LO10 = 12 # :nodoc:
|
|
24
|
+
R_SPARC_GOT10 = 13 # :nodoc:
|
|
25
|
+
R_SPARC_GOT13 = 14 # :nodoc:
|
|
26
|
+
R_SPARC_GOT22 = 15 # :nodoc:
|
|
27
|
+
R_SPARC_PC10 = 16 # :nodoc:
|
|
28
|
+
R_SPARC_PC22 = 17 # :nodoc:
|
|
29
|
+
R_SPARC_WPLT30 = 18 # :nodoc:
|
|
30
|
+
R_SPARC_COPY = 19 # :nodoc:
|
|
31
|
+
R_SPARC_GLOB_DAT = 20 # :nodoc:
|
|
32
|
+
R_SPARC_JMP_SLOT = 21 # :nodoc:
|
|
33
|
+
R_SPARC_RELATIVE = 22 # :nodoc:
|
|
34
|
+
R_SPARC_UA32 = 23 # :nodoc:
|
|
35
|
+
R_SPARC_PLT32 = 24 # :nodoc:
|
|
36
|
+
R_SPARC_HIPLT22 = 25 # :nodoc:
|
|
37
|
+
R_SPARC_LOPLT10 = 26 # :nodoc:
|
|
38
|
+
R_SPARC_PCPLT32 = 27 # :nodoc:
|
|
39
|
+
R_SPARC_PCPLT22 = 28 # :nodoc:
|
|
40
|
+
R_SPARC_PCPLT10 = 29 # :nodoc:
|
|
41
|
+
R_SPARC_10 = 30 # :nodoc:
|
|
42
|
+
R_SPARC_11 = 31 # :nodoc:
|
|
43
|
+
R_SPARC_64 = 32 # :nodoc:
|
|
44
|
+
R_SPARC_OLO10 = 33 # :nodoc:
|
|
45
|
+
R_SPARC_HH22 = 34 # :nodoc:
|
|
46
|
+
R_SPARC_HM10 = 35 # :nodoc:
|
|
47
|
+
R_SPARC_LM22 = 36 # :nodoc:
|
|
48
|
+
R_SPARC_PC_HH22 = 37 # :nodoc:
|
|
49
|
+
R_SPARC_PC_HM10 = 38 # :nodoc:
|
|
50
|
+
R_SPARC_PC_LM22 = 39 # :nodoc:
|
|
51
|
+
R_SPARC_WDISP16 = 40 # :nodoc:
|
|
52
|
+
R_SPARC_WDISP19 = 41 # :nodoc:
|
|
53
|
+
R_SPARC_UNUSED_42 = 42 # :nodoc:
|
|
54
|
+
R_SPARC_7 = 43 # :nodoc:
|
|
55
|
+
R_SPARC_5 = 44 # :nodoc:
|
|
56
|
+
R_SPARC_6 = 45 # :nodoc:
|
|
57
|
+
R_SPARC_DISP64 = 46 # :nodoc:
|
|
58
|
+
R_SPARC_PLT64 = 47 # :nodoc:
|
|
59
|
+
R_SPARC_HIX22 = 48 # :nodoc:
|
|
60
|
+
R_SPARC_LOX10 = 49 # :nodoc:
|
|
61
|
+
R_SPARC_H44 = 50 # :nodoc:
|
|
62
|
+
R_SPARC_M44 = 51 # :nodoc:
|
|
63
|
+
R_SPARC_L44 = 52 # :nodoc:
|
|
64
|
+
R_SPARC_REGISTER = 53 # :nodoc:
|
|
65
|
+
R_SPARC_UA64 = 54 # :nodoc:
|
|
66
|
+
R_SPARC_UA16 = 55 # :nodoc:
|
|
67
|
+
R_SPARC_TLS_GD_HI22 = 56 # :nodoc:
|
|
68
|
+
R_SPARC_TLS_GD_LO10 = 57 # :nodoc:
|
|
69
|
+
R_SPARC_TLS_GD_ADD = 58 # :nodoc:
|
|
70
|
+
R_SPARC_TLS_GD_CALL = 59 # :nodoc:
|
|
71
|
+
R_SPARC_TLS_LDM_HI22 = 60 # :nodoc:
|
|
72
|
+
R_SPARC_TLS_LDM_LO10 = 61 # :nodoc:
|
|
73
|
+
R_SPARC_TLS_LDM_ADD = 62 # :nodoc:
|
|
74
|
+
R_SPARC_TLS_LDM_CALL = 63 # :nodoc:
|
|
75
|
+
R_SPARC_TLS_LDO_HIX22 = 64 # :nodoc:
|
|
76
|
+
R_SPARC_TLS_LDO_LOX10 = 65 # :nodoc:
|
|
77
|
+
R_SPARC_TLS_LDO_ADD = 66 # :nodoc:
|
|
78
|
+
R_SPARC_TLS_IE_HI22 = 67 # :nodoc:
|
|
79
|
+
R_SPARC_TLS_IE_LO10 = 68 # :nodoc:
|
|
80
|
+
R_SPARC_TLS_IE_LD = 69 # :nodoc:
|
|
81
|
+
R_SPARC_TLS_IE_LDX = 70 # :nodoc:
|
|
82
|
+
R_SPARC_TLS_IE_ADD = 71 # :nodoc:
|
|
83
|
+
R_SPARC_TLS_LE_HIX22 = 72 # :nodoc:
|
|
84
|
+
R_SPARC_TLS_LE_LOX10 = 73 # :nodoc:
|
|
85
|
+
R_SPARC_TLS_DTPMOD32 = 74 # :nodoc:
|
|
86
|
+
R_SPARC_TLS_DTPMOD64 = 75 # :nodoc:
|
|
87
|
+
R_SPARC_TLS_DTPOFF32 = 76 # :nodoc:
|
|
88
|
+
R_SPARC_TLS_DTPOFF64 = 77 # :nodoc:
|
|
89
|
+
R_SPARC_TLS_TPOFF32 = 78 # :nodoc:
|
|
90
|
+
R_SPARC_TLS_TPOFF64 = 79 # :nodoc:
|
|
91
|
+
R_SPARC_GOTDATA_HIX22 = 80 # :nodoc:
|
|
92
|
+
R_SPARC_GOTDATA_LOX10 = 81 # :nodoc:
|
|
93
|
+
R_SPARC_GOTDATA_OP_HIX22 = 82 # :nodoc:
|
|
94
|
+
R_SPARC_GOTDATA_OP_LOX10 = 83 # :nodoc:
|
|
95
|
+
R_SPARC_GOTDATA_OP = 84 # :nodoc:
|
|
96
|
+
R_SPARC_H34 = 85 # :nodoc:
|
|
97
|
+
R_SPARC_SIZE32 = 86 # :nodoc:
|
|
98
|
+
R_SPARC_SIZE64 = 87 # :nodoc:
|
|
99
|
+
R_SPARC_WDISP10 = 88 # :nodoc:
|
|
100
|
+
R_SPARC_JMP_IREL = 248 # :nodoc:
|
|
101
|
+
R_SPARC_IRELATIVE = 249 # :nodoc:
|
|
102
|
+
R_SPARC_GNU_VTINHERIT = 250 # :nodoc:
|
|
103
|
+
R_SPARC_GNU_VTENTRY = 251 # :nodoc:
|
|
104
|
+
R_SPARC_REV32 = 252 # :nodoc:
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of SPU.
|
|
10
|
+
module SPU
|
|
11
|
+
R_SPU_NONE = 0 # :nodoc:
|
|
12
|
+
R_SPU_ADDR10 = 1 # :nodoc:
|
|
13
|
+
R_SPU_ADDR16 = 2 # :nodoc:
|
|
14
|
+
R_SPU_ADDR16_HI = 3 # :nodoc:
|
|
15
|
+
R_SPU_ADDR16_LO = 4 # :nodoc:
|
|
16
|
+
R_SPU_ADDR18 = 5 # :nodoc:
|
|
17
|
+
R_SPU_ADDR32 = 6 # :nodoc:
|
|
18
|
+
R_SPU_REL16 = 7 # :nodoc:
|
|
19
|
+
R_SPU_ADDR7 = 8 # :nodoc:
|
|
20
|
+
R_SPU_REL9 = 9 # :nodoc:
|
|
21
|
+
R_SPU_REL9I = 10 # :nodoc:
|
|
22
|
+
R_SPU_ADDR10I = 11 # :nodoc:
|
|
23
|
+
R_SPU_ADDR16I = 12 # :nodoc:
|
|
24
|
+
R_SPU_REL32 = 13 # :nodoc:
|
|
25
|
+
R_SPU_ADDR16X = 14 # :nodoc:
|
|
26
|
+
R_SPU_PPU32 = 15 # :nodoc:
|
|
27
|
+
R_SPU_PPU64 = 16 # :nodoc:
|
|
28
|
+
R_SPU_ADD_PIC = 17 # :nodoc:
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of TIC6X.
|
|
10
|
+
module TIC6X
|
|
11
|
+
R_C6000_NONE = 0 # :nodoc:
|
|
12
|
+
R_C6000_ABS32 = 1 # :nodoc:
|
|
13
|
+
R_C6000_ABS16 = 2 # :nodoc:
|
|
14
|
+
R_C6000_ABS8 = 3 # :nodoc:
|
|
15
|
+
R_C6000_PCR_S21 = 4 # :nodoc:
|
|
16
|
+
R_C6000_PCR_S12 = 5 # :nodoc:
|
|
17
|
+
R_C6000_PCR_S10 = 6 # :nodoc:
|
|
18
|
+
R_C6000_PCR_S7 = 7 # :nodoc:
|
|
19
|
+
R_C6000_ABS_S16 = 8 # :nodoc:
|
|
20
|
+
R_C6000_ABS_L16 = 9 # :nodoc:
|
|
21
|
+
R_C6000_ABS_H16 = 10 # :nodoc:
|
|
22
|
+
R_C6000_SBR_U15_B = 11 # :nodoc:
|
|
23
|
+
R_C6000_SBR_U15_H = 12 # :nodoc:
|
|
24
|
+
R_C6000_SBR_U15_W = 13 # :nodoc:
|
|
25
|
+
R_C6000_SBR_S16 = 14 # :nodoc:
|
|
26
|
+
R_C6000_SBR_L16_B = 15 # :nodoc:
|
|
27
|
+
R_C6000_SBR_L16_H = 16 # :nodoc:
|
|
28
|
+
R_C6000_SBR_L16_W = 17 # :nodoc:
|
|
29
|
+
R_C6000_SBR_H16_B = 18 # :nodoc:
|
|
30
|
+
R_C6000_SBR_H16_H = 19 # :nodoc:
|
|
31
|
+
R_C6000_SBR_H16_W = 20 # :nodoc:
|
|
32
|
+
R_C6000_SBR_GOT_U15_W = 21 # :nodoc:
|
|
33
|
+
R_C6000_SBR_GOT_L16_W = 22 # :nodoc:
|
|
34
|
+
R_C6000_SBR_GOT_H16_W = 23 # :nodoc:
|
|
35
|
+
R_C6000_DSBT_INDEX = 24 # :nodoc:
|
|
36
|
+
R_C6000_PREL31 = 25 # :nodoc:
|
|
37
|
+
R_C6000_COPY = 26 # :nodoc:
|
|
38
|
+
R_C6000_JUMP_SLOT = 27 # :nodoc:
|
|
39
|
+
R_C6000_EHTYPE = 28 # :nodoc:
|
|
40
|
+
R_C6000_PCR_H16 = 29 # :nodoc:
|
|
41
|
+
R_C6000_PCR_L16 = 30 # :nodoc:
|
|
42
|
+
R_C6000_ALIGN = 253 # :nodoc:
|
|
43
|
+
R_C6000_FPHEAD = 254 # :nodoc:
|
|
44
|
+
R_C6000_NOCMP = 255 # :nodoc:
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is generated by `bundle exec rake gen:constants`, do not edit it.
|
|
4
|
+
# Source: https://sourceware.org/cgit/binutils-gdb/tree/include/elf
|
|
5
|
+
|
|
6
|
+
module ELFTools
|
|
7
|
+
module Constants
|
|
8
|
+
module R
|
|
9
|
+
# Relocation types of TILEGX.
|
|
10
|
+
module TILEGX
|
|
11
|
+
R_TILEGX_NONE = 0 # :nodoc:
|
|
12
|
+
R_TILEGX_64 = 1 # :nodoc:
|
|
13
|
+
R_TILEGX_32 = 2 # :nodoc:
|
|
14
|
+
R_TILEGX_16 = 3 # :nodoc:
|
|
15
|
+
R_TILEGX_8 = 4 # :nodoc:
|
|
16
|
+
R_TILEGX_64_PCREL = 5 # :nodoc:
|
|
17
|
+
R_TILEGX_32_PCREL = 6 # :nodoc:
|
|
18
|
+
R_TILEGX_16_PCREL = 7 # :nodoc:
|
|
19
|
+
R_TILEGX_8_PCREL = 8 # :nodoc:
|
|
20
|
+
R_TILEGX_HW0 = 9 # :nodoc:
|
|
21
|
+
R_TILEGX_HW1 = 10 # :nodoc:
|
|
22
|
+
R_TILEGX_HW2 = 11 # :nodoc:
|
|
23
|
+
R_TILEGX_HW3 = 12 # :nodoc:
|
|
24
|
+
R_TILEGX_HW0_LAST = 13 # :nodoc:
|
|
25
|
+
R_TILEGX_HW1_LAST = 14 # :nodoc:
|
|
26
|
+
R_TILEGX_HW2_LAST = 15 # :nodoc:
|
|
27
|
+
R_TILEGX_COPY = 16 # :nodoc:
|
|
28
|
+
R_TILEGX_GLOB_DAT = 17 # :nodoc:
|
|
29
|
+
R_TILEGX_JMP_SLOT = 18 # :nodoc:
|
|
30
|
+
R_TILEGX_RELATIVE = 19 # :nodoc:
|
|
31
|
+
R_TILEGX_BROFF_X1 = 20 # :nodoc:
|
|
32
|
+
R_TILEGX_JUMPOFF_X1 = 21 # :nodoc:
|
|
33
|
+
R_TILEGX_JUMPOFF_X1_PLT = 22 # :nodoc:
|
|
34
|
+
R_TILEGX_IMM8_X0 = 23 # :nodoc:
|
|
35
|
+
R_TILEGX_IMM8_Y0 = 24 # :nodoc:
|
|
36
|
+
R_TILEGX_IMM8_X1 = 25 # :nodoc:
|
|
37
|
+
R_TILEGX_IMM8_Y1 = 26 # :nodoc:
|
|
38
|
+
R_TILEGX_DEST_IMM8_X1 = 27 # :nodoc:
|
|
39
|
+
R_TILEGX_MT_IMM14_X1 = 28 # :nodoc:
|
|
40
|
+
R_TILEGX_MF_IMM14_X1 = 29 # :nodoc:
|
|
41
|
+
R_TILEGX_MMSTART_X0 = 30 # :nodoc:
|
|
42
|
+
R_TILEGX_MMEND_X0 = 31 # :nodoc:
|
|
43
|
+
R_TILEGX_SHAMT_X0 = 32 # :nodoc:
|
|
44
|
+
R_TILEGX_SHAMT_X1 = 33 # :nodoc:
|
|
45
|
+
R_TILEGX_SHAMT_Y0 = 34 # :nodoc:
|
|
46
|
+
R_TILEGX_SHAMT_Y1 = 35 # :nodoc:
|
|
47
|
+
R_TILEGX_IMM16_X0_HW0 = 36 # :nodoc:
|
|
48
|
+
R_TILEGX_IMM16_X1_HW0 = 37 # :nodoc:
|
|
49
|
+
R_TILEGX_IMM16_X0_HW1 = 38 # :nodoc:
|
|
50
|
+
R_TILEGX_IMM16_X1_HW1 = 39 # :nodoc:
|
|
51
|
+
R_TILEGX_IMM16_X0_HW2 = 40 # :nodoc:
|
|
52
|
+
R_TILEGX_IMM16_X1_HW2 = 41 # :nodoc:
|
|
53
|
+
R_TILEGX_IMM16_X0_HW3 = 42 # :nodoc:
|
|
54
|
+
R_TILEGX_IMM16_X1_HW3 = 43 # :nodoc:
|
|
55
|
+
R_TILEGX_IMM16_X0_HW0_LAST = 44 # :nodoc:
|
|
56
|
+
R_TILEGX_IMM16_X1_HW0_LAST = 45 # :nodoc:
|
|
57
|
+
R_TILEGX_IMM16_X0_HW1_LAST = 46 # :nodoc:
|
|
58
|
+
R_TILEGX_IMM16_X1_HW1_LAST = 47 # :nodoc:
|
|
59
|
+
R_TILEGX_IMM16_X0_HW2_LAST = 48 # :nodoc:
|
|
60
|
+
R_TILEGX_IMM16_X1_HW2_LAST = 49 # :nodoc:
|
|
61
|
+
R_TILEGX_IMM16_X0_HW0_PCREL = 50 # :nodoc:
|
|
62
|
+
R_TILEGX_IMM16_X1_HW0_PCREL = 51 # :nodoc:
|
|
63
|
+
R_TILEGX_IMM16_X0_HW1_PCREL = 52 # :nodoc:
|
|
64
|
+
R_TILEGX_IMM16_X1_HW1_PCREL = 53 # :nodoc:
|
|
65
|
+
R_TILEGX_IMM16_X0_HW2_PCREL = 54 # :nodoc:
|
|
66
|
+
R_TILEGX_IMM16_X1_HW2_PCREL = 55 # :nodoc:
|
|
67
|
+
R_TILEGX_IMM16_X0_HW3_PCREL = 56 # :nodoc:
|
|
68
|
+
R_TILEGX_IMM16_X1_HW3_PCREL = 57 # :nodoc:
|
|
69
|
+
R_TILEGX_IMM16_X0_HW0_LAST_PCREL = 58 # :nodoc:
|
|
70
|
+
R_TILEGX_IMM16_X1_HW0_LAST_PCREL = 59 # :nodoc:
|
|
71
|
+
R_TILEGX_IMM16_X0_HW1_LAST_PCREL = 60 # :nodoc:
|
|
72
|
+
R_TILEGX_IMM16_X1_HW1_LAST_PCREL = 61 # :nodoc:
|
|
73
|
+
R_TILEGX_IMM16_X0_HW2_LAST_PCREL = 62 # :nodoc:
|
|
74
|
+
R_TILEGX_IMM16_X1_HW2_LAST_PCREL = 63 # :nodoc:
|
|
75
|
+
R_TILEGX_IMM16_X0_HW0_GOT = 64 # :nodoc:
|
|
76
|
+
R_TILEGX_IMM16_X1_HW0_GOT = 65 # :nodoc:
|
|
77
|
+
R_TILEGX_IMM16_X0_HW0_PLT_PCREL = 66 # :nodoc:
|
|
78
|
+
R_TILEGX_IMM16_X1_HW0_PLT_PCREL = 67 # :nodoc:
|
|
79
|
+
R_TILEGX_IMM16_X0_HW1_PLT_PCREL = 68 # :nodoc:
|
|
80
|
+
R_TILEGX_IMM16_X1_HW1_PLT_PCREL = 69 # :nodoc:
|
|
81
|
+
R_TILEGX_IMM16_X0_HW2_PLT_PCREL = 70 # :nodoc:
|
|
82
|
+
R_TILEGX_IMM16_X1_HW2_PLT_PCREL = 71 # :nodoc:
|
|
83
|
+
R_TILEGX_IMM16_X0_HW0_LAST_GOT = 72 # :nodoc:
|
|
84
|
+
R_TILEGX_IMM16_X1_HW0_LAST_GOT = 73 # :nodoc:
|
|
85
|
+
R_TILEGX_IMM16_X0_HW1_LAST_GOT = 74 # :nodoc:
|
|
86
|
+
R_TILEGX_IMM16_X1_HW1_LAST_GOT = 75 # :nodoc:
|
|
87
|
+
R_TILEGX_IMM16_X0_HW3_PLT_PCREL = 76 # :nodoc:
|
|
88
|
+
R_TILEGX_IMM16_X1_HW3_PLT_PCREL = 77 # :nodoc:
|
|
89
|
+
R_TILEGX_IMM16_X0_HW0_TLS_GD = 78 # :nodoc:
|
|
90
|
+
R_TILEGX_IMM16_X1_HW0_TLS_GD = 79 # :nodoc:
|
|
91
|
+
R_TILEGX_IMM16_X0_HW0_TLS_LE = 80 # :nodoc:
|
|
92
|
+
R_TILEGX_IMM16_X1_HW0_TLS_LE = 81 # :nodoc:
|
|
93
|
+
R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE = 82 # :nodoc:
|
|
94
|
+
R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE = 83 # :nodoc:
|
|
95
|
+
R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE = 84 # :nodoc:
|
|
96
|
+
R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE = 85 # :nodoc:
|
|
97
|
+
R_TILEGX_IMM16_X0_HW0_LAST_TLS_GD = 86 # :nodoc:
|
|
98
|
+
R_TILEGX_IMM16_X1_HW0_LAST_TLS_GD = 87 # :nodoc:
|
|
99
|
+
R_TILEGX_IMM16_X0_HW1_LAST_TLS_GD = 88 # :nodoc:
|
|
100
|
+
R_TILEGX_IMM16_X1_HW1_LAST_TLS_GD = 89 # :nodoc:
|
|
101
|
+
R_TILEGX_IMM16_X0_HW0_TLS_IE = 92 # :nodoc:
|
|
102
|
+
R_TILEGX_IMM16_X1_HW0_TLS_IE = 93 # :nodoc:
|
|
103
|
+
R_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL = 94 # :nodoc:
|
|
104
|
+
R_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL = 95 # :nodoc:
|
|
105
|
+
R_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL = 96 # :nodoc:
|
|
106
|
+
R_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL = 97 # :nodoc:
|
|
107
|
+
R_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL = 98 # :nodoc:
|
|
108
|
+
R_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL = 99 # :nodoc:
|
|
109
|
+
R_TILEGX_IMM16_X0_HW0_LAST_TLS_IE = 100 # :nodoc:
|
|
110
|
+
R_TILEGX_IMM16_X1_HW0_LAST_TLS_IE = 101 # :nodoc:
|
|
111
|
+
R_TILEGX_IMM16_X0_HW1_LAST_TLS_IE = 102 # :nodoc:
|
|
112
|
+
R_TILEGX_IMM16_X1_HW1_LAST_TLS_IE = 103 # :nodoc:
|
|
113
|
+
R_TILEGX_TLS_DTPMOD64 = 106 # :nodoc:
|
|
114
|
+
R_TILEGX_TLS_DTPOFF64 = 107 # :nodoc:
|
|
115
|
+
R_TILEGX_TLS_TPOFF64 = 108 # :nodoc:
|
|
116
|
+
R_TILEGX_TLS_DTPMOD32 = 109 # :nodoc:
|
|
117
|
+
R_TILEGX_TLS_DTPOFF32 = 110 # :nodoc:
|
|
118
|
+
R_TILEGX_TLS_TPOFF32 = 111 # :nodoc:
|
|
119
|
+
R_TILEGX_TLS_GD_CALL = 112 # :nodoc:
|
|
120
|
+
R_TILEGX_IMM8_X0_TLS_GD_ADD = 113 # :nodoc:
|
|
121
|
+
R_TILEGX_IMM8_X1_TLS_GD_ADD = 114 # :nodoc:
|
|
122
|
+
R_TILEGX_IMM8_Y0_TLS_GD_ADD = 115 # :nodoc:
|
|
123
|
+
R_TILEGX_IMM8_Y1_TLS_GD_ADD = 116 # :nodoc:
|
|
124
|
+
R_TILEGX_TLS_IE_LOAD = 117 # :nodoc:
|
|
125
|
+
R_TILEGX_IMM8_X0_TLS_ADD = 118 # :nodoc:
|
|
126
|
+
R_TILEGX_IMM8_X1_TLS_ADD = 119 # :nodoc:
|
|
127
|
+
R_TILEGX_IMM8_Y0_TLS_ADD = 120 # :nodoc:
|
|
128
|
+
R_TILEGX_IMM8_Y1_TLS_ADD = 121 # :nodoc:
|
|
129
|
+
R_TILEGX_GNU_VTINHERIT = 128 # :nodoc:
|
|
130
|
+
R_TILEGX_GNU_VTENTRY = 129 # :nodoc:
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|