/external/elfutils/tests/ |
asm-tst2.c | 65 AsmScn_t *scn1; local 91 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 92 scn2 = asm_newsubscn (scn1, 1); 93 if (scn1 == NULL || scn2 == NULL) 101 if (asm_align (scn1, 16) != 0) 108 if (asm_addstrz (scn1, "one", 4) != 0) 118 if (asm_addstrz (scn1, "two", 4) != 0)
|
asm-tst3.c | 57 AsmScn_t *scn1; local 83 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 84 scn2 = asm_newsubscn (scn1, 1); 85 if (scn1 == NULL || scn2 == NULL) 93 if (asm_align (scn1, 16) != 0) 100 if (asm_newsym (scn1, "one", 4, STT_OBJECT, STB_GLOBAL) == NULL) 105 if (asm_addstrz (scn1, "one", 4) != 0) 120 if (asm_newsym (scn1, "two", 4, STT_OBJECT, STB_LOCAL) == NULL) 125 if (asm_addstrz (scn1, "two", 4) != 0)
|
asm-tst1.c | 66 AsmScn_t *scn1; local 92 scn1 = asm_newscn (ctx, ".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR); 94 if (scn1 == NULL || scn2 == NULL) 102 if (asm_align (scn1, 32) != 0)
|
/external/elfutils/src/ |
elfcmp.c | 242 Elf_Scn *scn1 = NULL; local 253 scn1 = elf_nextscn (elf1, scn1); 254 shdr1 = gelf_getshdr (scn1, &shdr1_mem); 258 while (scn1 != NULL 274 if (scn1 == NULL || scn2 == NULL) 294 fname1, fname2, elf_ndxscn (scn1), elf_ndxscn (scn2)); 317 fname1, fname2, elf_ndxscn (scn1), sname1); 321 Elf_Data *data1 = elf_getdata (scn1, NULL); 325 elf_ndxscn (scn1), fname1, elf_errmsg (-1)) [all...] |