Skip to content

Conversation

@parth-07
Copy link
Contributor

@parth-07 parth-07 commented Jan 5, 2026

This commit fixes the re-evaluation of DEFINED(...) linker script expression. Previously, DEFINED(...) expression used to get re-evaluted in each layout pass. This lead to incorrect evaluated.

This commit fixes this my evaluating DEFINED(...) linker script node only once, and reusing the result for further evaluations.

Resolves #671

This commit fixes the re-evaluation of DEFINED(...) linker script
expression. Previously, DEFINED(...) expression used to get re-evaluted
in each layout pass. This lead to incorrect evaluated.

This commit fixes this my evaluating DEFINED(...) linker script node
only once, and reusing the result for further evaluations.

Resolves qualcomm#671

Signed-off-by: Parth Arora <partaror@qti.qualcomm.com>
@quic-seaswara quic-seaswara merged commit 6fd38a5 into qualcomm:main Jan 7, 2026
3 checks passed
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.

Incorrect layout due to reusing stale variable value in subsequent passes

2 participants