Skip to content

Cranelift: cranelift-object: unimplemented relocation Aarch64AdrPrelPgHi21 on aarch64-apple-darwin #12818

@zengyun261

Description

@zengyun261

For the cranelift-object target on aarch64-apple-darwin, if module.declare_anonymous_data or declare_data is called without using Linkage::Preemptible, an Aarch64AdrPrelPgHi21 instruction is generated, causing a relocation error: “not implemented: Aarch64AdrPrelPgHi21”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingcraneliftIssues related to the Cranelift code generatorcranelift:area:aarch64Issues related to AArch64 backend.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions