Closed tpetazzoni closed 6 years ago
…PREFIX__
Blackfin has a non-empty USER_LABEL_PREFIX, which means that a symbol called "foo" in C must be named "_foo" in assembler.
Interestingly, it seems like "$(CC) -xassembler - -c" doesn't pass the input source file through the C preprocessor, so we do this explicitly.
Signed-off-by: Thomas Petazzoni thomas.petazzoni@free-electrons.com
Thanks for the suggestion @tpetazzoni, @shenki reworked this though and I believe it was fixed by 8275ca370476a3 (template.S: fix to build on architecture with non-empty USER_LABEL_PREFIX)
…PREFIX__
Blackfin has a non-empty USER_LABEL_PREFIX, which means that a symbol called "foo" in C must be named "_foo" in assembler.
Interestingly, it seems like "$(CC) -xassembler - -c" doesn't pass the input source file through the C preprocessor, so we do this explicitly.
Signed-off-by: Thomas Petazzoni thomas.petazzoni@free-electrons.com