On Tue, Feb 20, 2018 at 03:48:44PM +0100, Daniel Kiper wrote: > On Wed, Jan 31, 2018 at 11:26:59AM -0500, Peter Jones wrote: > > +static int > > +SUFFIX (is_kept_section) (Elf_Shdr *s, const struct > > grub_install_image_target_desc *image_target); > > +static int > > +SUFFIX (is_kept_reloc_section) (Elf_Shdr *s, const struct > > grub_install_image_target_desc *image_target, > > + Elf_Shdr *sections, Elf_Half section_entsize, > > Elf_Half num_sections, > > + const char *strtab); > > Ugh... Could not you create a struct and pass the pointer to it here?
Fair enough - I did it that way because the whole file seems averse to that sort of thing, and once you start doing it, it gets a bit messy. Nevertheless, I'll send you a patchset that includes that in just a few minutes. > PS Please CC me on the patches next time. Will do. -- Peter _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel