Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

WIP: x86_64 rtems - Improve support for building shared dynamic libraries #27

Closed
wants to merge 4 commits into from

Conversation

AmaanC
Copy link
Contributor

@AmaanC AmaanC commented Jun 5, 2018

Things done:

  • Build crtbeginS and crtendS within GCC itself
  • Update specs to use these shared variants when appropriate
  • Pass -shared flag from GCC to linker
  • Use -fPIC by default for all code unless otherwise specified (this will let us build Newlib in a way that is compatible to build a shared library out of too)

@AmaanC
Copy link
Contributor Author

AmaanC commented Jun 5, 2018

Whoops, meant for the PR to be on my own fork for easier reviewing.

@AmaanC AmaanC closed this Jun 5, 2018
kraj pushed a commit to kraj/gcc that referenced this pull request Jun 8, 2022
This adds type inferencing and validation for arrays such as:

  let x: [i32, 5] = [1,2,3,4,5]
  ley y = [1,2,3];

It checks that each element is of a valid type and they line up correctly.
There needs to be some refactoring of the type resolution to handle the
array index expressions so this is a good save point for now.

Addresses: gcc-mirror#27 gcc-mirror#55
kraj pushed a commit to kraj/gcc that referenced this pull request Jun 8, 2022
Adds new TypeVisitor to resolve Types from the AST via Visitor Pattern, so
the element type can be extracted.

Addresses: gcc-mirror#27 gcc-mirror#55
kraj pushed a commit to kraj/gcc that referenced this pull request Jun 8, 2022
The index expression must be validated to ensure it is an integer.

Addresses: gcc-mirror#27 gcc-mirror#55
aurxenon pushed a commit to aurxenon/gcc that referenced this pull request Sep 11, 2023
[PATCH] Add support for `restrict` attribute on function parameters
NinaRanns pushed a commit to NinaRanns/gcc that referenced this pull request Oct 10, 2024
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