From owner-freebsd-current@FreeBSD.ORG Sun Sep 11 20:17:31 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F34916A41F for ; Sun, 11 Sep 2005 20:17:31 +0000 (GMT) (envelope-from devon.odell@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15FB043D45 for ; Sun, 11 Sep 2005 20:17:30 +0000 (GMT) (envelope-from devon.odell@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so2102925wra for ; Sun, 11 Sep 2005 13:17:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KBvp6nPITmM/M+DjxpiE0BUjgUxMktD4d7SqjS4qZFEBNJKbSYmbSyBUKl1VvGyGcJsQikOLfV4hrW/1t+9Neu6Kx/+hW2Xny4QrXmIzw90cCTbwtw1m4/E9B930ub0I2N2iSwhD28dEjGm9ctevTvBTW3mua/fQaTJQqkpbSsw= Received: by 10.54.91.16 with SMTP id o16mr2029755wrb; Sun, 11 Sep 2005 13:17:30 -0700 (PDT) Received: by 10.54.89.5 with HTTP; Sun, 11 Sep 2005 13:17:30 -0700 (PDT) Message-ID: <9ab2176705091113172e2edb83@mail.gmail.com> Date: Sun, 11 Sep 2005 13:17:30 -0700 From: "Devon H. O'Dell" To: current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: ELF Versioning X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dodell@offmyserver.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 20:17:31 -0000 Hey all, I was told that somebody was working on ELF versioning in FreeBSD, but the person who told me couldn't remember who and didn't know the status of the project. I was wondering if anybody here did know. Part of porting DTrace to FreeBSD requires porting Solaris' libelf, which provides an API for working on 32- and 64-bit ELF files (called GElf). This is because Solaris has a feature called CTF (Compact ANSI-C Type Format) which puts information about types used in the application into an ELF header. This information is compressed with zlib. It does this by taking the debugging information out of a file compiled with debugging symbols, compressing them, and then putting them into an ELF header. At the moment, I've just made this use Solaris' ELF header files to get all the structures I need (getting it compiling is the first milestone; then I can see what will and won't work in relation to what is there). I'm not sure how much of this is actually needed to get CTF working yet. So if anybody can give me more information about the status of this work, who was / is doing it, and any caveats involved in any current implementation, that'd be great. Thanks, Devon