Skip to content

Commit

Permalink
Merge pull request #368 from lbmeng/plt
Browse files Browse the repository at this point in the history
Use "Procedure Linkage Table" for PLT
  • Loading branch information
kito-cheng authored Mar 14, 2023
2 parents 87f4a72 + 59cbb69 commit 3d9938a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This specification uses the following terms and abbreviations:
| psABI | Processor-Specific ABI
| DWARF | Debugging With Arbitrary Record Formats
| GOT | Global Offset Table
| PLT | Program Linkage Table
| PLT | Procedure Linkage Table
| PC | Program Counter
| TLS | Thread-Local Storage
| NTBS | Null-Terminated Byte String
Expand Down
6 changes: 3 additions & 3 deletions riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,11 @@ directly, as can be done in static code, addresses are loaded from the GOT.
This allows runtime binding to external objects and functions at the expense of
a slightly higher runtime overhead for access to extern objects and functions.

==== Program Linkage Table
==== Procedure Linkage Table

The PLT (Program Linkage Table) exists to allow function calls between
The PLT (Procedure Linkage Table) exists to allow function calls between
dynamically linked shared objects. Each dynamic object has its own
GOT (Global Offset Table) and PLT (Program Linkage Table).
GOT (Global Offset Table) and PLT (Procedure Linkage Table).

The first entry of a shared object PLT is a special entry that calls
`_dl_runtime_resolve` to resolve the GOT offset for the called function.
Expand Down

0 comments on commit 3d9938a

Please sign in to comment.