File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tools/perf/arch/powerpc/util Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,16 @@ bool elf__needs_adjust_symbols(GElf_Ehdr ehdr)
22
22
23
23
#endif
24
24
25
- #if !defined(_CALL_ELF ) || _CALL_ELF != 2
26
25
int arch__choose_best_symbol (struct symbol * syma ,
27
26
struct symbol * symb __maybe_unused )
28
27
{
29
28
char * sym = syma -> name ;
30
29
30
+ #if !defined(_CALL_ELF ) || _CALL_ELF != 2
31
31
/* Skip over any initial dot */
32
32
if (* sym == '.' )
33
33
sym ++ ;
34
+ #endif
34
35
35
36
/* Avoid "SyS" kernel syscall aliases */
36
37
if (strlen (sym ) >= 3 && !strncmp (sym , "SyS" , 3 ))
@@ -41,6 +42,7 @@ int arch__choose_best_symbol(struct symbol *syma,
41
42
return SYMBOL_A ;
42
43
}
43
44
45
+ #if !defined(_CALL_ELF ) || _CALL_ELF != 2
44
46
/* Allow matching against dot variants */
45
47
int arch__compare_symbol_names (const char * namea , const char * nameb )
46
48
{
You can’t perform that action at this time.
0 commit comments