1 // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | llvm-readobj -t | FileCheck %s
3 // Check that the appropriate symbols were created.
10 // CHECK: Name: $.str1
13 // CHECK: Name: $CPI0_0
16 // CHECK: Name: $CPI0_1
22 .section .mdebug.abi32,"",@progbits
23 .file "/home/espindola/llvm/llvm/test/MC/Mips/elf-relsym.ll"
24 .section .rodata.cst8,"aM",@progbits,8
27 .8byte 4612811918334230528 # double 2.5
29 .8byte 4616752568008179712 # double 4.5
45 addiu $2, $2, %lo(_gp_disp)
47 lw $2, %got($.str)($1)
48 addiu $2, $2, %lo($.str)
51 lw $2, %got($.str1)($1)
52 addiu $2, $2, %lo($.str1)
55 lw $2, %got($CPI0_0)($1)
56 ldc1 $f0, %lo($CPI0_0)($2)
59 lw $3, %got($CPI0_1)($1)
60 ldc1 $f4, %lo($CPI0_1)($3)
73 .size foo1, ($tmp0)-foo1
75 .type $.str,@object # @.str
76 .section .rodata.str1.1,"aMS",@progbits,1
81 .type $.str1,@object # @.str1