|
|
{ | { |
Elf_Data *data = elf_getdata (outscn, NULL); | Elf_Data *data = elf_getdata (outscn, NULL); |
| |
inline void adjust_reloc (GElf_Xword *info) |
__gnu_inline void adjust_reloc (GElf_Xword *info) |
{ | { |
size_t ndx = GELF_R_SYM (*info); | size_t ndx = GELF_R_SYM (*info); |
if (ndx != STN_UNDEF) | if (ndx != STN_UNDEF) |
|
|
} | } |
| |
bool fail = false; | bool fail = false; |
inline void check_match (bool match, Elf_Scn *scn, const char *name) |
__gnu_inline void check_match (bool match, Elf_Scn *scn, const char *name) |
{ | { |
if (!match) | if (!match) |
{ | { |
|
|
} | } |
| |
/* Locate a matching unallocated section in SECTIONS. */ | /* Locate a matching unallocated section in SECTIONS. */ |
inline struct section *find_unalloc_section (const GElf_Shdr *shdr, |
__gnu_inline struct section *find_unalloc_section (const GElf_Shdr *shdr, |
const char *name) | const char *name) |
{ | { |
size_t l = nalloc, u = stripped_shnum - 1; | size_t l = nalloc, u = stripped_shnum - 1; |
|
|
handle_implicit_modules (const struct arg_info *info) | handle_implicit_modules (const struct arg_info *info) |
{ | { |
struct match_module_info mmi = { info->args, NULL, info->match_files }; | struct match_module_info mmi = { info->args, NULL, info->match_files }; |
inline ptrdiff_t next (ptrdiff_t offset) |
__gnu_inline ptrdiff_t next (ptrdiff_t offset) |
{ | { |
return dwfl_getmodules (info->dwfl, &match_module, &mmi, offset); | return dwfl_getmodules (info->dwfl, &match_module, &mmi, offset); |
} | } |