diff options
| author | Mark Wielaard <[email protected]> | 2015-02-18 20:51:40 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-02-19 22:21:46 +0100 |
| commit | 6c9f1ec5c5d5570ccd6979794b7cf5b4e3833809 (patch) | |
| tree | e2481d5115b9aa08ecd62098c157fe282043d2d3 /libelf | |
| parent | 2e09635f3e9245e4ea0a827dbe7e881c56328507 (diff) | |
libelf: Make __libelf_set_data_list_rdlock an internal_function.
__libelf_set_data_list_rdlock from elf_getdata.c is marked as an
internal_function in the implementation, but not in libelfP.h when it
is declared. Add internal_function to the declaration. This broke
the i686 build.
Reported-by: Alexander Cherepanov <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf')
| -rw-r--r-- | libelf/ChangeLog | 4 | ||||
| -rw-r--r-- | libelf/libelfP.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog index 235b750b..5739c77d 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2015-02-18 Mark Wielaard <[email protected]> + + * libelfP.h (__libelf_set_data_list_rdlock): Make internal_function. + 2015-02-07 Jan Kratochvil <[email protected]> * elf32_updatenull.c (__elfw2(LIBELFBITS,updatenull_wrlock)): Consider diff --git a/libelf/libelfP.h b/libelf/libelfP.h index 0ad4071d..3f4d654b 100644 --- a/libelf/libelfP.h +++ b/libelf/libelfP.h @@ -537,7 +537,7 @@ extern Elf_Data *__elf_rawdata_internal (Elf_Scn *__scn, Elf_Data *__data) raw data available. Might upgrade the ELF lock from a read to a write lock. If the lock is already a write lock set wrlocked. */ extern void __libelf_set_data_list_rdlock (Elf_Scn *scn, int wrlocked) - attribute_hidden; + internal_function; extern char *__elf_strptr_internal (Elf *__elf, size_t __index, size_t __offset) attribute_hidden; extern Elf_Data *__elf32_xlatetom_internal (Elf_Data *__dest, |
