]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libelf: Make __libelf_set_data_list_rdlock an internal_function.
authorMark Wielaard <mjw@redhat.com>
Wed, 18 Feb 2015 19:51:40 +0000 (20:51 +0100)
committerMark Wielaard <mjw@redhat.com>
Thu, 19 Feb 2015 21:21:46 +0000 (22:21 +0100)
__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 <ch3root@openwall.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
libelf/ChangeLog
libelf/libelfP.h

index 235b750b4c7afc2974c3e5cb9e7d942ba562c66e..5739c77d13cb45776bf479002643bda6b67c3d1e 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-18  Mark Wielaard  <mjw@redhat.com>
+
+       * libelfP.h (__libelf_set_data_list_rdlock): Make internal_function.
+
 2015-02-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * elf32_updatenull.c (__elfw2(LIBELFBITS,updatenull_wrlock)): Consider
index 0ad4071dc66a095e537807031af19e053a1038fb..3f4d654b7f34e82c6c393ccd7df395b1f6344c7b 100644 (file)
@@ -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,