Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix LD Script language data #1028

Merged
merged 2 commits into from
Sep 24, 2023
Merged

Fix LD Script language data #1028

merged 2 commits into from
Sep 24, 2023

Conversation

rhysd
Copy link
Contributor

@rhysd rhysd commented Sep 23, 2023

This PR fixes the following points for linker scripts support:

  • .ld file extension is very common (e.g. Linux kernel).
  • // line comment is not allowed for linker scripts. The specification only mentions /* and */ as comments. And I confirmed ld actually causes an error as follows.
    error: kernel.ld:4: unknown directive: //
    >>> // hoge
    >>> ^
    

@XAMPPRocky
Copy link
Owner

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit c8e4d07 into XAMPPRocky:master Sep 24, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants