diff options
| author | Mark Wielaard <[email protected]> | 2017-08-03 12:37:37 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-08-03 14:21:08 +0200 |
| commit | 766df1e15c1e8f8bc9890e7538eb2ef15a6516dc (patch) | |
| tree | 45ae9d0ac821a15fbb9336909671e18efc15f6e8 /libebl/eblopenbackend.c | |
| parent | 13c3e00ba629586ae42c316ae4ed6c3f04282a82 (diff) | |
| parent | 54ba4ce2973113d8f4315d4fc90e16a9b4476ea6 (diff) | |
Merge tag 'elfutils-0.170' into mjw/RH-DTSdts-0.170
elfutils 0.170 release
Conflicts:
libcpu/Makefile.am
libdw/Makefile.am
tests/Makefile.am
Diffstat (limited to 'libebl/eblopenbackend.c')
| -rw-r--r-- | libebl/eblopenbackend.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c index 8630053e..1728115c 100644 --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@ -1,5 +1,5 @@ /* Generate ELF backend handle. - Copyright (C) 2000-2016 Red Hat, Inc. + Copyright (C) 2000-2017 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -192,6 +192,7 @@ static bool default_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr, const GElf_Sym *sym, const char *name, const GElf_Shdr *destshdr); +static bool default_data_marker_symbol (const GElf_Sym *sym, const char *sname); static bool default_check_st_other_bits (unsigned char st_other); static bool default_check_special_section (Ebl *, int, const GElf_Shdr *, const char *); @@ -243,6 +244,7 @@ fill_defaults (Ebl *result) result->none_reloc_p = default_none_reloc_p; result->relative_reloc_p = default_relative_reloc_p; result->check_special_symbol = default_check_special_symbol; + result->data_marker_symbol = default_data_marker_symbol; result->check_st_other_bits = default_check_st_other_bits; result->bss_plt_p = default_bss_plt_p; result->return_value_location = default_return_value_location; @@ -648,6 +650,13 @@ default_check_special_symbol (Elf *elf __attribute__ ((unused)), } static bool +default_data_marker_symbol (const GElf_Sym *sym __attribute__ ((unused)), + const char *sname __attribute__ ((unused))) +{ + return false; +} + +static bool default_check_st_other_bits (unsigned char st_other __attribute__ ((unused))) { return false; |
