| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License, version 2, as |
|---|
| 4 | | - * published by the Free Software Foundation. |
|---|
| 5 | 3 | * |
|---|
| 6 | 4 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation |
|---|
| 7 | 5 | */ |
|---|
| 8 | 6 | |
|---|
| 9 | | -#include "debug.h" |
|---|
| 7 | +#include "dso.h" |
|---|
| 10 | 8 | #include "symbol.h" |
|---|
| 11 | 9 | #include "map.h" |
|---|
| 12 | 10 | #include "probe-event.h" |
|---|
| 13 | 11 | #include "probe-file.h" |
|---|
| 14 | | - |
|---|
| 15 | | -#ifdef HAVE_LIBELF_SUPPORT |
|---|
| 16 | | -bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) |
|---|
| 17 | | -{ |
|---|
| 18 | | - return ehdr.e_type == ET_EXEC || |
|---|
| 19 | | - ehdr.e_type == ET_REL || |
|---|
| 20 | | - ehdr.e_type == ET_DYN; |
|---|
| 21 | | -} |
|---|
| 22 | | - |
|---|
| 23 | | -#endif |
|---|
| 24 | 12 | |
|---|
| 25 | 13 | int arch__choose_best_symbol(struct symbol *syma, |
|---|
| 26 | 14 | struct symbol *symb __maybe_unused) |
|---|