2017-05-03 02:15:33 +08:00
|
|
|
# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s
|
|
|
|
|
|
|
|
call foo@GDPLT
|
|
|
|
# CHECK: R_HEX_GD_PLT_B22_PCREL
|
|
|
|
call ##foo@GDPLT
|
|
|
|
# CHECK: R_HEX_GD_PLT_B32_PCREL_X
|
2018-05-15 03:46:08 +08:00
|
|
|
# CHECK: R_HEX_GD_PLT_B22_PCREL_X
|
2017-05-03 02:15:33 +08:00
|
|
|
|
|
|
|
call foo@LDPLT
|
|
|
|
# CHECK: R_HEX_LD_PLT_B22_PCREL
|
|
|
|
call ##foo@LDPLT
|
|
|
|
# CHECK: R_HEX_LD_PLT_B32_PCREL_X
|
2018-05-15 03:46:08 +08:00
|
|
|
# CHECK: R_HEX_LD_PLT_B22_PCREL_X
|