From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15083 invoked by alias); 23 Feb 2012 21:24:02 -0000 Received: (qmail 15053 invoked by uid 22791); 23 Feb 2012 21:24:00 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from www.meduna.org (HELO meduna.org) (92.240.244.38) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Feb 2012 21:23:48 +0000 Received: from [178.143.125.248] (helo=[192.168.130.22]) by meduna.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1S0g8Q-0007fR-DT for ecos-devel@ecos.sourceware.org; Thu, 23 Feb 2012 22:23:45 +0100 Message-ID: <4F46AE4C.8000405@meduna.org> Date: Thu, 23 Feb 2012 21:24:00 -0000 From: Stanislav Meduna User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: ecos-devel@ecos.sourceware.org Subject: Re: [ECOS] Re: ROMRAM .. kind of References: <4F4407A2.1030706@meduna.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-User: stano@meduna.org X-Authenticator: dovecot_plain X-Spam-Score: -6.9 X-Spam-Score-Int: -68 X-Exim-Version: 4.72 (build at 12-May-2011 18:13:45) X-Date: 2012-02-23 22:23:45 X-Connected-IP: 178.143.125.248:57102 X-Message-Linecount: 36 X-Body-Linecount: 23 X-Message-Size: 1335 X-Body-Size: 728 X-Received-Count: 1 X-Recipient-Count: 1 X-Local-Recipient-Count: 1 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-02/txt/msg00010.txt.bz2 On 22.02.2012 06:33, Elad Yosef wrote: > You can look at the ecos tables. > The Tables macros assigned section attribute and the linker script > keeps them all in the section. I know how to direct code or data into a section. I don't know how to link it for the address somewhere else, such that I compile a code for a section starting at e.g. 0x20000000, but store it somewhere in .rodata or something. But thanks for the pointer anyway, it gave me a hint what to google for in the linker documentation ;) Looks that the AT could be what I am searching for: http://www.linuxselfhelp.com/gnu/ld/html_chapter/ld_3.html#SEC21 contains an example of exactly what I want. Regards -- Stano