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