aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Loaders/ElfRel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Loaders/ElfRel.cs')
-rw-r--r--Ryujinx/Loaders/ElfRel.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx/Loaders/ElfRel.cs b/Ryujinx/Loaders/ElfRel.cs
new file mode 100644
index 00000000..8b691d99
--- /dev/null
+++ b/Ryujinx/Loaders/ElfRel.cs
@@ -0,0 +1,19 @@
+namespace Ryujinx.Loaders
+{
+ struct ElfRel
+ {
+ public long Offset { get; private set; }
+ public long Addend { get; private set; }
+
+ public ElfSym Symbol { get; private set; }
+ public ElfRelType Type { get; private set; }
+
+ public ElfRel(long Offset, long Addend, ElfSym Symbol, ElfRelType Type)
+ {
+ this.Offset = Offset;
+ this.Addend = Addend;
+ this.Symbol = Symbol;
+ this.Type = Type;
+ }
+ }
+} \ No newline at end of file