Skip to content

MIPS32: add .gnu.attributes and .MIPS.abiflags sections to the output object #39677

@wzssyqa

Description

@wzssyqa
MIPS32 uses .gnu.attributes and .MIPS.abiflags to mark the ABI that
the object is using, and the kernel will set the correct FP mode for it.

Currrently we have no these 2 sections and thus since kernel will
treat the objects as FP32. To support FPXX and FP64 in future,
we should add support of these 2 sections.

More details about FP32/FPXX/FP64 are explained in:
    https://web.archive.org/web/20180828210612/https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions