static void fill_note(struct memelfnote *note, const char *name, int type,

                      unsigned int sz, void *data)

{

    unsigned int namesz;



    namesz = strlen(name) + 1;

    note->name = name;

    note->namesz = namesz;

    note->namesz_rounded = roundup(namesz, sizeof (int32_t));

    note->type = type;

    note->datasz = roundup(sz, sizeof (int32_t));;

    note->data = data;



    /*

     * We calculate rounded up note size here as specified by

     * ELF document.

     */

    note->notesz = sizeof (struct elf_note) +

        note->namesz_rounded + note->datasz;

}

static void fill_note(struct memelfnote *note, const char *name, int type,

                      unsigned int sz, void *data)

{

    unsigned int namesz;



    namesz = strlen(name) + 1;

    note->name = name;

    note->namesz = namesz;

    note->namesz_rounded = roundup(namesz, sizeof (int32_t));

    note->type = type;

    note->datasz = roundup(sz, sizeof (int32_t));;

    note->data = data;



    







    note->notesz = sizeof (struct elf_note) +

        note->namesz_rounded + note->datasz;

}

static void FUNC_0(struct memelfnote *VAR_0, const char *VAR_1, int VAR_2,

                      unsigned int VAR_3, void *VAR_4)

{

    unsigned int VAR_5;



    VAR_5 = strlen(VAR_1) + 1;

    VAR_0->VAR_1 = VAR_1;

    VAR_0->VAR_5 = VAR_5;

    VAR_0->namesz_rounded = roundup(VAR_5, sizeof (int32_t));

    VAR_0->VAR_2 = VAR_2;

    VAR_0->datasz = roundup(VAR_3, sizeof (int32_t));;

    VAR_0->VAR_4 = VAR_4;



    







    VAR_0->notesz = sizeof (struct elf_note) +

        VAR_0->namesz_rounded + VAR_0->datasz;

}

static void FUNC_0(struct memelfnote *VAR_0, const char *VAR_1, int VAR_2,
unsigned int VAR_3, void *VAR_4)
{ unsigned int VAR_5; VAR_5 = strlen(VAR_1) + 1; VAR_0->VAR_1 = VAR_1; VAR_0->VAR_5 = VAR_5; VAR_0->namesz_rounded = roundup(VAR_5, sizeof (int32_t)); VAR_0->VAR_2 = VAR_2; VAR_0->datasz = roundup(VAR_3, sizeof (int32_t));; VAR_0->VAR_4 = VAR_4; VAR_0->notesz = sizeof (struct elf_note) +
VAR_0->namesz_rounded + VAR_0->datasz; }