1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364483

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