false, /* partial_inplace. */
0, /* src_mask */
0xffffffff, /* dst_mask */
- false, /* pcrel_offset */
+ true, /* pcrel_offset */
BFD_RELOC_LARCH_32_PCREL, /* bfd_reloc_code_real_type */
reloc_sign_bits, /* adjust_reloc_bits */
NULL), /* larch_reloc_type_name */
false, /* partial_inplace. */
0, /* src_mask */
0xffffffffffffffff, /* dst_mask */
- false, /* pcrel_offset */
+ true, /* pcrel_offset */
BFD_RELOC_LARCH_64_PCREL, /* bfd_reloc_code_real_type */
NULL, /* adjust_reloc_bits */
NULL), /* larch_reloc_type_name */
Augmentation data: .*
#...
[a-zA-Z0-9]+ [a-zA-Z0-9]+ [a-zA-Z0-9]+ FDE cie=0+ pc=[a-zA-Z0-9]+\.\.[a-zA-Z0-9]+
- DW_CFA_advance_loc: 4 to 0+20
+ DW_CFA_advance_loc: 4 to 0+4
DW_CFA_offset_extended_sf: r0 \(\$zero\) at cfa\+8
DW_CFA_offset_extended_sf: r1 \(\$ra\) at cfa\+16
DW_CFA_offset_extended_sf: r2 \(\$tp\) at cfa\+24
--- /dev/null
+#objdump: -Wf -d -M no-aliases
+#skip: loongarch32-*-*
+
+.*: file format .*
+
+Contents of the .eh_frame section:
+#...
+00000014 0000000000000020 00000018 FDE cie=00000000 pc=0000000000000000..0000000000000020
+ DW_CFA_advance_loc: 4 to 0000000000000004
+#...
+
+Disassembly of section .text:
+
+0+0 <_start>:
+ 0: 02ffc063 addi.d \$sp, \$sp, -16
+ 4: 29c02076 st.d \$fp, \$sp, 8
+ 8: 02c04076 addi.d \$fp, \$sp, 16
+ c: 0015000c or \$t0, \$zero, \$zero
+ 10: 00150184 or \$a0, \$t0, \$zero
+ 14: 28c02076 ld.d \$fp, \$sp, 8
+ 18: 02c04063 addi.d \$sp, \$sp, 16
+ 1c: 4c000020 jirl \$zero, \$ra, 0
--- /dev/null
+ .align 2
+ .globl _start
+ .type _start, @function
+_start:
+ .cfi_startproc
+ addi.d $sp,$sp,-16
+ .cfi_def_cfa_offset 16
+ st.d $fp,$sp,8
+ .cfi_offset 22, -8
+ addi.d $fp,$sp,16
+ .cfi_def_cfa 22, 0
+ or $t0,$zero,$zero
+ or $a0,$t0,$zero
+ ld.d $fp,$sp,8
+ .cfi_restore 22
+ addi.d $sp,$sp,16
+ .cfi_def_cfa_register 3
+ jr $ra
+ .cfi_endproc
+ .size _start, .-_start