From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21049 invoked by alias); 16 Mar 2011 08:49:30 -0000 Received: (qmail 21040 invoked by uid 22791); 16 Mar 2011 08:49:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Mar 2011 08:49:25 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 15E63CB02D8; Wed, 16 Mar 2011 09:49:23 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Or2HPrsecnb4; Wed, 16 Mar 2011 09:49:20 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 1A9EACB02D5; Wed, 16 Mar 2011 09:49:19 +0100 (CET) Subject: Re: Release 2.21.1 ? Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <201103160003.07690.vapier@gentoo.org> Date: Wed, 16 Mar 2011 08:49:00 -0000 Cc: binutils@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <7ADF65FE-7C5F-4DE2-829E-8A82DA51502C@adacore.com> References: <201103160003.07690.vapier@gentoo.org> To: Mike Frysinger , Alan Modra X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00324.txt.bz2 On Mar 16, 2011, at 5:03 AM, Mike Frysinger wrote: > On Tuesday, March 15, 2011 04:21:37 Tristan Gingold wrote: >> [ I think that not all patches have been back-ported, so do not hesitate= to >> ping me ] >=20 > my understanding is that binutils-2.21 does not build a relocatable x86=20 > kernel, but this commit from master fixes it: > http://sourceware.org/git/?p=3Dbinutils.git;a=3Dcommit;h=3D5daebc6a6606a3= 0e60716f5bdee3d2018b560e8e >=20 > so that'd be a good one to backport if a new release is done This patch is supposed to be in 2.21: 2010-12-20 Alan Modra PR ld/12327 * ld.texinfo (Expression Section): Describe treatment of numbers and absolute symbols. * ldemul.c (after_open_default): Look up __ld_compatibility. * ldexp.c (fold_name): Convert absolute symbols to numbers when inside output section definitions, or when __ld_compatibility >=3D 221. (exp_fold_tree_1): Convert numbers to absolute when not in output section definition and __ld_compatibility < 221. Don't always convert values outside an output section definition to absolute. * ldexp.h (uses_defined): Comment. * ldlang.c (ld_compatibility): New variable. * ldlang.h (ld_compatibility): Declare. * emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em, * emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em, * emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em, * emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call after_open_default from after_open function. But it looks like it was only partially backported (chunks still apply to l= dlang.[ch] and ldemul.c) Alan ? Tristan.