tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] '.' as code position in asm_expr_unary()


From: Sergey Korshunoff
Subject: [Tinycc-devel] '.' as code position in asm_expr_unary()
Date: Mon, 18 Apr 2016 18:36:36 +0300

Hi!
I'm trying to implement .rept macro for the following code:

#define NR_syscalls 270
.globl sys_call_table
sys_call_table:
<------><------>.long 0
        .rept NR_syscalls-(.-sys_call_table)/4
<------><------>.long 0
        .endr

It looks like '.' is not a label (current code position) for the
asm_expr_unary()
and the above code leads to the
   error: invalid operation with label

Any ideas?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]