Skip to content

Investigate/implement __LINKEDIT size reduction #18332

Closed

Description

@rolfbjarne

See dotnet/runtime#86707 for background information.

Basically we want to look into whether we can produce smaller binaries by passing the exported functions to the native linker (as opposed to stripping them away later).

The referenced issue only talks about this in the context of NativeAOT, but this might benefit us on all platforms, not just NativeAOT.

Activity

  1. added
    enhancement
    performance
    on May 25, 2023
  2. added this to the .NET 8 milestone on May 25, 2023
  3. ivanpovazan commented on May 25, 2023

    @ivanpovazan
    Member

    This was also noticed with Mono (to much smaller extent), where the __LINKEDIT Export Info takes up 238360 bytes of zeros with MAUI iOS template app: https://gist.github.com/ivanpovazan/97ec573836caca3f8347b8eafa2cad14

  4. added a commit that references this issue on Jun 12, 2023
    e308887
  5. ghost locked as resolved and limited conversation to collaborators on Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app-sizeenhancementperformance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions