Skip to content

[ --noinhibit-exec] Fix diagnostic path for output section ALIGN - #1828

Open
Rachit Mehta (rachitmeht) wants to merge 1 commit into
qualcomm:mainfrom
rachitmeht:fix/noinhibit-create-output-section-1826
Open

Rachit Mehta (rachitmeht) wants to merge 1 commit into
qualcomm:mainfrom
rachitmeht:fix/noinhibit-create-output-section-1826

Conversation

@rachitmeht

Copy link
Copy Markdown
Contributor

Do not return immediately after reporting a non-power-of-2 ALIGN value for an output section when diagnostics allow linking to continue. This lets later diagnostics, such as assignOffsets() warnings, still be reported under --noinhibit-exec.

Add coverage for the normal fatal path and the --noinhibit-exec path that continues far enough to report non-allocatable section placement warnings.

Resolves #1826

Do not return immediately after reporting a non-power-of-2 ALIGN value for an output section when diagnostics allow linking to continue. This lets later diagnostics, such as assignOffsets() warnings, still be reported under --noinhibit-exec.

Add coverage for the normal fatal path and the --noinhibit-exec path that continues far enough to report non-allocatable section placement warnings.

Fixes qualcomm#1826

Signed-off-by: Rachit Mehta <rachmeht@qti.qualcomm.com>
@quic-seaswara
Shankar Easwaran (quic-seaswara) force-pushed the fix/noinhibit-create-output-section-1826 branch from eb57514 to e5e8f78 Compare September 14, 2026 22:21

This branch has not been deployed

No deployments
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.

[--noinhibit-exec] Fix Diagnostic path for createOutputSection()

3 participants