summaryrefslogtreecommitdiff
path: root/src/gnu.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2024-03-24 02:37:54 +0300
committerOxore <oxore@protonmail.com>2024-11-21 00:18:24 +0300
commit2294d3e82e986894c0645840d01ddd6b2cb08523 (patch)
tree4742e883898fd585ec50b0f40f159b08fd75b57e /src/gnu.h
parent55245a2c76baeaebb032613617e426df899e9ee7 (diff)
Move some GAS specific behavior to gnu.cpp
Diffstat (limited to 'src/gnu.h')
-rw-r--r--src/gnu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gnu.h b/src/gnu.h
new file mode 100644
index 0000000..882fc7c
--- /dev/null
+++ b/src/gnu.h
@@ -0,0 +1,13 @@
+#pragma once
+
+/* SPDX-License-Identifier: Unlicense
+ */
+
+#include "disasm.h"
+
+#include <cstdio>
+
+namespace Gnu {
+void EmitSymbolMetadata(FILE *, const char *indent, const Symbol &);
+void EmitSymbolSize(FILE *, const char *indent, const char *sym_name);
+}