X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fmips%2Felf-rel13-mips16.d;fp=gas%2Ftestsuite%2Fgas%2Fmips%2Felf-rel13-mips16.d;h=aa404ab4c194ff99b3376164df71f20e2eaa8b2e;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/mips/elf-rel13-mips16.d b/gas/testsuite/gas/mips/elf-rel13-mips16.d new file mode 100644 index 0000000..aa404ab --- /dev/null +++ b/gas/testsuite/gas/mips/elf-rel13-mips16.d @@ -0,0 +1,17 @@ +#as: -march=mips2 -mabi=32 -KPIC +#readelf: --relocs +#name: MIPS ELF reloc 13 (MIPS16 version) + +Relocation section '\.rel\.text' at offset .* contains 9 entries: + *Offset * Info * Type * Sym\.Value * Sym\. Name +0+0002 * 0+..66 * R_MIPS16_GOT16 * 0+0000 * \.data +0+0016 * 0+..69 * R_MIPS16_LO16 * 0+0000 * \.data +0+0012 * 0+..66 * R_MIPS16_GOT16 * 0+0000 * \.data +0+001a * 0+..69 * R_MIPS16_LO16 * 0+0000 * \.data +# The next two lines could be in either order. +0+000e * 0+..66 * R_MIPS16_GOT16 * 0+0000 * \.rodata +0+000a * 0+..66 * R_MIPS16_GOT16 * 0+0000 * \.rodata +0+001e * 0+..69 * R_MIPS16_LO16 * 0+0000 * \.rodata +0+0006 * 0+..66 * R_MIPS16_GOT16 * 0+0000 * \.bss +0+0022 * 0+..69 * R_MIPS16_LO16 * 0+0000 * \.bss +#pass