<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: linker scripts</title>
		<link>http://forums.leaflabs.com/topic.php?id=763</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:21:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=763" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "linker scripts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=763#post-4543</link>
			<pubDate>Tue, 10 May 2011 13:46:08 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">4543@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;yes the reason for this (historically and currently) is that the bootloader is a C-only program, whereas the Wirish library required C++ support
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "linker scripts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=763#post-4539</link>
			<pubDate>Mon, 09 May 2011 16:39:39 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">4539@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Also, the advantages of the libmaple linker scripts are that they support C++; the bootloader is written in pure C.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "linker scripts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=763#post-4538</link>
			<pubDate>Mon, 09 May 2011 16:29:56 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">4538@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;kqr2,&#60;/p&#62;
&#60;p&#62;Yup, the refactor merge just went through.  The linker scripts in particular were largely redone; the common functionality was abstracted out (common_ram.inc and common_rom.inc in support/ld/), and only particularities for individual boards are left in the individual scripts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kqr2 on "linker scripts"</title>
			<link>http://forums.leaflabs.com/topic.php?id=763#post-4537</link>
			<pubDate>Mon, 09 May 2011 16:07:52 +0000</pubDate>
			<dc:creator>kqr2</dc:creator>
			<guid isPermaLink="false">4537@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I noticed that the bootloader and the libmaple library use different linker scripts.  The bootloader is based off of the Raisonance Ride 7 whereas libmaple is based off of CodeSourcery.&#60;/p&#62;
&#60;p&#62;The bootloader linker script seems simpler and more readable to me.  Is there an advantage to the  CodeSourcery based one?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/maple-bootloader/blob/master/stm32_lib/c_only_md_RAM.ld&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/maple-bootloader/blob/master/stm32_lib/c_only_md_RAM.ld&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/master/support/ld/maple/flash.ld&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/master/support/ld/maple/flash.ld&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;EDIT : It appears that the libmaple code on github was refactored while I posted this message.  For easy reference and archive purposes:&#60;/p&#62;
&#60;p&#62;bootloader : &#60;a href=&#34;http://pastebin.com/wn3QNx5w&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/wn3QNx5w&#60;/a&#62;&#60;br /&#62;
libmaple : &#60;a href=&#34;http://pastebin.com/WyXHY7yE&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/WyXHY7yE&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
