Skip to content

lld fails to handle predicated add instructions w/GOT_16_X relocation #111876

@androm3da

Description

@androm3da
$ echo 'if (p0) r0 = add(r0,##bar@GOT)' | llvm-mc -triple=hexagon -filetype=obj -o out.o
$ ld.lld -shared out.o -o out.so
ld.lld: error: unrecognized instruction for 16_X type: 0x7400C000

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions