From owner-cvs-src@FreeBSD.ORG Sat Dec 17 23:48:24 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F3FB16A41F; Sat, 17 Dec 2005 23:48:24 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F1043D96; Sat, 17 Dec 2005 23:48:08 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBHNm7Dd025015; Sat, 17 Dec 2005 23:48:07 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBHNm7pT025014; Sat, 17 Dec 2005 23:48:07 GMT (envelope-from marcel) Message-Id: <200512172348.jBHNm7pT025014@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 17 Dec 2005 23:48:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys elf64.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 23:48:24 -0000 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