summaryrefslogtreecommitdiff
path: root/0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-28 10:03:49 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-28 10:03:49 +0000
commit73127104a245052cd5cf29cdaaca3e5c32c70348 (patch)
tree8e28b63e478c43c252f18b49836dff7313affe54 /0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch
parent49d3feaf4665cdb07576fc1a2382a4d82a612d35 (diff)
automatic import of gccopeneuler24.03_LTS_SP1
Diffstat (limited to '0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch')
-rw-r--r--0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch b/0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch
new file mode 100644
index 0000000..4b0e6a5
--- /dev/null
+++ b/0094-BUGFIX-AutoBOLT-function-miss-bind-type.patch
@@ -0,0 +1,28 @@
+From 4861c3db991e947060de54a4d20c1a13747a6024 Mon Sep 17 00:00:00 2001
+From: zhenyu--zhao_admin <zhaozhenyu17@huawei.com>
+Date: Wed, 15 May 2024 14:41:45 +0800
+Subject: [PATCH] [BUGFIX] AutoBOLT function miss bind type
+
+---
+ gcc/final.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gcc/final.cc b/gcc/final.cc
+index af4e529bb..c440846f7 100644
+--- a/gcc/final.cc
++++ b/gcc/final.cc
+@@ -4272,9 +4272,9 @@ leaf_renumber_regs_insn (rtx in_rtx)
+
+ #define ASM_FDO_CALLER_FLAG ".fdo.caller "
+ #define ASM_FDO_CALLER_SIZE_FLAG ".fdo.caller.size "
+-#define ASM_FDO_CALLER_BIND_FLAG ".fdo.caller.bind"
++#define ASM_FDO_CALLER_BIND_FLAG ".fdo.caller.bind "
+
+-#define ASM_FDO_CALLEE_FLAG ".fdo.callee"
++#define ASM_FDO_CALLEE_FLAG ".fdo.callee "
+
+ /* Return the relative offset address of the start instruction of BB,
+ return -1 if it is empty instruction. */
+--
+2.33.0
+