1 Star 0 Fork 13

jeremiazhao/binutils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Re-LoongArch-gas-Adjust-DWARF-CIE-alignment-factors.patch 3.41 KB
一键复制 编辑 原始数据 按行查看 历史
油屋 提交于 2024-11-07 15:00 . sync from upstream
From 2279b12faf8e02e4c3123435008a79ad615781e5 Mon Sep 17 00:00:00 2001
From: Alan Modra <[email protected]>
Date: Thu, 23 May 2024 14:51:31 +0930
Subject: [PATCH 087/123] Re: LoongArch: gas: Adjust DWARF CIE alignment
factors
Adjust the gas testsuite to suit commit de203ed568f6.
* testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.d:
Expect data alignment of -8. Tidy.
---
.../relax-cfi-fde-DW_CFA_advance_loc.d | 44 +++++++++----------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/gas/testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.d b/gas/testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.d
index d685bd86..6da53b43 100644
--- a/gas/testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.d
+++ b/gas/testsuite/gas/loongarch/relax-cfi-fde-DW_CFA_advance_loc.d
@@ -5,50 +5,50 @@
.*:[ ]+file format .*
-Disassembly of section .eh_frame:
+Disassembly of section \.eh_frame:
-[ ]*0000000000000000 <.eh_frame>:
-[ ]+0:[ ]+00000014[ ]+.word[ ]+[ ]+0x00000014
-[ ]+4:[ ]+00000000[ ]+.word[ ]+[ ]+0x00000000
-[ ]+8:[ ]+00527a01[ ]+.word[ ]+[ ]+0x00527a01
-[ ]+c:[ ]+01017c01[ ]+fadd.d[ ]+\$fa1, \$fa0, \$fs7
-[ ]+10:[ ]+0c030d1b[ ]+.word[ ]+[ ]+0x0c030d1b
-[ ]+14:[ ]+00000016[ ]+.word[ ]+[ ]+0x00000016
-[ ]+18:[ ]+0000003c[ ]+.word[ ]+[ ]+0x0000003c
-[ ]+1c:[ ]+0000001c[ ]+.word[ ]+[ ]+0x0000001c
+[ ]*0000000000000000 <\.eh_frame>:
+[ ]+0:[ ]+00000014[ ].*
+[ ]+4:[ ]+00000000[ ].*
+[ ]+8:[ ]+00527a01[ ].*
+[ ]+c:[ ]+01017801[ ].*
+[ ]+10:[ ]+0c030d1b[ ].*
+[ ]+14:[ ]+00000016[ ].*
+[ ]+18:[ ]+0000003c[ ].*
+[ ]+1c:[ ]+0000001c[ ].*
[ ]+...
[ ]+20: R_LARCH_32_PCREL[ ]+L0\^A
[ ]+24: R_LARCH_ADD32[ ]+L0\^A
[ ]+24: R_LARCH_SUB32[ ]+L0\^A
-[ ]+28:[ ]+0cd64000[ ]+.word[ ]+[ ]+0x0cd64000
+[ ]+28:[ ]+0cd64000[ ].*
[ ]+29: R_LARCH_ADD6[ ]+L0\^A
[ ]+29: R_LARCH_SUB6[ ]+L0\^A
-[ ]+2c:[ ]+d6400016[ ]+.word[ ]+[ ]+0xd6400016
+[ ]+2c:[ ]+d6400016[ ].*
[ ]+2e: R_LARCH_ADD6[ ]+L0\^A
[ ]+2e: R_LARCH_SUB6[ ]+L0\^A
-[ ]+30:[ ]+4000160c[ ]+beqz[ ]+\$t4, 3145748[ ]+# 300044 <L0\^A\+0x2ffff4>
+[ ]+30:[ ]+4000160c[ ].*
[ ]+33: R_LARCH_ADD6[ ]+L0\^A
[ ]+33: R_LARCH_SUB6[ ]+L0\^A
-[ ]+34:[ ]+00160cd6[ ]+orn[ ]+\$fp, \$a2, \$sp
-[ ]+38:[ ]+160cd640[ ]+lu32i.d[ ]+\$zero, 26290
+[ ]+34:[ ]+00160cd6[ ].*
+[ ]+38:[ ]+160cd640[ ].*
[ ]+38: R_LARCH_ADD6[ ]+L0\^A
[ ]+38: R_LARCH_SUB6[ ]+L0\^A
-[ ]+3c:[ ]+0cd64000[ ]+.word[ ]+[ ]+0x0cd64000
+[ ]+3c:[ ]+0cd64000[ ].*
[ ]+3d: R_LARCH_ADD6[ ]+L0\^A
[ ]+3d: R_LARCH_SUB6[ ]+L0\^A
-[ ]+40:[ ]+d6400016[ ]+.word[ ]+[ ]+0xd6400016
+[ ]+40:[ ]+d6400016[ ].*
[ ]+42: R_LARCH_ADD6[ ]+L0\^A
[ ]+42: R_LARCH_SUB6[ ]+L0\^A
-[ ]+44:[ ]+4000160c[ ]+beqz[ ]+\$t4, 3145748[ ]+# 300058 <L0\^A\+0x300008>
+[ ]+44:[ ]+4000160c[ ].*
[ ]+47: R_LARCH_ADD6[ ]+L0\^A
[ ]+47: R_LARCH_SUB6[ ]+L0\^A
-[ ]+48:[ ]+00160cd6[ ]+orn[ ]+\$fp, \$a2, \$sp
-[ ]+4c:[ ]+160cd640[ ]+lu32i.d[ ]+\$zero, 26290
+[ ]+48:[ ]+00160cd6[ ].*
+[ ]+4c:[ ]+160cd640[ ].*
[ ]+4c: R_LARCH_ADD6[ ]+L0\^A
[ ]+4c: R_LARCH_SUB6[ ]+L0\^A
-[ ]+50:[ ]+0cd64000[ ]+.word[ ]+[ ]+0x0cd64000
+[ ]+50:[ ]+0cd64000[ ].*
[ ]+51: R_LARCH_ADD6[ ]+L0\^A
[ ]+51: R_LARCH_SUB6[ ]+L0\^A
-[ ]+54:[ ]+d6400016[ ]+.word[ ]+[ ]+0xd6400016
+[ ]+54:[ ]+d6400016[ ].*
[ ]+56: R_LARCH_ADD6[ ]+L0\^A
[ ]+56: R_LARCH_SUB6[ ]+L0\^A
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shouhuanxiaoji/binutils.git
[email protected]:shouhuanxiaoji/binutils.git
shouhuanxiaoji
binutils
binutils
master

搜索帮助