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

GCC ASM label extension support #1657

Closed
guwirth opened this issue Jan 7, 2019 · 1 comment · Fixed by #1761
Closed

GCC ASM label extension support #1657

guwirth opened this issue Jan 7, 2019 · 1 comment · Fixed by #1761
Assignees
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Jan 7, 2019

Failing to parse the code with 1.2.1:

extern const char cert_start[] asm("_binary_firmware_pho_by_crt_start");
int func (int x, int y) asm ("MYFUNC");
int foo asm ("myfoo") = 2;
@guwirth guwirth added the bug label Jan 7, 2019
@guwirth
Copy link
Collaborator Author

guwirth commented Jan 7, 2019

Seems to be a GCC extension:
https://gcc.gnu.org/onlinedocs/gcc/Asm-Labels.html

@guwirth guwirth changed the title parser failure: extern const char var[] asm("xxx"); GCC ASM label extension support Jan 8, 2019
@guwirth guwirth added this to the 1.3.1 milestone Aug 18, 2019
@guwirth guwirth self-assigned this Sep 1, 2019
@guwirth guwirth mentioned this issue Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant