Skip to content

Conversation

@dcpleung
Copy link
Member

The generic version of SECTION_VAR() is adding an extra space
when calling space before second argument (e.g.
SECTION_VAR(section, variable) => ".section. variable"
instead of ".section.variable") which would result in build
error. So remove the "##" in macro to fix this, and now it
will also behave the same as SECTION_FUNC().

Signed-off-by: Daniel Leung daniel.leung@intel.com

@github-actions github-actions bot added the area: API Changes to public APIs label Feb 24, 2021
The generic version of SECTION_VAR() is adding an extra space
when calling space before second argument (e.g.
SECTION_VAR(section, variable) => ".section. variable"
instead of ".section.variable") which would result in build
error. So remove the "##" in macro to fix this, and now it
will also behave the same as SECTION_FUNC().

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
@dcpleung dcpleung force-pushed the toolchain_fix_section_var_macro branch from 3e629ad to a1d58e0 Compare February 24, 2021 21:53
@dcpleung
Copy link
Member Author

Compliance is complaining about space before colon, which is needed in this case.

@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Apr 27, 2021
@dcpleung dcpleung added area: Toolchains Toolchains and removed Stale labels Apr 27, 2021
@dcpleung
Copy link
Member Author

Rolled in #34717

@dcpleung dcpleung closed this Apr 30, 2021
@dcpleung dcpleung deleted the toolchain_fix_section_var_macro branch May 5, 2021 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: API Changes to public APIs area: Toolchains Toolchains

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants