Skip to content

Modern compiler/linking support#36

Open
bschnei wants to merge 3 commits into
MarvellEmbeddedProcessors:masterfrom
bschnei:c23
Open

Modern compiler/linking support#36
bschnei wants to merge 3 commits into
MarvellEmbeddedProcessors:masterfrom
bschnei:c23

Conversation

@bschnei
Copy link
Copy Markdown

@bschnei bschnei commented Apr 30, 2026

There are three changes here. One addresses the failure to build with ld shipped with binutils 2.44 and newer as noted here. One addresses a failure to build with the C23 standard which is the default with gcc 15. The last addresses a linker warning.

bschnei added 3 commits April 29, 2026 22:02
bool is a reserved keyword in C23 which means this typedef is a
compiler error when that standard is used to compile.
This eliminates the ld warning about missing .note.GNU-stack
and lets the linker know the generated object does not require
an executable stack.
The assembly instruction causes a linking error with
binutils 2.44+ due to this change:
https://sourceware.org/pipermail/binutils/2024-June/134923.html
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.

1 participant