From owner-freebsd-current@FreeBSD.ORG Thu Jun 22 16:50:22 2006 Return-Path: X-Original-To: freebsd-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 E0A1216A4CC; Thu, 22 Jun 2006 16:50:22 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8013643D49; Thu, 22 Jun 2006 16:50:00 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k5MGnxZB022945; Thu, 22 Jun 2006 12:49:59 -0400 (EDT) Date: Thu, 22 Jun 2006 12:49:59 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Norikatsu Shigemura In-Reply-To: <20060623013106.d4397e26.nork@FreeBSD.org> Message-ID: References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Alexander@Leidinger.net, freebsd-current@freebsd.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 16:50:23 -0000 On Fri, 23 Jun 2006, Norikatsu Shigemura wrote: > On Wed, 21 Jun 2006 12:39:09 -0400 (EDT) > Daniel Eischen wrote: >>>> I'm implementing like following codes to libc/libm/libpthread >>>> on 7-current with SYMVER_ENABLED=yes. >>> [example] >>> Ugh... I like parts of this (it's the same I thought about myself), but parts >>> of this are... not optimal in my opinion. >>> I don't like to spam our libXXX to contain GLIBC symbols. First I feared that >> I don't think that is the intent and I would oppose polluting >> our base libraries with GLIBC symbols. I think the proposed >> solution was to make separate libraries with the GLIBC symbols >> that just call out to our own libraries, and use libmap.conf > > Affirmative. ELF Symbol Versioning means no function > of netchild@ as said. > > spamming? junk symbols? Humm... I don't think so, but it > is POLICY that I think. Althought I'm working, I want to > merge 'Userland COMPAT_LINUX technology' to FreeBSD source > tree. I hope that you do consent. So I hope to discuss > @GLIBC_2.* symbols:-). No, I would still oppose that. I think separate libraries are the way to go. > Yes. I did try to do things, but I didn't get any good way. > And, 'LICENSE PROBLEM'. We cannot change libflashplugin.so. > Now therefore, the way of objdump is none. > > > FYI: I heard one Flash sound on firefox and flash7 and Userland > COMPAT_LINUX and 7-current, but didn't display images:-(. > I implemented following 29 functions. > > $ fgrep -r // lib*-glibc/00sample.c > libc-glibc/00sample.c://hook_and_abort_2(__xstat, 2, 0); You might want to look at the way I did it using scripts to parse the symbols from the flashplayer.so and automatically generating stub functions. -- DE