On 12/02/16 20:47, Konrad Rzeszutek Wilk wrote:
>>> +struct xsplice_elf_sec *xsplice_elf_sec_by_name(const struct xsplice_elf
>>> *elf,
>>> +const char *name)
>>> +{
>>> +unsigned int i;
>>> +
>>> +for ( i = 0; i < elf->hdr->e_shnum; i++ )
>>
> > +struct xsplice_elf_sec *xsplice_elf_sec_by_name(const struct xsplice_elf
> > *elf,
> > +const char *name)
> > +{
> > +unsigned int i;
> > +
> > +for ( i = 0; i < elf->hdr->e_shnum; i++ )
> > +{
> > +if ( !strcmp(name, elf->se
On 12/02/16 18:05, Konrad Rzeszutek Wilk wrote:
> From: Ross Lagerwall
>
> Add Elf routines and data structures in preparation for loading an
> xSplice payload.
>
> We also add an macro that will print where we failed during
> the ELF parsing - which is only available during debug builds.
> In pro
From: Ross Lagerwall
Add Elf routines and data structures in preparation for loading an
xSplice payload.
We also add an macro that will print where we failed during
the ELF parsing - which is only available during debug builds.
In production (debug=n) we only return the error value.
Signed-off-