Date: Sat, 17 Dec 2005 23:48:07 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys elf64.h Message-ID: <200512172348.jBHNm7pT025014@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-12-17 23:48:07 UTC
FreeBSD src repository
Modified files:
sys/sys elf64.h
Log:
Fix the ELF64_R_TYPE and ELF64_R_INFO macros. The symbol type is an
32-bit entity. Also, don't cast the resulting symbol type value to
a datatype smaller than the st_info field type as a quick way to
mask off the upper bits as it may cause inconsistent behaviour when
the macro is used (without explicit casting) on varargs functions.
MFC after: 1 week
Revision Changes Path
1.11 +2 -2 src/sys/sys/elf64.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512172348.jBHNm7pT025014>
