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

Mingw-w64 support #8488

Closed
wants to merge 9 commits into from
Closed

Mingw-w64 support #8488

wants to merge 9 commits into from

Commits on Aug 26, 2013

  1. rt: Remove leading underscore on Win64

    Win64 convention does not use underscore.
    klutzy committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    5118ef6 View commit details
    Browse the repository at this point in the history
  2. rt: Add {get,record}_sp_limit on Win64

    Uses ArbitraryUserPointer area at gs:0x28.
    klutzy committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    a35bfa2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e41a81b View commit details
    Browse the repository at this point in the history
  4. std: Add Win64 types

    klutzy committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    37e99ae View commit details
    Browse the repository at this point in the history
  5. std: Bind write() on Win64

    klutzy committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    6aff4c6 View commit details
    Browse the repository at this point in the history
  6. std: Add Win64 support

    Some extern blobs are duplicated without "stdcall" abi,
    since Win64 does not use any calling convention.
    (Giving any abi to them causes llvm producing wrong bytecode.)
    klutzy committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    05b6a2f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ef20bd4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    63e53b8 View commit details
    Browse the repository at this point in the history
  9. Support Win64 context switching

    This patch saves and restores win64's nonvolatile registers.
    This patch also saves stack information of thread environment
    block (TEB), which is at %gs:0x08 and %gs:0x10.
    klutzy committed Aug 26, 2013
    5 Configuration menu
    Copy the full SHA
    442f4a5 View commit details
    Browse the repository at this point in the history