Fix a typo in r364438 affecting 32-bit platforms.

Reported by:	antoine
MFC with:	r364438
This commit is contained in:
Mark Johnston 2020-08-22 14:24:17 +00:00
parent c37f312d3b
commit c612709bce

View File

@ -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);
}