Changeset View
Changeset View
Standalone View
Standalone View
contrib/elftoolchain/libelf/elf_update.c
Show First 20 Lines • Show All 176 Lines • ▼ Show 20 Lines | if ((s->s_flags & ELF_F_DIRTY) == 0) { | ||||
else | else | ||||
goto computeoffset; | goto computeoffset; | ||||
} | } | ||||
/* | /* | ||||
* Otherwise, we need to bring in the section's data | * Otherwise, we need to bring in the section's data | ||||
* from the underlying ELF object. | * from the underlying ELF object. | ||||
*/ | */ | ||||
if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL) | if (e->e_cmd != ELF_C_WRITE && | ||||
_libelf_getdata(s, NULL, true) == NULL) | |||||
return (0); | return (0); | ||||
} | } | ||||
/* | /* | ||||
* Loop through the section's data descriptors. | * Loop through the section's data descriptors. | ||||
*/ | */ | ||||
scn_size = 0L; | scn_size = 0L; | ||||
scn_alignment = 0; | scn_alignment = 0; | ||||
▲ Show 20 Lines • Show All 1,024 Lines • Show Last 20 Lines |