From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6692 invoked by alias); 21 Jul 2008 20:03:38 -0000 Received: (qmail 6683 invoked by uid 22791); 21 Jul 2008 20:03:36 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 21 Jul 2008 20:03:17 +0000 Received: (qmail 10712 invoked by uid 0); 21 Jul 2008 20:03:14 -0000 Received: from 88.249.50.176 by www175.gmx.net with HTTP; Mon, 21 Jul 2008 22:03:14 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Mon, 21 Jul 2008 21:01:00 -0000 From: "Michael Daiss" Message-ID: <20080721200314.270020@gmx.net> MIME-Version: 1.0 Subject: Need Help - const - ROM-Area To: gcc-help@gcc.gnu.org X-Authenticated: #5823705 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) Content-Transfer-Encoding: 8bit X-GMX-UID: ttm9cExcYW0tLL2vOWZpHb18amthc5tA Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00246.txt.bz2 Hello, I thought, that with the prefix "const" it would be located in the ROM-Area... But in the map-File it is located in the data-area, means in the RAM... What must I do to locate it in the ROM-Area? Thank you for help!!! Michael Daiss const char TEXT0_ROM[32][21]={ "R0--MAIN ", "RO 01 ", "RO 02 ", "RO 03 ", "RO 04 ", "RO 05 ", "RO 06 ", "RO 07 ", "RO 08 ", "RO 09 ", "RO 0A ", "RO 0B ", "RO 0C ", "RO 0D ", "RO 0E ", "RO 0F ", "RO 10 ", "RO 11 ", "RO 12 ", "RO 13 ", "RO 14 ", "RO 15 ", "RO 16 ", "RO 17 ", "RO 18 ", "RO 19 ", "RO 1A ", "RO 1B ", "RO 1C ", "RO 1D ", "RO 1E ", "RO 1F "}; Memory Configuration Name Origin Length Attributes text 0x00000000 0x00020000 xr data 0x00800060 0x0000ffa0 rw !x eeprom 0x00810000 0x00010000 rw !x *default* 0x00000000 0xffffffff .data 0x00800100 0x0 c:/winavr-20070525/bin/../lib/gcc/avr/4.1.2/../../../../avr/lib/avr5/crtcan128.o .data 0x00800100 0xd92 main.o 0x00800412 TEXT1_ROM 0x00800163 MENUE_MAX_ROM 0x00800172 TEXT0_ROM -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer