Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gcompat gcompat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • gcompatgcompat
  • Merge requests
  • !6

internal: add a wrapper for __libc_start_main for PowerPC(64(le))

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged q66 requested to merge q66/gcompat:ppc-fix into master Nov 10, 2019
  • Overview 0
  • Commits 1
  • Changes 1

This is necessary because the musl and glibc function signatures differ significantly. This code has been written after consulting this with musl upstream and coming to the conclusion that the only place where this can be fixed is gcompat in a hacky way like this, as fixing in either musl or glibc would involve an ABI breakage and generally wouldn't be worth it.

This should allow gcompat to work on all types of PowerPC (32/64/64le). I also successfully bootstrapped the Go compiler using official binaries and gcompat this way.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ppc-fix