ALT Linux repos
S: | 0.189.0.46.27a8-alt1 |
5.0: | 0.137-alt2 |
4.1: | 0.131-alt1 |
4.0: | 0.126-alt1 |
3.0: | 0.108-alt3 |
+backports: | 0.115-alt0.M30.1 |
Other repositories
Upstream: | 0.131 |
Group :: Development/C
RPM: elfutils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: elfutils-rh-portability.patch
Download
Download
--- elfutils/src/findtextrel.c
+++ elfutils/src/findtextrel.c
@@ -476,7 +476,11 @@ ptrcompare (const void *p1, const void *
static void
-check_rel (size_t nsegments, struct segments segments[nsegments],
+check_rel (size_t nsegments, struct segments segments[
+#if __GNUC__ >= 4
+ nsegments
+#endif
+ ],
GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
const char *fname, bool more_than_one, void **knownsrcs)
{