Skip to content

arc: Add -mtp-regno=26 to CFLAGS #595

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

Merged

Conversation

stephanosio
Copy link
Member

@stephanosio stephanosio commented Nov 17, 2022

Make sure everything is built with the correct TLS configuration.

Signed-off-by: Keith Packard [email protected]
Signed-off-by: Stephanos Ioannidis [email protected]


From zephyrproject-rtos/zephyr#51910 (comment):

Drop zephyrproject-rtos/gcc#17 PR. As we can do it without changes in GCC by simple toolchain configuration tweak - let's do it that way. We prefer to not have extra patches for GCC for ARC in Zephyr GCC fork which we don't upstream to GCC.

As per the above, this PR takes the previous patch adding -mtp-regno=26 to the ARC toolchain configurations from #580 so that we have something that works for the SDK 0.15.2 release.

Note that this is a temporary solution until #588 or a more complete solution described in zephyrproject-rtos/zephyr#51910 (comment) is implemented.

Make sure everything is built with the correct TLS configuration.

Signed-off-by: Keith Packard <[email protected]>
Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio added the area: GCC Issues related to GCC (GNU Compiler Collection) label Nov 17, 2022
@stephanosio stephanosio added this to the 0.15.2 milestone Nov 17, 2022
@stephanosio
Copy link
Member Author

FYI @keith-packard @evgeniy-paltsev

@stephanosio stephanosio merged commit 2d678bf into zephyrproject-rtos:main Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: GCC Issues related to GCC (GNU Compiler Collection)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants