Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbZCJBZW (ORCPT ); Mon, 9 Mar 2009 21:25:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751386AbZCJBZJ (ORCPT ); Mon, 9 Mar 2009 21:25:09 -0400 Received: from hera.kernel.org ([140.211.167.34]:52106 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751404AbZCJBZI (ORCPT ); Mon, 9 Mar 2009 21:25:08 -0400 Message-ID: <49B5C12B.1020108@kernel.org> Date: Mon, 09 Mar 2009 18:23:55 -0700 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Jeremy Fitzhardinge CC: Ingo Molnar , "Eric W. Biederman" , the arch/x86 maintainers , Linux Kernel Mailing List Subject: Re: Absolute symbols in vmlinux_64.lds.S References: <49B5AD6A.2020101@goop.org> In-Reply-To: <49B5AD6A.2020101@goop.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 25 Jeremy Fitzhardinge wrote: > Why does vmlinux_64.lds.S use absolute symbols for things like > __bss_start/stop: > > __bss_start = .; /* BSS */ > .bss : AT(ADDR(.bss) - LOAD_OFFSET) { > *(.bss.page_aligned) > *(.bss) > } > __bss_stop = .; > > > vmlinux_32.lds.S puts __bss_start/stop into the .bss section itself. Is > there some particular reason they need to be absolute symbols > (relocation?). > they are the same. YH -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/