Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: SourceForge.net <noreply@so...> - 2005-07-19 17:34:58
|
Feature Requests item #880210, was opened at 2004-01-20 00:00 Message generated for change (Settings changed) made by maartenbrock You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=880210&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Submitted By: Michael Broxton (mbroxton) Assigned to: Maarten Brock (maartenbrock) Summary: Ability to locate segments arbitrarily in code memory Initial Comment: With the Keil Compiler linker, it is possible to specify the absolute memory address of a code segment for a specific function call. This is useful when setting aside a region of code memory for a seperate piece of code such as a bootloader, whose address you wish to specify explicitly. For example, the Keil linker directive CODE(?PR?*?OSOverwrite(0x7800)) will place the OSOverwrite() function at adress 0x7800 in code space. Would it be feasible to implement a similar option in the sdcc linker? ---------------------------------------------------------------------- >Comment By: Maarten Brock (maartenbrock) Date: 2005-07-19 19:34 Message: Logged In: YES user_id=888171 This is now possible in SDCC 2.5.1 #1061. You use the command line option --codeseg MYSEG when compiling or pragma codeseg MYSEG inside the source to specify the name of the code segment. Then when linking you use -Wl-b MYSEG=0x7800 to set the start address of this segment. Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=880210&group_id=599 |