1 #source: emit-relocs-23.s
2 #as: -mabi=ilp32
3 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld --defsym foo=0x12345678 -e0 --emit-relocs
4 #objdump: -dr
5 
6 .*: +file format .*
7 
8 
9 Disassembly of section \.text:
10 
11 .* <\.text>:
12  +10000:	728acf0d 	movk	w13, #0x5678
13 	+10000: R_AARCH64_P32_MOVW_PREL_G0_NC	foo
14  +10004:	52a24671 	mov	w17, #0x12330000            	// #305332224
15 	+10004: R_AARCH64_P32_MOVW_PREL_G1	foo
16