X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fxtensa%2Fpcrel.d;fp=gas%2Ftestsuite%2Fgas%2Fxtensa%2Fpcrel.d;h=0e5f757abe7ed2d9ce23d11e182d63107a8e5f03;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/xtensa/pcrel.d b/gas/testsuite/gas/xtensa/pcrel.d new file mode 100644 index 0000000..0e5f757 --- /dev/null +++ b/gas/testsuite/gas/xtensa/pcrel.d @@ -0,0 +1,19 @@ +#as: +#objdump: -r -j .literal -j .text +#name: pc-relative relocs + +.*: +file format .*xtensa.* + +RELOCATION RECORDS FOR \[\.literal\]: +OFFSET TYPE VALUE +00000000 R_XTENSA_32_PCREL foo + + +RELOCATION RECORDS FOR \[\.text\]: +OFFSET TYPE VALUE +00000003 R_XTENSA_SLOT0_OP \.literal +00000006 R_XTENSA_32_PCREL foo +0000000a R_XTENSA_32_PCREL \.text\+0x00000003 +0000000e R_XTENSA_32_PCREL \.text\+0x00000006 + +