Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions aaelf64/aaelf64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1240,14 +1240,17 @@ The following tables record single instruction relocations and relocations that

.. table:: GOT-relative data relocations

+------------+------------+--------------------+------------+-------------------------------------------------------------------------------------------------------------------------+
| ELF64 Code | ELF32 Code | Name | Operation | Comment |
+============+============+====================+============+=========================================================================================================================+
| 307 | \- | R\_<CLS>\_GOTREL64 | S+A-GOT | Write bits [63:0] of X at byte-aligned place P. This represents a 64-bit offset relative to the GOT. |
+------------+------------+--------------------+------------+-------------------------------------------------------------------------------------------------------------------------+
| 308 | \- | R\_<CLS>\_GOTREL32 | S+A-GOT | Write bits [31:0] of X at byte-aligned place P. This represents a 32-bit offset relative to GOT, treated as signed; |
| | | | | Check that -2\ :sup:`31` <= X < 2\ :sup:`31`. |
+------------+------------+--------------------+------------+-------------------------------------------------------------------------------------------------------------------------+
+------------+------------+----------------------+------------------+-------------------------------------------------------------------------------------------------------------------------+
| ELF64 Code | ELF32 Code | Name | Operation | Comment |
+============+============+======================+==================+=========================================================================================================================+
| 307 | \- | R\_<CLS>\_GOTREL64 | S+A-GOT | Write bits [63:0] of X at byte-aligned place P. This represents a 64-bit offset relative to the GOT. |
+------------+------------+----------------------+------------------+-------------------------------------------------------------------------------------------------------------------------+
| 308 | \- | R\_<CLS>\_GOTREL32 | S+A-GOT | Write bits [31:0] of X at byte-aligned place P. This represents a 32-bit offset relative to GOT, treated as signed; |
| | | | | Check that -2\ :sup:`31` <= X < 2\ :sup:`31`. |
+------------+------------+----------------------+------------------+-------------------------------------------------------------------------------------------------------------------------+
| 315 | \- | R\_<CLS>\_GOTPCREL32 | G(GDAT(S+A))- P | Write bits [31:0] of X at byte-aligned place P. This represents a 32-bit offset relative to GOT entry for an address, |
| | | | | treated as signed; Check that -2\ :sup:`31` <= X < 2\ :sup:`31`. |
+------------+------------+----------------------+------------------+-------------------------------------------------------------------------------------------------------------------------+

.. _GOT-relative instruction relocations:

Expand Down