From owner-freebsd-ia64 Thu Feb 6 19:40:14 2003 Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E6237B401 for ; Thu, 6 Feb 2003 19:40:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC2A43FBD for ; Thu, 6 Feb 2003 19:40:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h173eCNS023285 for ; Thu, 6 Feb 2003 19:40:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h173eCOf023284; Thu, 6 Feb 2003 19:40:12 -0800 (PST) Date: Thu, 6 Feb 2003 19:40:12 -0800 (PST) Message-Id: <200302070340.h173eCOf023284@freefall.freebsd.org> To: freebsd-ia64@FreeBSD.org Cc: From: Marcel Moolenaar Subject: Re: ia64/48024: function pointer has different values in libraries vs main program Reply-To: Marcel Moolenaar Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ia64/48024; it has been noted by GNATS. From: Marcel Moolenaar To: Arun Sharma Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ia64/48024: function pointer has different values in libraries vs main program Date: Thu, 6 Feb 2003 19:30:17 -0800 On Thu, Feb 06, 2003 at 06:04:49PM -0800, Arun Sharma wrote: > > >Fix: See /usr/src/libexec/rtld-elf/ia64/reloc.c, lines 145 and 443 for example. We create function descriptors on a per-load module basis. Hence, function addresses will not generally be the same when taken from different load modules, but will generally be the same when taken from the same load module. It's a known issue. Thanks for the tracker! We've been way too sloppy about this :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message