Fix a typo in r364438 affecting 32-bit platforms.
Reported by: antoine MFC with: r364438
This commit is contained in:
parent
c37f312d3b
commit
c612709bce
@ -1583,14 +1583,14 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)
|
||||
* preserved in order to support incremental rebuilds.
|
||||
*/
|
||||
if (shdr_rel.sh_type == SHT_RELA) {
|
||||
rela.r_info =
|
||||
GELF_R_INFO(GELF_R_SYM(rela.r_info), 0);
|
||||
rela.r_info = GELF_R_INFO(
|
||||
GELF_R_SYM(rela.r_info), DT_REL_NONE);
|
||||
(void) gelf_update_rela(data_rel, i, &rela);
|
||||
} else {
|
||||
GElf_Rel rel;
|
||||
rel.r_offset = rela.r_offset;
|
||||
rela.r_info =
|
||||
GELF_R_INFO(GELF_R_SYM(rela.r_info), 0);
|
||||
rel.r_info = GELF_R_INFO(
|
||||
GELF_R_SYM(rela.r_info), DT_REL_NONE);
|
||||
(void) gelf_update_rel(data_rel, i, &rel);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user