aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/Loaders/ElfRel.cs
blob: 8db274524d6b658f13b26a58d245c20f0e7c434f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Ryujinx.Core.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;
        }
    }
}