Skip to content

relaxable mov rd,#immx #6

@olajep

Description

@olajep

Currently, this:

.text
_start:
    mov r0, foo

.data
.align 3
foo:
.word 0x12345678

...fails with

(.text+0x0): relocation truncated to fit: R_EPIPHANY_16 against `no symbol'

It would be nice to have a relaxable mov that expanded (if needed) to:

    mov r0, %low(foo)
    movt ro,%high(foo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions