diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h --- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h.elfutils-werror 2008-02-05 16:47:35.000000000 -0500 +++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h 2008-02-05 16:48:06.000000000 -0500 @@ -1087,19 +1087,5 @@ extern bool dynamically_linked_p (void); /* Checked whether the symbol is undefined and referenced from a DSO. */ extern bool linked_from_dso_p (struct scninfo *scninfo, size_t symidx); -extern inline bool -linked_from_dso_p (struct scninfo *scninfo, size_t symidx) -{ - struct usedfiles *file = scninfo->fileinfo; - - /* If this symbol is not undefined in this file it cannot come from - a DSO. */ - if (symidx < file->nlocalsymbols) - return false; - - struct symbol *sym = file->symref[symidx]; - - return sym->defined && sym->in_dso; -} #endif /* ld.h */ diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c --- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c.elfutils-werror 2008-02-05 17:33:50.000000000 -0500 +++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c 2008-02-05 17:33:57.000000000 -0500 @@ -1514,8 +1514,7 @@ check_dynamic (Ebl *ebl, GElf_Ehdr *ehdr [DT_RELENT] = { [DT_REL] = true }, [DT_JMPREL] = { [DT_PLTRELSZ] = true, [DT_PLTREL] = true }, [DT_RUNPATH] = { [DT_STRTAB] = true }, - [DT_PLTREL] = { [DT_JMPREL] = true }, - [DT_PLTRELSZ] = { [DT_JMPREL] = true } + [DT_PLTREL] = { [DT_JMPREL] = true } }; bool has_dt[DT_NUM]; bool has_val_dt[DT_VALNUM]; diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c --- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c.elfutils-werror 2008-02-05 19:33:32.000000000 -0500 +++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c 2008-02-05 19:34:44.000000000 -0500 @@ -102,7 +102,7 @@ main (void) for (int i = 0; i < 5000; ++i) { - Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) main); + Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) (long) main); elfutils_close (dwfl); } diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h --- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h.elfutils-werror 2008-02-05 14:50:24.000000000 -0500 +++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h 2008-02-05 14:51:37.000000000 -0500 @@ -111,7 +111,7 @@ allocate_elf (int fildes, void *map_addr /* Acquire lock for the descriptor and all children. */ -static void +static inline void libelf_acquire_all (Elf *elf) { rwlock_wrlock (elf->lock); @@ -130,7 +130,7 @@ libelf_acquire_all (Elf *elf) } /* Release own lock and those of the children. */ -static void +static inline void libelf_release_all (Elf *elf) { if (elf->kind == ELF_K_AR)