aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/CodeGen/Linking/RelocEntry.cs
diff options
context:
space:
mode:
authorTSR Berry <20988865+TSRBerry@users.noreply.github.com>2023-04-08 01:22:00 +0200
committerMary <thog@protonmail.com>2023-04-27 23:51:14 +0200
commitcee712105850ac3385cd0091a923438167433f9f (patch)
tree4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /ARMeilleure/CodeGen/Linking/RelocEntry.cs
parentcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff)
Move solution and projects to src
Diffstat (limited to 'ARMeilleure/CodeGen/Linking/RelocEntry.cs')
-rw-r--r--ARMeilleure/CodeGen/Linking/RelocEntry.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/ARMeilleure/CodeGen/Linking/RelocEntry.cs b/ARMeilleure/CodeGen/Linking/RelocEntry.cs
deleted file mode 100644
index a27bfded..00000000
--- a/ARMeilleure/CodeGen/Linking/RelocEntry.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-namespace ARMeilleure.CodeGen.Linking
-{
- /// <summary>
- /// Represents a relocation.
- /// </summary>
- readonly struct RelocEntry
- {
- public const int Stride = 13; // Bytes.
-
- /// <summary>
- /// Gets the position of the relocation.
- /// </summary>
- public int Position { get; }
-
- /// <summary>
- /// Gets the <see cref="Symbol"/> of the relocation.
- /// </summary>
- public Symbol Symbol { get; }
-
- /// <summary>
- /// Initializes a new instance of the <see cref="RelocEntry"/> struct with the specified position and
- /// <see cref="Symbol"/>.
- /// </summary>
- /// <param name="position">Position of relocation</param>
- /// <param name="symbol">Symbol of relocation</param>
- public RelocEntry(int position, Symbol symbol)
- {
- Position = position;
- Symbol = symbol;
- }
-
- /// <inheritdoc/>
- public override string ToString()
- {
- return $"({nameof(Position)} = {Position}, {nameof(Symbol)} = {Symbol})";
- }
- }
-} \ No newline at end of file