From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3219 invoked by alias); 11 Oct 2005 08:51:36 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3204 invoked by uid 22791); 11 Oct 2005 08:51:33 -0000 Received: from faui03.informatik.uni-erlangen.de (HELO faui03.informatik.uni-erlangen.de) (131.188.30.103) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 11 Oct 2005 08:51:33 +0000 Received: from faui00i.informatik.uni-erlangen.de (sijoange@faui00i.informatik.uni-erlangen.de [131.188.30.68]) by faui03.informatik.uni-erlangen.de (8.12.11/8.12.11) with ESMTP id j9B8pUZQ021052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 11 Oct 2005 08:51:31 GMT Received: (from sijoange@localhost) by faui00i.informatik.uni-erlangen.de (8.13.4/8.13.4/Submit) id j9B8oUFd002627 for gcc-help@gcc.gnu.org; Tue, 11 Oct 2005 10:50:30 +0200 From: Josef Angermeier Date: Tue, 11 Oct 2005 08:51:00 -0000 To: gcc-help Subject: ld-linker-script: fill bytes between sections Message-ID: <20051011085030.GB2256@false> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-SW-Source: 2005-10/txt/msg00050.txt.bz2 Hello Using the ld linker script, you can specify the fill bytes *in* a output section. but how can i you specify the fill bytes between output sections. An example sec_a 0x1000 : AT(bla) { ... } sec_b 0x5000 : AT(bla) { ... } sec_a ends depending on its size, somewhere before 0x5000 (where sec_b starts). now how can you speficy the fill bytes between ENDOF(sec_a) and 0x5000 ?? thanks in advance josef