Skip to content

Commit 093b80b

Browse files
author
Jim Wilson
authored
Merge pull request #83 from riscv/remove-asm-reloc-func-table
Remove assembler relocation function table.
2 parents f1ce16f + cc844ba commit 093b80b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

riscv-elf.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -436,23 +436,6 @@ Enum | ELF Reloc Type | Description | Details
436436
Nonstandard extensions are free to use relocation numbers 192-255 for any
437437
purpose. These relocations may conflict with other nonstandard extensions.
438438

439-
### Assembler Relocation Functions
440-
441-
The following table lists assembler functions for emitting relocatable symbol references:
442-
443-
Assembler Notation | Description | Instruction / Macro
444-
:---------------------- | :--------------- | :-------------------
445-
%hi(symbol) | Absolute (HI20) | lui
446-
%lo(symbol) | Absolute (LO12) | load, store, add
447-
%pcrel_hi(symbol) | PC-relative (HI20) | auipc
448-
%pcrel_lo(label) | PC-relative (LO12) | load, store, add
449-
%tls_ie_pcrel_hi(symbol) | PC-relative TLS IE GOT reference | la.tls.ie (auipc+{ld,lw})
450-
%tls_gd_pcrel_hi(symbol) | PC-relative TLS GD reference | la.tls.gd (auipc+addi)
451-
%tprel_hi(symbol) | TLS LE thread offset (U-Type) | auipc
452-
%tprel_lo(symbol) | TLS LE thread offset (I-Type,S-Type) | load, store
453-
%tprel_add(offset) | TLS LE thread offset (Add) | add
454-
455-
456439
### Address Calculation Symbols
457440

458441
The following table provides details on the variables used in address calculation:

0 commit comments

Comments
 (0)