Skip to content

[RISCV] Large code model places integer/FP constant pool entries in .rodata and uses PC-relative accesses. #145080

Open
@topperc

Description

@topperc

There's no guarantee that .rodata is anywhere near .text in the large code model.

If I'm reading gcc's generated code right, they place constant pool entries the .text section for the large code model.

CC: @jrtc27 @kito-cheng @lenary @tclin914

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions