Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template.S: fix to build on architecture with non-empty __USER_LABEL_… #26

Conversation

tpetazzoni
Copy link
Contributor

…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

…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>
@apopple
Copy link
Collaborator

apopple commented Feb 21, 2018

Thanks for the suggestion @tpetazzoni, @shenki reworked this though and I believe it was fixed by 8275ca3 (template.S: fix to build on architecture with non-empty USER_LABEL_PREFIX)

@apopple apopple closed this Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants