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

purge linker scripts of macro-based meta-language #3717

Closed
zephyrbot opened this issue Jun 14, 2017 · 0 comments
Closed

purge linker scripts of macro-based meta-language #3717

zephyrbot opened this issue Jun 14, 2017 · 0 comments
Assignees
Labels
area: Build System Enhancement Changes/Updates/Additions to existing features

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Jun 14, 2017

Reported by Andrew Boie:

Our linker scripts are a confusing read to someone used to standard GNU LD scripts.
We have all these macros in include/linker-tool-gcc and other places that are artifacts from a distant time when we were trying to support the oddball Diab compiler.

Go through all the linker scripts, expand all these macros to just standard LD syntax. If we need to keep any macros to support XIP do so where it makes sense.

We should also move the OUTPUT_FORMAT() declarations in linker-tool-gcc into the arch-specific linker scripts.

(Imported from Jira ZEP-2282)

@zephyrbot zephyrbot added area: Build System Enhancement Changes/Updates/Additions to existing features labels Sep 23, 2017
@galak galak added the Good first issue Good for a first time contributor to take label Sep 5, 2019
@nashif nashif removed the Good first issue Good for a first time contributor to take label Feb 14, 2020
@nashif nashif closed this as completed Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

3 participants