From owner-svn-src-head@FreeBSD.ORG Tue Feb 10 16:30:13 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAFE41065674 for ; Tue, 10 Feb 2009 16:30:13 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-bw0-f163.google.com (mail-bw0-f163.google.com [209.85.218.163]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1D28FC17 for ; Tue, 10 Feb 2009 16:30:13 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by bwz7 with SMTP id 7so3242586bwz.19 for ; Tue, 10 Feb 2009 08:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=I9dOmw0jsJ5CtzU56lJ/hX1MoEBre+GABL/s3aRe1Nk=; b=kpFxgZfUZsJz9yScd5T4OmOULP/ie9TJUny4KSgVjsB+t9LLTsyX81sI6CQwy8vBnZ 03T9b8K57IoQkfAaSLmsdqwzYNYvVDn2OsSuR+WE/+LJqAmlzJOm8GbbYAneKh9q9zEh slY6CVPhuTKkFaJB7fC4VMi5tz91vG9OyxgMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=p6JcdnUyeMoQ+bElyStgQxULUPwG9ZNtwzl/krhmK3j3nZgKAS28yV8pteXTkcoL8x kkGi05ttJs9N9dJbDsgmFv4HkQfdoRJ+Biu/fcKPO+lEmSfxSqjndkgO4L0vMYhxZJl7 UTnFed7VTq3bcF45eoHXN3jgGJGa5/S30cM2M= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.107.76 with SMTP id a12mr52766fap.29.1234281937283; Tue, 10 Feb 2009 08:05:37 -0800 (PST) In-Reply-To: <200902101550.n1AFoJoj097637@svn.freebsd.org> References: <200902101550.n1AFoJoj097637@svn.freebsd.org> Date: Tue, 10 Feb 2009 17:05:37 +0100 X-Google-Sender-Auth: a3e8bc9f26cf4fc5 Message-ID: <3bbf2fe10902100805l3362c59rda140f07fc43347f@mail.gmail.com> From: Attilio Rao To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: svn commit: r188440 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 16:30:14 -0000 2009/2/10, Attilio Rao : > Author: attilio > Date: Tue Feb 10 15:50:19 2009 > New Revision: 188440 > URL: http://svn.freebsd.org/changeset/base/188440 > > Log: > Scanning all the formats for binary translation of modules loading can > result in errors for a format loading but subsequent correct recognizing > for another format. > > File format loading functions should avoid printing any additional > informations but just returning appropriate (and different between each > other) error condition, characterizing different informations. > Additively, the linker should handle appropriately different format > loading errors. > > While a general mechanism is desired, fix a simple and common case on > amd64: file type is not recognized for link elf and confuses the linker. > Printout an error if all the registered linker classes can't recognize > and load the module. > > Reviewed by: jhb > Sponsored by: Sandvine Incorporated I should have specify it refers to PR: amd64/117186. Sorry. Attilio -- Peace can only be achieved by understanding - A. Einstein