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