search for: _concatenate

Displaying 2 results from an estimated 2 matches for "_concatenate".

Did you mean: concatenate
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
...nd the __USER_LABEL_PREFIX__ has been predefined by clang-cl, but it is defined as nothing. That is why my prefix macro expands to be nothing. Do you know why the clang-cl predefines the __USER_LABEL_PREFIX__ as nothing? #ifndef __USER_LABEL_PREFIX__ #define __USER_LABEL_PREFIX__ _ #endif #define _CONCATENATE(a, b) __CONCATENATE(a, b) #define __CONCATENATE(a, b) a ## b #define ASM_PFX(name) _CONCATENATE (__USER_LABEL_PREFIX__, name) Thanks Steven > -----Original Message----- > From: Martin Storsjö [mailto:martin at martin.st] > Sent: Monday, February 18, 2019 3:29 PM > To: Shi, Steven &lt...
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
Hi Rui, Peter, You know I'm enabling the "clang-cl + lld-link" toolchain for Uefi firmware. I meet a problem that the lld-link fails to link 32bits assembly functions, but can link 64bits assembly functions successfully. I need your suggestion. Below is an example to show my problem in linux. The example has two only source files: main.c and foo.nasm. $ cat main.c void Foo (void);