Skip to content

Commit 29b3661

Browse files
Jim Wilsonaswaterman
authored andcommitted
Add DWARF register number info. (#86)
1 parent 1b1d178 commit 29b3661

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

riscv-elf.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* [Note Sections](#note-sections)
2222
* [Dynamic Table](#dynamic-table)
2323
* [Hash Table](#hash-table)
24+
4. [DWARF](#dwarf)
25+
* [Dwarf Register Numbers](#dwarf-register-numbers)
2426

2527
## Copyright and license information
2628

@@ -785,3 +787,16 @@ typedef struct
785787

786788
## <a name=hash-table></a>Hash Table
787789

790+
# <a name=dwarf></a>DWARF
791+
792+
Dwarf Register Numbers <a name=dwarf-register-numbers>
793+
-------------------------------------------------------------------------
794+
Dwarf Number | Register Name | Description
795+
--------------|---------------|-----------------------------------------
796+
0-31 | x0-x31 | Integer Registers
797+
32-63 | f0-f31 | Floating-point Registers
798+
64 | | Alternate Frame Return Column
799+
800+
The alternate frame return column is meant to be used when unwinding from
801+
signal handlers, and stores the address where the signal handler will return
802+
to.

0 commit comments

Comments
 (0)