llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc
Yuta Saito aa0c571a5f [WebAssembly] Add new relocation for location relative data
This `R_WASM_MEMORY_ADDR_SELFREL_I32` relocation represents an offset
between its relocating address and the symbol address. It's very similar
to `R_X86_64_PC32` but restricted to be used for only data segments.

```
S + A - P
```

A: Represents the addend used to compute the value of the relocatable
field.
P: Represents the place of the storage unit being relocated.
S: Represents the value of the symbol whose index resides in the
relocation entry.

Proposal: https://github.com/WebAssembly/tool-conventions/issues/162

Differential Revision: https://reviews.llvm.org/D96659
2021-03-08 11:34:10 -08:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
WebAssemblyAsmBackend.cpp [MC] Default MCAsmBackend::mayNeedRelaxation() to false 2020-08-02 22:13:59 -07:00
WebAssemblyFixupKinds.h [WebAssembly] Adding 64-bit versions of all load & store ops. 2020-06-15 08:31:56 -07:00
WebAssemblyInstPrinter.cpp [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
WebAssemblyInstPrinter.h [WebAssemblly] Fix rethrow's argument computation 2021-02-13 03:43:15 -08:00
WebAssemblyMCAsmInfo.cpp [WebAssembly] Added R_WASM_FUNCTION_OFFSET_I64 for use with DWARF DW_AT_low_pc 2020-11-13 09:32:31 -08:00
WebAssemblyMCAsmInfo.h
WebAssemblyMCCodeEmitter.cpp [WebAssembly] Support single-floating-point immediate value 2021-02-04 18:05:06 -08:00
WebAssemblyMCTargetDesc.cpp [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
WebAssemblyMCTargetDesc.h Revert "[WebAssembly] call_indirect issues table number relocs" 2021-01-19 15:06:07 -08:00
WebAssemblyTargetStreamer.cpp [WebAssembly] Added .tabletype to asm and multiple table support in obj files 2020-10-13 07:52:23 -07:00
WebAssemblyTargetStreamer.h [llvm] Forward-declare formatted_raw_ostream (NFC) 2021-01-28 22:21:13 -08:00
WebAssemblyWasmObjectWriter.cpp [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00