aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/code-model-medlow-weakref-01.d
blob: 28f8fe98b2a3897e0d8ebacdc692481c46b0332a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#source: code-model.s
#as: -march=rv64i -mabi=lp64 --defsym __medlow__=1 --defsym __undefweak__=1
#ld: -Tcode-model-01.ld -melf64lriscv --no-relax
#objdump: -d -Mno-aliases

.*:[ 	]+file format .*


Disassembly of section .text:

0+10000 <_start>:
[ 	]+[0-9a-f]+:[ 	]+[0-9a-f]+[ 	]+lui[ 	]+t0,0x0
[ 	]+[0-9a-f]+:[ 	]+[0-9a-f]+[ 	]+addi[ 	]+t0,t0,0 # 0 <.*>