https://git.reactos.org/?p=reactos.git;a=commitdiff;h=905bcf617f62428966280729c5cc64f9e9023009

commit 905bcf617f62428966280729c5cc64f9e9023009
Author:     Jérôme Gardou <jerome.gar...@reactos.org>
AuthorDate: Sat Jan 19 11:19:00 2019 +0100
Commit:     Jérôme Gardou <zefk...@users.noreply.github.com>
CommitDate: Sat Jan 19 14:23:54 2019 +0100

    [SDK] Provide .const macro for gas
---
 sdk/include/asm/asm.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sdk/include/asm/asm.inc b/sdk/include/asm/asm.inc
index e94a078445..f8bc9126e1 100644
--- a/sdk/include/asm/asm.inc
+++ b/sdk/include/asm/asm.inc
@@ -313,6 +313,10 @@ ENDM
     .text
 .endm
 
+.macro .const
+    .section .rdata
+.endm
+
 /* check http://msdn.microsoft.com/en-us/library/9c9k076y%28VS.80%29.aspx
    and http://msdn.microsoft.com/en-us/library/ms679352%28VS.85%29.aspx */
 .macro FPO cdwLocals, cdwParams, cbProlog, cbRegs, fUseBP, cbFrame

Reply via email to