-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathextern_asm_hidden.patch
More file actions
84 lines (83 loc) · 2.09 KB
/
extern_asm_hidden.patch
File metadata and controls
84 lines (83 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
diff --git a/common_loongarch64.h b/common_loongarch64.h
index 6e96984f6..f0c925132 100644
--- a/common_loongarch64.h
+++ b/common_loongarch64.h
@@ -270,6 +270,7 @@ static inline int get_cpu_model(char *model_name) {
.text ;\
.align 5 ;\
.globl REALNAME ;\
+ .hidden REALNAME ;\
.type REALNAME, @function ;\
REALNAME: ;\
diff --git a/common_mips64.h b/common_mips64.h
index c7eb212df..2f4640323 100644
--- a/common_mips64.h
+++ b/common_mips64.h
@@ -210,6 +210,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
.set ASSEMBLER_ARCH ;\
.align 5 ;\
.globl REALNAME ;\
+ .hidden REALNAME ;\
.ent REALNAME ;\
.type REALNAME, @function ;\
REALNAME: ;\
diff --git a/common_power.h b/common_power.h
index ded76ad51..1bf964528 100644
--- a/common_power.h
+++ b/common_power.h
@@ -535,6 +535,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
.section .text;\
.align 6;\
.globl REALNAME;\
+ .hidden REALNAME ;\
.type REALNAME, @function;\
REALNAME:
#define EPILOGUE .size REALNAME, .-REALNAME
@@ -544,6 +545,7 @@ REALNAME:
.section .text;\
.align 6;\
.globl REALNAME;\
+ .hidden REALNAME ;\
.type REALNAME, @function;\
REALNAME:
#define EPILOGUE .size REALNAME, .-REALNAME
@@ -552,6 +554,7 @@ REALNAME:
.section .text;\
.align 5;\
.globl REALNAME;\
+ .hidden REALNAME ;\
.section ".opd","aw";\
.align 3;\
REALNAME:;\
@@ -560,6 +563,7 @@ REALNAME:;\
.size REALNAME, 24;\
.type .REALNAME, @function;\
.globl .REALNAME;\
+ .hidden .REALNAME ;\
.REALNAME:
#define EPILOGUE \
.long 0 ; \
diff --git a/common_x86.h b/common_x86.h
index 65fb9a460..12c854df4 100644
--- a/common_x86.h
+++ b/common_x86.h
@@ -339,6 +339,7 @@ REALNAME:
.text; \
.align 16; \
.globl REALNAME ;\
+ .hidden REALNAME ;\
.type REALNAME, @function; \
REALNAME: \
_CET_ENDBR
diff --git a/common_x86_64.h b/common_x86_64.h
index 143e188a7..fff5eefbc 100644
--- a/common_x86_64.h
+++ b/common_x86_64.h
@@ -454,6 +454,7 @@ REALNAME:
.text; \
.align 512; \
.globl REALNAME ;\
+ .hidden REALNAME ;\
.type REALNAME, @function; \
REALNAME: \
_CET_ENDBR