tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] pp bug


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] pp bug
Date: Sun, 10 May 2015 11:51:21 +0300

Hi!
One more pp probem (test.S). gcc compiles this test and tcc fails.

#define __ALIGN .align 4,0x90
#define __ALIGN_STR ".align 4,0x90"

#define ALIGN __ALIGN
#define ALIGN_STR __ALIGN_STR

#define ENTRY(name) \
  .globl SYMBOL_NAME(name); \
  ALIGN; \
  SYMBOL_NAME_LABEL(name)

#define SYMBOL_NAME(X) X
#define SYMBOL_NAME_LABEL(X) X##:

ENTRY(stack_start)
    .long SYMBOL_NAME(init_task_union)+8192



reply via email to

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