
https://bugs.gentoo.org/794601 https://sourceware.org/pipermail/elfutils-devel/2021q2/003862.html Encountered while building within a Spack environment.
13 lines
361 B
Diff
13 lines
361 B
Diff
https://bugs.gentoo.org/794601
|
|
--- a/src/elflint.c
|
|
+++ b/src/elflint.c
|
|
@@ -3434,7 +3434,7 @@ buffer_pos (Elf_Data *data, const unsigned char *p)
|
|
return p - (const unsigned char *) data->d_buf;
|
|
}
|
|
|
|
-inline size_t
|
|
+static inline size_t
|
|
buffer_left (Elf_Data *data, const unsigned char *p)
|
|
{
|
|
return (const unsigned char *) data->d_buf + data->d_size - p;
|