View | Details | Raw Unified | Return to bug 238538
Collapse All | Expand All

(-)devel/elfutils/files/patch-git_be8080bdd746 (+32 lines)
Line 0 Link Here
1
diff --git libelf/elf32_fsize.c libelf/elf32_fsize.c
2
index fddae91e..16919daa 100644
3
--- libelf/elf32_fsize.c
4
+++ libelf/elf32_fsize.c
5
@@ -64,5 +64,3 @@ elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version)
6
 	  * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
7
 #endif
8
 }
9
-#define local_strong_alias(n1, n2) strong_alias (n1, n2)
10
-local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
11
diff --git libelf/libelfP.h libelf/libelfP.h
12
index ed216c8c..c6bb992d 100644
13
--- libelf/libelfP.h
14
+++ libelf/libelfP.h
15
@@ -454,17 +454,6 @@ extern const uint_fast8_t __libelf_type_aligns[EV_NUM - 1][ELFCLASSNUM - 1][ELF_
16
    be ELF_T_BYTE.  */
17
 extern Elf_Type __libelf_data_type (Elf *elf, int sh_type) internal_function;
18
 
19
-/* The libelf API does not have such a function but it is still useful.
20
-   Get the memory size for the given type.
21
-
22
-   These functions cannot be marked internal since they are aliases
23
-   of the export elfXX_fsize functions.*/
24
-extern size_t __elf32_msize (Elf_Type __type, size_t __count,
25
-			     unsigned int __version);
26
-extern size_t __elf64_msize (Elf_Type __type, size_t __count,
27
-			     unsigned int __version);
28
-
29
-
30
 /* Create Elf descriptor from memory image.  */
31
 extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address,
32
 				       off_t offset, size_t maxsize,

Return to bug 238538