<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-2008</id>
	<title>Nabble - AVR</title>
	<updated>2008-10-12T23:42:10Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/AVR-f2008.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/AVR-f2008.html" />
	<subtitle type="html">The AVR family of microcontrollers from Atmel are economical, feature-rich microcontrollers featuring flash program memory. The entire family shares the same instruction set and basic architecture.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19949576</id>
	<title>[patch #6649] sqrt.s in libm changes</title>
	<published>2008-10-12T23:42:10Z</published>
	<updated>2008-10-12T23:42:10Z</updated>
	<author>
		<name>Steven Robson-3</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6649&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: sqrt.s in libm changes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AVR C Runtime Library
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: ruud62
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Mon Oct 13 06:42:08 2008
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: 5 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Originator Email: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;I have attached a new sqrt.s file which I propose for libm. Tested for all 23
&lt;br&gt;bits mantissa, for both odd and even exponent.
&lt;br&gt;&lt;br&gt;Statistics relative to version 1.8 if __Optimizesize__ defined:
&lt;br&gt;17 code words shorter, 120-244 cycles faster (average 169)
&lt;br&gt;&lt;br&gt;Statistics relative to version 1.8 if __Optimizesize__ not defined:
&lt;br&gt;12 code words shorter, 184-294 cycles faster (average 231)
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Ruud
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;File Attachments:
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------
&lt;br&gt;Date: Mon Oct 13 06:42:08 2008 &amp;nbsp;Name: sqrt.S &amp;nbsp;Size: 5kB &amp;nbsp; By: ruud62
&lt;br&gt;&lt;br&gt;&amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/download.php?file_id=16664&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/download.php?file_id=16664&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6649&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19949576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-patch--6649--sqrt.s-in-libm-changes-tp19949576p19949576.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19942710</id>
	<title>Re: New square root?</title>
	<published>2008-10-12T08:35:15Z</published>
	<updated>2008-10-12T08:35:15Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Ruudje wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I'm new to this list and project. So I don't really know how things
&lt;br&gt;&amp;gt; work here.
&lt;br&gt;&lt;br&gt;Hi, and thanks for the contribution!
&lt;br&gt;&lt;br&gt;The normal way for that kind of submission is to file it as a patch
&lt;br&gt;under
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?group=avr-libc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?group=avr-libc&lt;/a&gt;&lt;br&gt;&lt;br&gt;Contributions sent in email messages have a tendency to eventually get
&lt;br&gt;lost in the daily email flood.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19942710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-square-root--tp19919132p19942710.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19925722</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T13:38:28Z</published>
	<updated>2008-10-10T13:38:28Z</updated>
	<author>
		<name>Gre7g Luterman-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt&quot;&gt;&lt;DIV&gt;Freakin' awesome. Thanks, tons!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Gre7g&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif&quot;&gt;----- Original Message ----&lt;BR&gt;From: Dave Hylands &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925722&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhylands@...&lt;/a&gt;&amp;gt;&lt;BR&gt;To: Gre7g Luterman &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925722&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hafeliel@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925722&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;&lt;BR&gt;Sent: Friday, October 10, 2008 2:12:21 PM&lt;BR&gt;Subject: Re: [avr-gcc-list] Link script question&lt;BR&gt;&lt;BR&gt;Gu Gre7g,&lt;BR&gt;&lt;BR&gt;Try this version of mega32.ld&lt;BR&gt;&lt;BR&gt;I think it does everything you need without having to use any .c files.&lt;BR&gt;&lt;BR&gt;-- &lt;BR&gt;Dave Hylands&lt;BR&gt;Shuswap, BC, Canada&lt;BR&gt;&lt;A href=&quot;http://www.davehylands.com/&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.DaveHylands.com/&lt;/A&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925722&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19925722.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19925573</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T13:27:44Z</published>
	<updated>2008-10-10T13:27:44Z</updated>
	<author>
		<name>Dave N6NZ</name>
	</author>
	<content type="html">Dave Hylands wrote:
&lt;br&gt;&amp;gt; Gu Gre7g,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Try this version of mega32.ld
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think it does everything you need without having to use any .c files.
&lt;br&gt;&lt;br&gt;Yes, better. &amp;nbsp;I didn't know you could stuff data from the linker script.
&lt;br&gt;&lt;br&gt;-dave
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; AVR-GCC-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925573&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925573&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19925573.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19925518</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T13:24:51Z</published>
	<updated>2008-10-10T13:24:51Z</updated>
	<author>
		<name>Dave N6NZ</name>
	</author>
	<content type="html">Gre7g Luterman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Dave N6NZ &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925518&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n6nz@...&lt;/a&gt;&amp;gt; To: Gre7g Luterman
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925518&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hafeliel@...&lt;/a&gt;&amp;gt; Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925518&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt; Sent: Friday,
&lt;br&gt;&amp;gt; October 10, 2008 11:02:21 AM Subject: Re: [avr-gcc-list] Link script
&lt;br&gt;&amp;gt; question
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; That would work, of course, but I'd have to designate a constant 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; address for the block, right?
&lt;br&gt;&amp;gt;&amp;gt; No, not at all. That's the point of putting it in the linker script
&lt;br&gt;&amp;gt;&amp;gt; and letting the linker compute the address.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The script as I have it now, automagically selects the first
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; available block after my code. I really like having this done
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; automatically for me.
&lt;br&gt;&amp;gt;&amp;gt; And that is exactly what this does. &amp;nbsp;Take a look at the linker
&lt;br&gt;&amp;gt;&amp;gt; script and how it works. &amp;nbsp;All my addition does is declare a named
&lt;br&gt;&amp;gt;&amp;gt; section that starts at exactly the place that your
&lt;br&gt;&amp;gt;&amp;gt; __user_prog_start symbol is defined. &amp;nbsp;It's really your solution,
&lt;br&gt;&amp;gt;&amp;gt; but with an additional name that you can use as an attribute to a
&lt;br&gt;&amp;gt;&amp;gt; data section.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well, I don't get it. I tried sticking your solution in and I get:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ld.exe:mega32.ld:177: syntax error
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Obviously I'm missing something. Your section definitions don't look
&lt;br&gt;&amp;gt; like the others in the script. I'll attach the patched script to this
&lt;br&gt;&amp;gt; e-mail. Perhaps someone can correct the syntax error and show me what
&lt;br&gt;&amp;gt; I'm missing.
&lt;/div&gt;&lt;/div&gt;OK, well first let me say that I am not a linker script guru, I simply 
&lt;br&gt;manage to get by.
&lt;br&gt;&lt;br&gt;I think the syntax error is coming from two things, the ';' terminating 
&lt;br&gt;the line, and the '*.('. &amp;nbsp;I don't think the ';' should be at the end of 
&lt;br&gt;a section call out, just at the end of linker expressions, and the 
&lt;br&gt;period in *.( is extraneous, I believe.
&lt;br&gt;&lt;br&gt;Secondly, I think the .userprog section should be inside the braces for 
&lt;br&gt;the data section to accomplish what you want. &amp;nbsp;(I'm a little fuzzy here, 
&lt;br&gt;though, so double check the documentation.) &amp;nbsp;Also, I think it should be 
&lt;br&gt;called out as *(.userprog), which says: &amp;quot;any file, the section
&lt;br&gt;'.userprog'&amp;quot;, on the assumption that you don't have any '.userprog.foo' 
&lt;br&gt;sections that you want to pick up with a *(.userprog.*) call out.
&lt;br&gt;&lt;br&gt;Here is your file, tweaked.
&lt;br&gt;&lt;br&gt;-dave
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Gre7g
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br /&gt;/* Default linker script, for normal executables */
&lt;br&gt;OUTPUT_FORMAT(&amp;quot;elf32-avr&amp;quot;,&amp;quot;elf32-avr&amp;quot;,&amp;quot;elf32-avr&amp;quot;)
&lt;br&gt;OUTPUT_ARCH(avr:1)
&lt;br&gt;MEMORY
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (rx) : ORIGIN = 0x000000, LENGTH = 0x7D00
&lt;br&gt;&amp;nbsp; changes &amp;nbsp; &amp;nbsp; &amp;nbsp;(rx) : ORIGIN = 0x007D00, LENGTH = 0x0080
&lt;br&gt;&amp;nbsp; update &amp;nbsp; &amp;nbsp; &amp;nbsp; (rx) : ORIGIN = 0x007D80, LENGTH = 0x0280
&lt;br&gt;&amp;nbsp; data &amp;nbsp; &amp;nbsp; &amp;nbsp; (rw!x) : ORIGIN = 0x800060, LENGTH = 0x0800
&lt;br&gt;&amp;nbsp; eeprom &amp;nbsp; &amp;nbsp; (rw!x) : ORIGIN = 0x810000, LENGTH = 0x03FF
&lt;br&gt;&amp;nbsp; eelayver &amp;nbsp; (rw!x) : ORIGIN = 0x8103FF, LENGTH = 0x0001
&lt;br&gt;}
&lt;br&gt;SECTIONS
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; /* Read-only sections, merged into text segment: */
&lt;br&gt;&amp;nbsp; .hash &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.hash)		}
&lt;br&gt;&amp;nbsp; .dynsym &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynsym)		}
&lt;br&gt;&amp;nbsp; .dynstr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynstr)		}
&lt;br&gt;&amp;nbsp; .gnu.version &amp;nbsp; : { *(.gnu.version)	}
&lt;br&gt;&amp;nbsp; .gnu.version_d &amp;nbsp; : { *(.gnu.version_d)	}
&lt;br&gt;&amp;nbsp; .gnu.version_r &amp;nbsp; : { *(.gnu.version_r)	}
&lt;br&gt;&amp;nbsp; .rel.init &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.init)		}
&lt;br&gt;&amp;nbsp; .rela.init &amp;nbsp; &amp;nbsp; : { *(.rela.init)	}
&lt;br&gt;&amp;nbsp; .rel.text &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.text &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.fini &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.fini)		}
&lt;br&gt;&amp;nbsp; .rela.fini &amp;nbsp; &amp;nbsp; : { *(.rela.fini)	}
&lt;br&gt;&amp;nbsp; .rel.rodata &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.rodata &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.data &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.data &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.ctors &amp;nbsp; &amp;nbsp; : { *(.rel.ctors)	}
&lt;br&gt;&amp;nbsp; .rela.ctors &amp;nbsp; &amp;nbsp;: { *(.rela.ctors)	}
&lt;br&gt;&amp;nbsp; .rel.dtors &amp;nbsp; &amp;nbsp; : { *(.rel.dtors)	}
&lt;br&gt;&amp;nbsp; .rela.dtors &amp;nbsp; &amp;nbsp;: { *(.rela.dtors)	}
&lt;br&gt;&amp;nbsp; .rel.got &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.got)		}
&lt;br&gt;&amp;nbsp; .rela.got &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.got)		}
&lt;br&gt;&amp;nbsp; .rel.bss &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.bss)		}
&lt;br&gt;&amp;nbsp; .rela.bss &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.bss)		}
&lt;br&gt;&amp;nbsp; .rel.plt &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.plt)		}
&lt;br&gt;&amp;nbsp; .rela.plt &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.plt)		}
&lt;br&gt;&amp;nbsp; /* Internal text space or external memory. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .changes :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; changes_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.changes)
&lt;br&gt;&amp;nbsp; &amp;nbsp; changes_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;gt; changes
&lt;br&gt;&amp;nbsp; .update :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; update_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.update)
&lt;br&gt;&amp;nbsp; &amp;nbsp; update_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;gt; update
&lt;br&gt;&amp;nbsp; .text :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.vectors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(*(.vectors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For data that needs to reside in the lower 64k of progmem. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.progmem.gcc*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.progmem*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__trampolines_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* The jump trampolines for the 16-bit limited relocs will reside here. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.trampolines)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.trampolines*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__trampolines_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For future tablejump instruction arrays for 3 byte pc devices.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;We don't relax jump/call instructions within these sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.jumptables)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.jumptables*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For code that needs to reside in the lower 128k progmem. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.lowtext)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.lowtext*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__ctors_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(.ctors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__ctors_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__dtors_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(.dtors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__dtors_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(SORT(*)(.ctors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(SORT(*)(.dtors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* From this point on, we don't bother about wether the insns are
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;below or above the 16 bits boundary. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init0) &amp;nbsp;/* Start here after reset. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init0))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init1))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init2) &amp;nbsp;/* Clear __zero_reg__, set up stack pointer. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init2))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init4) &amp;nbsp;/* Initialize data and BSS. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init4))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init5)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init5))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init6) &amp;nbsp;/* C++ constructors. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init6))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init7)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init7))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init8)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init8))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init9) &amp;nbsp;/* Call main(). &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init9))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini9) &amp;nbsp;/* _exit() starts here. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini9))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini8)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini8))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini7)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini7))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini6) &amp;nbsp;/* C++ destructors. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini6))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini5)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini5))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini4))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini2))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini1))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini0) &amp;nbsp;/* Infinite loop after program termination. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini0))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_etext = . ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; text
&lt;br&gt;&amp;nbsp; .data	 &amp;nbsp;: AT (ADDR (.text) + SIZEOF (.text))
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__data_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.data*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.rodata) &amp;nbsp;/* We need to include .rodata here if gcc is used */
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.rodata*) /* with -fdata-sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_edata = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__data_end = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;. = ALIGN(128);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__user_prog_start = .;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(.userprog) 
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; /* User-programming space */
&lt;br&gt;&amp;nbsp; . = _etext + SIZEOF(.data);
&lt;br&gt;&amp;nbsp; .bss &amp;nbsp;SIZEOF(.data) + ADDR(.data):
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bss)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bss*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(COMMON)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_end = .) ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; &amp;nbsp;__data_load_start = LOADADDR(.data);
&lt;br&gt;&amp;nbsp; &amp;nbsp;__data_load_end = __data_load_start + SIZEOF(.data);
&lt;br&gt;&amp;nbsp; /* Global data not cleared after reset. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .noinit &amp;nbsp;SIZEOF(.bss) + ADDR(.bss) :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__noinit_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.noinit*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__noinit_end = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__heap_start = .) ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; .eeprom &amp;nbsp;:
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.eeprom*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__eeprom_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; eeprom
&lt;br&gt;&amp;nbsp; /* Stabs debugging sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .stab 0 : { *(.stab) }
&lt;br&gt;&amp;nbsp; .stabstr 0 : { *(.stabstr) }
&lt;br&gt;&amp;nbsp; .stab.excl 0 : { *(.stab.excl) }
&lt;br&gt;&amp;nbsp; .stab.exclstr 0 : { *(.stab.exclstr) }
&lt;br&gt;&amp;nbsp; .stab.index 0 : { *(.stab.index) }
&lt;br&gt;&amp;nbsp; .stab.indexstr 0 : { *(.stab.indexstr) }
&lt;br&gt;&amp;nbsp; .comment 0 : { *(.comment) }
&lt;br&gt;&amp;nbsp; /* DWARF debug sections.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Symbols in the DWARF debugging sections are relative to the beginning
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;of the section so we begin them at 0. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; /* DWARF 1 */
&lt;br&gt;&amp;nbsp; .debug &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug) }
&lt;br&gt;&amp;nbsp; .line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 : { *(.line) }
&lt;br&gt;&amp;nbsp; /* GNU DWARF 1 extensions */
&lt;br&gt;&amp;nbsp; .debug_srcinfo &amp;nbsp;0 : { *(.debug_srcinfo) }
&lt;br&gt;&amp;nbsp; .debug_sfnames &amp;nbsp;0 : { *(.debug_sfnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 1.1 and DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_aranges &amp;nbsp;0 : { *(.debug_aranges) }
&lt;br&gt;&amp;nbsp; .debug_pubnames 0 : { *(.debug_pubnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_info &amp;nbsp; &amp;nbsp; 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
&lt;br&gt;&amp;nbsp; .debug_abbrev &amp;nbsp; 0 : { *(.debug_abbrev) }
&lt;br&gt;&amp;nbsp; .debug_line &amp;nbsp; &amp;nbsp; 0 : { *(.debug_line) }
&lt;br&gt;&amp;nbsp; .debug_frame &amp;nbsp; &amp;nbsp;0 : { *(.debug_frame) }
&lt;br&gt;&amp;nbsp; .debug_str &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_str) }
&lt;br&gt;&amp;nbsp; .debug_loc &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_loc) }
&lt;br&gt;&amp;nbsp; .debug_macinfo &amp;nbsp;0 : { *(.debug_macinfo) }
&lt;br&gt;}
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925518&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19925518.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19925313</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T13:12:21Z</published>
	<updated>2008-10-10T13:12:21Z</updated>
	<author>
		<name>Dave Hylands</name>
	</author>
	<content type="html">Gu Gre7g,
&lt;br&gt;&lt;br&gt;Try this version of mega32.ld
&lt;br&gt;&lt;br&gt;I think it does everything you need without having to use any .c files.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dave Hylands
&lt;br&gt;Shuswap, BC, Canada
&lt;br&gt;&lt;a href=&quot;http://www.DaveHylands.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.DaveHylands.com/&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19925313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;mega32.ld&lt;/strong&gt; (8K) &lt;a href=&quot;http://www.nabble.com/attachment/19925313/0/mega32.ld&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19925313.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19924272</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T12:08:15Z</published>
	<updated>2008-10-10T12:08:15Z</updated>
	<author>
		<name>Gre7g Luterman-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt&quot;&gt;&lt;P&gt;I freakin' hate Yahoo! mail. Here's the attachment I was trying to include.&lt;/P&gt;&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;/* Default linker script, for normal executables */
&lt;br&gt;OUTPUT_FORMAT(&amp;quot;elf32-avr&amp;quot;,&amp;quot;elf32-avr&amp;quot;,&amp;quot;elf32-avr&amp;quot;)
&lt;br&gt;OUTPUT_ARCH(avr:1)
&lt;br&gt;MEMORY
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; text &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (rx) : ORIGIN = 0x000000, LENGTH = 0x7D00
&lt;br&gt;&amp;nbsp; changes &amp;nbsp; &amp;nbsp; &amp;nbsp;(rx) : ORIGIN = 0x007D00, LENGTH = 0x0080
&lt;br&gt;&amp;nbsp; update &amp;nbsp; &amp;nbsp; &amp;nbsp; (rx) : ORIGIN = 0x007D80, LENGTH = 0x0280
&lt;br&gt;&amp;nbsp; data &amp;nbsp; &amp;nbsp; &amp;nbsp; (rw!x) : ORIGIN = 0x800060, LENGTH = 0x0800
&lt;br&gt;&amp;nbsp; eeprom &amp;nbsp; &amp;nbsp; (rw!x) : ORIGIN = 0x810000, LENGTH = 0x03FF
&lt;br&gt;&amp;nbsp; eelayver &amp;nbsp; (rw!x) : ORIGIN = 0x8103FF, LENGTH = 0x0001
&lt;br&gt;}
&lt;br&gt;SECTIONS
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; /* Read-only sections, merged into text segment: */
&lt;br&gt;&amp;nbsp; .hash &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.hash)		}
&lt;br&gt;&amp;nbsp; .dynsym &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynsym)		}
&lt;br&gt;&amp;nbsp; .dynstr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynstr)		}
&lt;br&gt;&amp;nbsp; .gnu.version &amp;nbsp; : { *(.gnu.version)	}
&lt;br&gt;&amp;nbsp; .gnu.version_d &amp;nbsp; : { *(.gnu.version_d)	}
&lt;br&gt;&amp;nbsp; .gnu.version_r &amp;nbsp; : { *(.gnu.version_r)	}
&lt;br&gt;&amp;nbsp; .rel.init &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.init)		}
&lt;br&gt;&amp;nbsp; .rela.init &amp;nbsp; &amp;nbsp; : { *(.rela.init)	}
&lt;br&gt;&amp;nbsp; .rel.text &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.text &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.fini &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.fini)		}
&lt;br&gt;&amp;nbsp; .rela.fini &amp;nbsp; &amp;nbsp; : { *(.rela.fini)	}
&lt;br&gt;&amp;nbsp; .rel.rodata &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.rodata &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.data &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.data &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.ctors &amp;nbsp; &amp;nbsp; : { *(.rel.ctors)	}
&lt;br&gt;&amp;nbsp; .rela.ctors &amp;nbsp; &amp;nbsp;: { *(.rela.ctors)	}
&lt;br&gt;&amp;nbsp; .rel.dtors &amp;nbsp; &amp;nbsp; : { *(.rel.dtors)	}
&lt;br&gt;&amp;nbsp; .rela.dtors &amp;nbsp; &amp;nbsp;: { *(.rela.dtors)	}
&lt;br&gt;&amp;nbsp; .rel.got &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.got)		}
&lt;br&gt;&amp;nbsp; .rela.got &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.got)		}
&lt;br&gt;&amp;nbsp; .rel.bss &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.bss)		}
&lt;br&gt;&amp;nbsp; .rela.bss &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.bss)		}
&lt;br&gt;&amp;nbsp; .rel.plt &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.plt)		}
&lt;br&gt;&amp;nbsp; .rela.plt &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.plt)		}
&lt;br&gt;&amp;nbsp; /* Internal text space or external memory. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .changes :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; changes_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.changes)
&lt;br&gt;&amp;nbsp; &amp;nbsp; changes_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;gt; changes
&lt;br&gt;&amp;nbsp; .update :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; update_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.update)
&lt;br&gt;&amp;nbsp; &amp;nbsp; update_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;gt; update
&lt;br&gt;&amp;nbsp; .text :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.vectors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(*(.vectors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For data that needs to reside in the lower 64k of progmem. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.progmem.gcc*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.progmem*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__trampolines_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* The jump trampolines for the 16-bit limited relocs will reside here. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.trampolines)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.trampolines*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__trampolines_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For future tablejump instruction arrays for 3 byte pc devices.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;We don't relax jump/call instructions within these sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.jumptables)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.jumptables*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* For code that needs to reside in the lower 128k progmem. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.lowtext)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.lowtext*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__ctors_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(.ctors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__ctors_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__dtors_start = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(.dtors)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__dtors_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(SORT(*)(.ctors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP(SORT(*)(.dtors))
&lt;br&gt;&amp;nbsp; &amp;nbsp; /* From this point on, we don't bother about wether the insns are
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;below or above the 16 bits boundary. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init0) &amp;nbsp;/* Start here after reset. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init0))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init1))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init2) &amp;nbsp;/* Clear __zero_reg__, set up stack pointer. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init2))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init4) &amp;nbsp;/* Initialize data and BSS. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init4))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init5)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init5))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init6) &amp;nbsp;/* C++ constructors. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init6))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init7)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init7))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init8)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init8))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init9) &amp;nbsp;/* Call main(). &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.init9))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini9) &amp;nbsp;/* _exit() starts here. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini9))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini8)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini8))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini7)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini7))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini6) &amp;nbsp;/* C++ destructors. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini6))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini5)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini5))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini4))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini2))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini1))
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini0) &amp;nbsp;/* Infinite loop after program termination. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; KEEP (*(.fini0))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_etext = . ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; text
&lt;br&gt;&amp;nbsp; .data	 &amp;nbsp;: AT (ADDR (.text) + SIZEOF (.text))
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__data_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.data*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.rodata) &amp;nbsp;/* We need to include .rodata here if gcc is used */
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.rodata*) /* with -fdata-sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_edata = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__data_end = .) ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; /* User-programming space */
&lt;br&gt;&amp;nbsp; . = _etext + SIZEOF(.data);
&lt;br&gt;&amp;nbsp; . = ALIGN(128);
&lt;br&gt;&amp;nbsp; __user_prog_start = .;
&lt;br&gt;&amp;nbsp; *.(.userprog.*) ;
&lt;br&gt;&amp;nbsp; .bss &amp;nbsp;SIZEOF(.data) + ADDR(.data):
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bss)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bss*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(COMMON)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_end = .) ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; &amp;nbsp;__data_load_start = LOADADDR(.data);
&lt;br&gt;&amp;nbsp; &amp;nbsp;__data_load_end = __data_load_start + SIZEOF(.data);
&lt;br&gt;&amp;nbsp; /* Global data not cleared after reset. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .noinit &amp;nbsp;SIZEOF(.bss) + ADDR(.bss) :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__noinit_start = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.noinit*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__noinit_end = .) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_end = . ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__heap_start = .) ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;nbsp; .eeprom &amp;nbsp;:
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.eeprom*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__eeprom_end = . ;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; eeprom
&lt;br&gt;&amp;nbsp; /* Stabs debugging sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .stab 0 : { *(.stab) }
&lt;br&gt;&amp;nbsp; .stabstr 0 : { *(.stabstr) }
&lt;br&gt;&amp;nbsp; .stab.excl 0 : { *(.stab.excl) }
&lt;br&gt;&amp;nbsp; .stab.exclstr 0 : { *(.stab.exclstr) }
&lt;br&gt;&amp;nbsp; .stab.index 0 : { *(.stab.index) }
&lt;br&gt;&amp;nbsp; .stab.indexstr 0 : { *(.stab.indexstr) }
&lt;br&gt;&amp;nbsp; .comment 0 : { *(.comment) }
&lt;br&gt;&amp;nbsp; /* DWARF debug sections.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Symbols in the DWARF debugging sections are relative to the beginning
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;of the section so we begin them at 0. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; /* DWARF 1 */
&lt;br&gt;&amp;nbsp; .debug &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug) }
&lt;br&gt;&amp;nbsp; .line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 : { *(.line) }
&lt;br&gt;&amp;nbsp; /* GNU DWARF 1 extensions */
&lt;br&gt;&amp;nbsp; .debug_srcinfo &amp;nbsp;0 : { *(.debug_srcinfo) }
&lt;br&gt;&amp;nbsp; .debug_sfnames &amp;nbsp;0 : { *(.debug_sfnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 1.1 and DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_aranges &amp;nbsp;0 : { *(.debug_aranges) }
&lt;br&gt;&amp;nbsp; .debug_pubnames 0 : { *(.debug_pubnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_info &amp;nbsp; &amp;nbsp; 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
&lt;br&gt;&amp;nbsp; .debug_abbrev &amp;nbsp; 0 : { *(.debug_abbrev) }
&lt;br&gt;&amp;nbsp; .debug_line &amp;nbsp; &amp;nbsp; 0 : { *(.debug_line) }
&lt;br&gt;&amp;nbsp; .debug_frame &amp;nbsp; &amp;nbsp;0 : { *(.debug_frame) }
&lt;br&gt;&amp;nbsp; .debug_str &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_str) }
&lt;br&gt;&amp;nbsp; .debug_loc &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_loc) }
&lt;br&gt;&amp;nbsp; .debug_macinfo &amp;nbsp;0 : { *(.debug_macinfo) }
&lt;br&gt;}
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19924272&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19924272.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19924197</id>
	<title>Link script question</title>
	<published>2008-10-10T12:04:01Z</published>
	<updated>2008-10-10T12:04:01Z</updated>
	<author>
		<name>Gre7g Luterman-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt&quot;&gt;&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif&quot;&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif&quot;&gt;
&lt;DIV style=&quot;FONT-SIZE: 12pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif&quot;&gt;
&lt;DIV&gt;From: Dave N6NZ &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19924197&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n6nz@...&lt;/a&gt;&amp;gt;&lt;BR&gt;To: Gre7g Luterman &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19924197&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hafeliel@...&lt;/a&gt;&amp;gt;&lt;BR&gt;Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19924197&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;&lt;BR&gt;Sent: Friday, October 10, 2008 11:02:21 AM&lt;BR&gt;Subject: Re: [avr-gcc-list] Link script question&lt;BR&gt;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt;&amp;gt; That would work, of course, but I'd have to designate a constant&lt;BR&gt;&amp;gt;&amp;gt; address for the block, right? &lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; No, not at all. That's the point of putting it in the linker script and &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; letting the linker compute the address.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;gt; The script as I have it now,&lt;BR&gt;&amp;gt;&amp;gt; automagically selects the first available block after my code. I&lt;BR&gt;&amp;gt;&amp;gt; really like having this done automatically for me.&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; And that is exactly what this does.&amp;nbsp; Take a look at the linker script &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; and how it works.&amp;nbsp; All my addition does is declare a named section that &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; starts at exactly the place that your __user_prog_start symbol is &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; defined.&amp;nbsp; It's really your solution, but with an additional name that &lt;/DIV&gt;
&lt;DIV&gt;&amp;gt; you can use as an attribute to a data section.&lt;/div&gt;&lt;BR&gt;Well, I don't get it. I tried sticking your solution in and I get:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;ld.exe:mega32.ld:177: syntax error&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Obviously I'm missing something. Your section definitions don't look like the others in the script. I'll attach the patched script to this e-mail. Perhaps someone can correct the syntax error and show me what I'm missing.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Gre7g&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19924197&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19924197p19924197.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19922270</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T10:02:21Z</published>
	<updated>2008-10-10T10:02:21Z</updated>
	<author>
		<name>Dave N6NZ</name>
	</author>
	<content type="html">Gre7g Luterman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; From: Dave N6NZ &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n6nz@...&lt;/a&gt;&amp;gt; To: Gre7g Luterman
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922270&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hafeliel@...&lt;/a&gt;&amp;gt; Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922270&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt; Sent: Thursday,
&lt;br&gt;&amp;gt;&amp;gt; October 9, 2008 8:56:07 PM Subject: Re: [avr-gcc-list] Link script
&lt;br&gt;&amp;gt;&amp;gt; question
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I would take very slightly different approach. &amp;nbsp;Make that a section
&lt;br&gt;&amp;gt;&amp;gt; of it's own, and put it in the linker script just after your
&lt;br&gt;&amp;gt;&amp;gt; exported symbol:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; __user_prog_start = .;
&lt;/div&gt;&amp;nbsp;&amp;gt;&amp;gt; *.(.userprog.*) ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That would work, of course, but I'd have to designate a constant
&lt;br&gt;&amp;gt; address for the block, right? 
&lt;br&gt;&lt;br&gt;No, not at all. That's the point of putting it in the linker script and 
&lt;br&gt;letting the linker compute the address.
&lt;br&gt;&lt;br&gt;&amp;gt; The script as I have it now,
&lt;br&gt;&amp;gt; automagically selects the first available block after my code. I
&lt;br&gt;&amp;gt; really like having this done automatically for me.
&lt;br&gt;&lt;br&gt;And that is exactly what this does. &amp;nbsp;Take a look at the linker script 
&lt;br&gt;and how it works. &amp;nbsp;All my addition does is declare a named section that 
&lt;br&gt;starts at exactly the place that your __user_prog_start symbol is 
&lt;br&gt;defined. &amp;nbsp;It's really your solution, but with an additional name that 
&lt;br&gt;you can use as an attribute to a data section.
&lt;br&gt;&lt;br&gt;-dave
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does anyone out there have a different solution I can try?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Gre7g
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________ AVR-GCC-list mailing
&lt;br&gt;&amp;gt; list &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922270&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922270&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19922270.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19921872</id>
	<title>Re: Link script question</title>
	<published>2008-10-10T09:39:38Z</published>
	<updated>2008-10-10T09:39:38Z</updated>
	<author>
		<name>Gre7g Luterman-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt&quot;&gt;&lt;P&gt;&amp;gt; From: Dave N6NZ &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921872&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;n6nz@...&lt;/a&gt;&amp;gt;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt; To: Gre7g Luterman &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921872&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hafeliel@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&amp;gt; Cc: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921872&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-gcc-list@...&lt;/a&gt;&lt;BR&gt;&amp;gt; Sent: Thursday, October 9, 2008 8:56:07 PM&lt;BR&gt;&amp;gt; Subject: Re: [avr-gcc-list] Link script question&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; I would take very slightly different approach.&amp;nbsp; Make that a section of &lt;BR&gt;&amp;gt; it's own, and put it in the linker script just after your exported symbol:&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt;&amp;nbsp; __user_prog_start = .;&lt;BR&gt;&amp;gt;&amp;nbsp; *.(.userprog.*) ;&lt;/div&gt;&lt;BR&gt;That would work, of course, but I'd have to designate a constant address for the block, right? The script as I have it now, &lt;EM&gt;automagically&lt;/EM&gt; selects the first available block after my code. I really like having this done automatically for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone out there have a different solution I can try?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gre7g&lt;/P&gt;&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921872&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19921872.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19919132</id>
	<title>New square root?</title>
	<published>2008-10-10T07:08:06Z</published>
	<updated>2008-10-10T07:08:06Z</updated>
	<author>
		<name>Ruudje</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I'm new to this list and project. So I don't really know how things work
&lt;br&gt;here.
&lt;br&gt;&lt;br&gt;Anyway. I have attached a proposed new SQRT.S file for LIBM. The sqrt
&lt;br&gt;routine in this file is fully tested (i.e. I have only tested the 2^24
&lt;br&gt;possible mantissa, I didn't change any exponent handling) the result of the
&lt;br&gt;test gave the same outcome for any value of rA2-rA0 for odd and even
&lt;br&gt;exponents. The proposed routine uses 16 code words less than the original
&lt;br&gt;and is 99-221 cycles faster..
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Hope this is of help
&lt;br&gt;&lt;br&gt;Ruud
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br /&gt;/* Copyright (c) 2002 &amp;nbsp;Michael Stumpf &amp;nbsp;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919132&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mistumpf@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;Copyright (c) 2006 &amp;nbsp;Dmitry Xmelkov
&lt;br&gt;&amp;nbsp; &amp;nbsp;Copyright (c) 2008 &amp;nbsp;Ruud v Gessel
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;All rights reserved.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Redistribution and use in source and binary forms, with or without
&lt;br&gt;&amp;nbsp; &amp;nbsp;modification, are permitted provided that the following conditions are met:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;* Redistributions of source code must retain the above copyright
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;notice, this list of conditions and the following disclaimer.
&lt;br&gt;&amp;nbsp; &amp;nbsp;* Redistributions in binary form must reproduce the above copyright
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;notice, this list of conditions and the following disclaimer in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;the documentation and/or other materials provided with the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;distribution.
&lt;br&gt;&amp;nbsp; &amp;nbsp;* Neither the name of the copyright holders nor the names of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;contributors may be used to endorse or promote products derived
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;from this software without specific prior written permission.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;quot;AS IS&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
&lt;br&gt;&amp;nbsp; &amp;nbsp;IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
&lt;br&gt;&amp;nbsp; &amp;nbsp;ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
&lt;br&gt;&amp;nbsp; &amp;nbsp;LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
&lt;br&gt;&amp;nbsp; &amp;nbsp;CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
&lt;br&gt;&amp;nbsp; &amp;nbsp;SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
&lt;br&gt;&amp;nbsp; &amp;nbsp;INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
&lt;br&gt;&amp;nbsp; &amp;nbsp;CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
&lt;br&gt;&amp;nbsp; &amp;nbsp;ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
&lt;br&gt;&amp;nbsp; &amp;nbsp;POSSIBILITY OF SUCH DAMAGE. */
&lt;br&gt;&lt;br&gt;/* $Id: sqrt.S,v 1.8 2007/01/14 15:13:10 dmix Exp $ */
&lt;br&gt;&lt;br&gt;#include &amp;quot;fp32def.h&amp;quot;
&lt;br&gt;#include &amp;quot;asmdef.h&amp;quot;
&lt;br&gt;&lt;br&gt;/* &amp;nbsp;double sqrt (double);
&lt;br&gt;&amp;nbsp; &amp;nbsp; Square root function.
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;&lt;br&gt;FUNCTION sqrt
&lt;br&gt;&lt;br&gt;.L_nf:	brne	.L_pk		; NaN, return as is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; brtc	.L_pk		; sqrt(+Inf) --&amp;gt; +Inf
&lt;br&gt;.L_nan:	rjmp	_U(__fp_nan)
&lt;br&gt;.L_pk:	rjmp	_U(__fp_mpack)
&lt;br&gt;&lt;br&gt;ENTRY sqrt
&lt;br&gt;&amp;nbsp; ; split and check arg.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rcall	_U(__fp_splitA)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; brcs	.L_nf		; !isfinite(A)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tst	rA3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; breq	.L_pk		; return 0 with original sign
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; brts	.L_nan		; sqrt(negative) --&amp;gt; NaN
&lt;br&gt;&amp;nbsp; ; exponent bias
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subi	rA3, 127
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbc	rB3, rB3	; exponent high byte
&lt;br&gt;&amp;nbsp; ; normalize, if A is subnormal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbrs	rA2, 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rcall	_U(__fp_norm2)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;#define	msk0	ZL
&lt;br&gt;#define msk1	ZH
&lt;br&gt;#define msk2	rBE
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clr	R0		; R0=0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldi	msk2,0x60
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X_movw	msk0,R0		; Initial rotation mask &amp;nbsp; = 011000000000000000000000 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldi	rB2,0xa0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X_movw	rB0,R0		; Initial developing root = 101000000000000000000000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subi	rA2,0x40
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbrc	rA3,0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rjmp	3f
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subi	rA2,0x40
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;.Loop:	brcs	1f		; C --&amp;gt; Bit is always 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cp	msk2,R0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpc	rA0,rB0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpc	rA1,rB1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpc	rA2,rB2		; Does test value fit?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; brcs	2f		; C --&amp;gt; nope, bit is 0
&lt;br&gt;&lt;br&gt;1:	cp	msk2,R0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbc	rA0,rB0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbc	rA1,rB1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbc	rA2,rB2		; Adjust argument for next bit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or	rB0,msk0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or	rB1,msk1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or	rB2,msk2	; Set bit to 1
&lt;br&gt;&lt;br&gt;2:	lsr	msk2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ror	msk1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ror	msk0		; Shift right mask, C --&amp;gt; end loop
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eor	rB0,msk0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eor	rB1,msk1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; eor	rB2,msk2	; Shift right only test bit in result
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rol	R0		; Bit 0 now set if end of loop
&lt;br&gt;3:	lsl	rA0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rol	rA1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rol	rA2		; Shift left remaining argument (C used at .Loop)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sbrs	R0,1		; Skip if 24 bits developed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rjmp	.Loop		; Develop 24 bits of the sqrt
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; brcs	4f		; C--&amp;gt; Last bits always 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cp	rB0,rA0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpc	rB1,rA1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cpc	rB2,rA2		; Test for last bit 1
&lt;br&gt;4:	adc	rB0,R1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; adc	rB1,R1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; adc	rB2,R1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X_movw	rA0, rB0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mov	rA2, rB2
&lt;br&gt;&lt;br&gt;&amp;nbsp; ; calculate result exponent
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lsr	rB3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ror	rA3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; subi	rA3, lo8(-127)		; exponent bias
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lsl	rA2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lsr	rA3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ror	rA2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ret
&lt;br&gt;ENDFUNC
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919132&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/New-square-root--tp19919132p19919132.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19911026</id>
	<title>Re: Link script question</title>
	<published>2008-10-09T19:56:07Z</published>
	<updated>2008-10-09T19:56:07Z</updated>
	<author>
		<name>Dave N6NZ</name>
	</author>
	<content type="html">I would take very slightly different approach. &amp;nbsp;Make that a section of 
&lt;br&gt;it's own, and put it in the linker script just after your exported symbol:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;__user_prog_start = .;
&lt;br&gt;&amp;nbsp; &amp;nbsp;*.(.userprog.*) ;
&lt;br&gt;&lt;br&gt;then create a simple .S
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;.section .userprog
&lt;br&gt;&amp;nbsp; &amp;nbsp;.byte 0xff ; is this the correct directive? I forget
&lt;br&gt;&amp;nbsp; &amp;nbsp;.end
&lt;br&gt;&lt;br&gt;anyway, that should put the 0xff into .userprog, which I presume will
&lt;br&gt;then be overwritten by your user data at a later time using the 
&lt;br&gt;mechanism that you have currently defined.
&lt;br&gt;&lt;br&gt;-dave
&lt;br&gt;&lt;br&gt;Gre7g Luterman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've got an avrgcc application that uses free Flash blocks to hold user code. To maximize the space available for the user, I start this area at the beginning of the first block following my application code. To locate this, I added the following to my linker script:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- mega32.orig 2008-10-09 17:14:10.921875000 -0600
&lt;br&gt;&amp;gt; +++ mega32.ld &amp;nbsp; 2008-10-09 12:48:58.281250000 -0600
&lt;br&gt;&amp;gt; @@ -170,6 +170,10 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; _edata = . ;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; PROVIDE (__data_end = .) ;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;} &amp;nbsp;&amp;gt; data
&lt;br&gt;&amp;gt; + &amp;nbsp;/* User-programming space */
&lt;br&gt;&amp;gt; + &amp;nbsp;. = _etext + SIZEOF(.data);
&lt;br&gt;&amp;gt; + &amp;nbsp;. = ALIGN(128);
&lt;br&gt;&amp;gt; + &amp;nbsp;__user_prog_start = .;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;.bss &amp;nbsp;SIZEOF(.data) + ADDR(.data) :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; PROVIDE (__bss_start = .) ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This works great. It creates __user_prog_start at the correct location. Then, in my application, I can initialize a variable to this value with:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; prog_uint8_t *VPC = (prog_uint8_t *) &amp;__user_prog_start;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This also works great. The problem is that this user space is completely uninitialized. I need to have at least one 0xFF at this location in my .hex file to insure that uploading a new version of my code will wipe out any user code that might have been there previously.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can anyone suggest an easy way to do this? Is there something I can add to my script to include an 0xFF at location __user_prog_start? Perhaps something I can do in one of the .c files .S files to stuff a single 0xFF there? Otherwise I'm going to have to write a program to alter the .hex file after its creation and that's awful Kludgey.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; Gre7g
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; AVR-GCC-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19911026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19911026&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19911026.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19909302</id>
	<title>Link script question</title>
	<published>2008-10-09T16:27:10Z</published>
	<updated>2008-10-09T16:27:10Z</updated>
	<author>
		<name>Gre7g Luterman-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman, new york, times, serif;font-size:12pt&quot;&gt;&lt;DIV&gt;I've got an avrgcc application that uses free Flash blocks to hold user code. To maximize the space available for the user, I start this area at the beginning of the first block following my application code. To locate this, I added the following to my linker script:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;--- mega32.orig 2008-10-09 17:14:10.921875000 -0600&lt;BR&gt;+++ mega32.ld&amp;nbsp;&amp;nbsp; 2008-10-09 12:48:58.281250000 -0600&lt;BR&gt;@@ -170,6 +170,10 @@&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _edata = . ;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROVIDE (__data_end = .) ;&lt;BR&gt;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &amp;gt; data&lt;BR&gt;+&amp;nbsp; &lt;STRONG&gt;/* User-programming space */&lt;BR&gt;&lt;/STRONG&gt;+&amp;nbsp; &lt;STRONG&gt;. = _etext + SIZEOF(.data);&lt;/STRONG&gt;&lt;BR&gt;+&amp;nbsp; &lt;STRONG&gt;. = ALIGN(128);&lt;BR&gt;&lt;/STRONG&gt;+&amp;nbsp; &lt;STRONG&gt;__user_prog_start = .;&lt;BR&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; .bss&amp;nbsp; SIZEOF(.data) + ADDR(.data) :&lt;BR&gt;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROVIDE (__bss_start = .) ;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This works great. It creates &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;__user_prog_start&lt;/STRONG&gt;&lt;/FONT&gt; at the correct location. Then, in my application, I can initialize a variable to this value with:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;prog_uint8_t *VPC = (prog_uint8_t *) &amp;amp;__user_prog_start;&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;This also works great. The problem is that this user space is completely uninitialized. I need to have at least one &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;0xFF&lt;/STRONG&gt;&lt;/FONT&gt; at this location in my &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;.hex&lt;/STRONG&gt;&lt;/FONT&gt; file to insure that uploading a new version of my code will wipe out any user code that might have been there previously.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Can anyone suggest an easy way to do this? Is there something I can add to my script to include an &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;0xFF&lt;/STRONG&gt;&lt;/FONT&gt; at location &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;__user_prog_start&lt;/STRONG&gt;&lt;/FONT&gt;? Perhaps something I can do in one of the&amp;nbsp;&lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;.c&lt;/STRONG&gt;&lt;/FONT&gt; files &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;.S&lt;/STRONG&gt;&lt;/FONT&gt; files&amp;nbsp;to stuff a single &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;0xFF&lt;/STRONG&gt;&lt;/FONT&gt; there? Otherwise I'm going to have to write a program to alter the &lt;FONT face=&quot;Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;STRONG&gt;.hex&lt;/STRONG&gt;&lt;/FONT&gt; file after its creation and that's awful Kludgey.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks!&lt;/DIV&gt;
&lt;DIV&gt;Gre7g&lt;/DIV&gt;&lt;/div&gt;&lt;br&gt;



      &lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-GCC-list mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19909302&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-GCC-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-gcc-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---gcc-f2010.html&quot; embed=&quot;fixTarget[2010]&quot; target=&quot;_top&quot; &gt;AVR - gcc&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Link-script-question-tp19909302p19909302.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19812240</id>
	<title>[bug #24446] _attribute_ should be __attribute__ (with double underscores)</title>
	<published>2008-10-04T06:55:44Z</published>
	<updated>2008-10-04T06:55:44Z</updated>
	<author>
		<name>Steven Robson-3</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #24446 (project avr-libc):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fixed Release: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; 1.6.3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?24446&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?24446&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19812240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-bug--24446--_attribute_-should-be-__attribute__-%28with-double-underscores%29-tp19807594p19812240.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19812235</id>
	<title>[bug #24446] _attribute_ should be __attribute__ (with double underscores)</title>
	<published>2008-10-04T06:55:19Z</published>
	<updated>2008-10-04T06:55:19Z</updated>
	<author>
		<name>Steven Robson-3</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #24446 (project avr-libc):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; joerg_wunsch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open =&amp;gt; Closed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?24446&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?24446&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Nachricht geschickt von/durch Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19812235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-bug--24446--_attribute_-should-be-__attribute__-%28with-double-underscores%29-tp19807594p19812235.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19807594</id>
	<title>[bug #24446] _attribute_ should be __attribute__ (with double underscores)</title>
	<published>2008-10-03T16:55:07Z</published>
	<updated>2008-10-03T16:55:07Z</updated>
	<author>
		<name>Steven Robson-3</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?24446&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?24446&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: _attribute_ should be __attribute__ (with double
&lt;br&gt;underscores)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AVR C Runtime Library
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: jnweiger
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Fri 03 Oct 2008 11:55:04 PM GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: Documentation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: 5 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: Header files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Percent Complete: 0%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Release: 1.6.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fixed Release: None
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;the suggested code needs this to compile:
&lt;br&gt;&lt;br&gt;avr/include/avr/wdt.h &amp;nbsp; &amp;nbsp;2008-09-26 10:25:48.000000000 +0200
&lt;br&gt;+++ ./wdt.h &amp;nbsp; &amp;nbsp; 2008-10-04 01:55:38.000000000 +0200
&lt;br&gt;@@ -70,7 +70,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;#include &amp;lt;stdint.h&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;#include &amp;lt;avr/wdt.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;uint8_t mcusr_mirror _attribute_ ((section (&amp;quot;.noinit&amp;quot;)));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;uint8_t mcusr_mirror __attribute__ ((section (&amp;quot;.noinit&amp;quot;)));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void get_mcusr(void) \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__attribute__((naked)) \
&lt;br&gt;user-manual-1.6.2/group__avr__watchdog.html &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2008-04-02
&lt;br&gt;23:03:07.000000000 +0200
&lt;br&gt;+++ ./group__avr__watchdog.html 2008-10-04 01:51:45.000000000 +0200
&lt;br&gt;@@ -34,7 +34,7 @@
&lt;br&gt;&amp;nbsp;&amp;lt;div class=&amp;quot;fragment&amp;quot;&amp;gt;&amp;lt;pre class=&amp;quot;fragment&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;preprocessor&amp;quot;&amp;gt; &amp;nbsp; 
&lt;br&gt;#include &amp;lt;&amp;lt;a class=&amp;quot;code&amp;quot; href=&amp;quot;stdint_8h.html&amp;quot;&amp;gt;stdint.h&amp;lt;/a&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;span class=&amp;quot;preprocessor&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp;#include &amp;lt;&amp;lt;a class=&amp;quot;code&amp;quot;
&lt;br&gt;href=&amp;quot;wdt_8h.html&amp;quot;&amp;gt;avr/wdt.h&amp;lt;/a&amp;gt;&amp;gt;&amp;lt;/span&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;&amp;lt;a class=&amp;quot;code&amp;quot;
&lt;br&gt;href=&amp;quot;group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5&amp;quot;&amp;gt;uint8_t&amp;lt;/a&amp;gt;
&lt;br&gt;mcusr_mirror _attribute_ ((section (&amp;lt;span
&lt;br&gt;class=&amp;quot;stringliteral&amp;quot;&amp;gt;&amp;quot;.noinit&amp;quot;&amp;lt;/span&amp;gt;)));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;lt;a class=&amp;quot;code&amp;quot;
&lt;br&gt;href=&amp;quot;group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5&amp;quot;&amp;gt;uint8_t&amp;lt;/a&amp;gt;
&lt;br&gt;mcusr_mirror __attribute__ ((section (&amp;lt;span
&lt;br&gt;class=&amp;quot;stringliteral&amp;quot;&amp;gt;&amp;quot;.noinit&amp;quot;&amp;lt;/span&amp;gt;)));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;span class=&amp;quot;keywordtype&amp;quot;&amp;gt;void&amp;lt;/span&amp;gt; get_mcusr(&amp;lt;span
&lt;br&gt;class=&amp;quot;keywordtype&amp;quot;&amp;gt;void&amp;lt;/span&amp;gt;) \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;__attribute__((naked)) \
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?24446&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?24446&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-libc-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19807594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-libc-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-libc-dev&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---Libc---Dev-f2012.html&quot; embed=&quot;fixTarget[2012]&quot; target=&quot;_top&quot; &gt;AVR - Libc - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-bug--24446--_attribute_-should-be-__attribute__-%28with-double-underscores%29-tp19807594p19807594.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19807498</id>
	<title>Re: What does potential Microchip buy out of Atmel mean forfuture of AVR?</title>
	<published>2008-10-03T16:43:59Z</published>
	<updated>2008-10-03T16:43:59Z</updated>
	<author>
		<name>Xiaofan Chen</name>
	</author>
	<content type="html">On Fri, Oct 3, 2008 at 6:08 PM, Bob Paddock &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19807498&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob.paddock@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thursday 02 October 2008 05:22:18 pm Weddington, Eric wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Remember, the news reports says that this an *offer* to buy the company.
&lt;br&gt;&amp;gt;&amp;gt; The news reports also say that discussions between the CEO took place in
&lt;br&gt;&amp;gt;&amp;gt; early September and that Atmel's Board of Directors *declined* the offer at
&lt;br&gt;&amp;gt;&amp;gt; that time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, that did happen in September, this happened yesterday (Oct 2/2008):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.eetimes.eu/showArticle.jhtml?articleID=210605347&amp;cid=NL_eeteu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.eu/showArticle.jhtml?articleID=210605347&amp;cid=NL_eeteu&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;We feel our offer is too compelling not to take it to shareholders,&amp;quot; said
&lt;br&gt;&amp;gt; Steve Sanghi, chairman, president and CEO at Microchip, during a conference
&lt;br&gt;&amp;gt; call with analysts following the announcement of the offer on Thursday (Oct.
&lt;br&gt;&amp;gt; 2). &amp;quot;We came to this point after we heard from Atmel that they were not
&lt;br&gt;&amp;gt; interested.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Rest assured that they will keep AVR lines, and majority of the MCU
&lt;br&gt;lines like ARM7/ARM9 and the to be released Cortex M3 line and hopefully
&lt;br&gt;the 8051 line (not so sure about AVR32 and the 4bit line).
&lt;br&gt;&lt;br&gt;Microchip's Sanghi: Why we want Atmel
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.eetimes.com/showArticle.jhtml?articleID=210605543&amp;cid=NL_eet&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.com/showArticle.jhtml?articleID=210605543&amp;cid=NL_eet&lt;/a&gt;&lt;br&gt;&lt;br&gt;With Microchip's stand of not obsoleting a product (they almost never do it),
&lt;br&gt;the AVR customers will be happy. In my previous job, we used PIC and
&lt;br&gt;AVR at the same time. In my current job, we use Atmel 8051 and ARM7
&lt;br&gt;MCUs, I am not worried about the bid should the bid goes through. I
&lt;br&gt;will no longer worry about the product obsolescence issue. Atmel just
&lt;br&gt;obsoleted some 5V EEPROMs which caused us a few redesigns
&lt;br&gt;switching to Microchip EEPROMs.
&lt;br&gt;&lt;br&gt;Xiaofan
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19807498&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19807498.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19805298</id>
	<title>micaz development</title>
	<published>2008-10-03T13:45:44Z</published>
	<updated>2008-10-03T13:45:44Z</updated>
	<author>
		<name>Michael von Hauff</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;I was wondering if anyone has work on the micaz(atmega 128 based) hardware platform using libraries other than tinyos?&lt;br&gt;&lt;br&gt;The programming interface is the mib510/520.&lt;br&gt;&lt;br&gt;&lt;br&gt;I have heard that avrDUDE now supports those programmers, but I have never compiled avrDude for use in windows so I am not sure what type of headache i am looking at (I am not a linux/cygwin power user, so I can follow directions but have limited problem solving skills when dealing with linux/cygwin stuff)&lt;br&gt;
&lt;br&gt;&lt;br&gt;Thanks in advance!&lt;br&gt;&lt;br&gt;&lt;br&gt;mike.&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19805298&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/micaz-development-tp19805298p19805298.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19804561</id>
	<title>Re: Is this efficient?</title>
	<published>2008-10-03T12:55:37Z</published>
	<updated>2008-10-03T12:55:37Z</updated>
	<author>
		<name>Ruud Vlaming</name>
	</author>
	<content type="html">On Friday 03 October 2008 19:57, you wrote:
&lt;br&gt;&amp;gt; &amp;gt; I cannot test it with _SFR_IO_REG_P, although that macro seems to be 
&lt;br&gt;&amp;gt; &amp;gt; meant for the purpose:
&lt;br&gt;&amp;gt; &amp;gt; Somewhere i am missing the point i guess. 
&lt;br&gt;&lt;br&gt;&amp;gt; The _SFR_IO_REG_P() macro is designed to be used in the C code itself, 
&lt;br&gt;&amp;gt; not in any preprocessor statements. Something like: 
&lt;br&gt;&amp;gt; if (_SFR_IO_REG_P(TIMSK))  ...
&lt;br&gt;&lt;br&gt;Ok that is the point i was missing. Stupid of me. However i really need
&lt;br&gt;this on preprocessor level, so i guess my solution was not that
&lt;br&gt;bad after all. Only disadvantage is it cannot be placed in header
&lt;br&gt;files also being used in .s files. Well, you cannot have everthing in life ;-)
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;Ruud
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19804561&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-this-efficient--tp19801271p19804561.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19802883</id>
	<title>RE: Is this efficient?</title>
	<published>2008-10-03T11:03:30Z</published>
	<updated>2008-10-03T11:03:30Z</updated>
	<author>
		<name>Weddington, Eric-2</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802883&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp;On Behalf Of Weddington, Eric
&lt;br&gt;&amp;gt; Sent: Friday, October 03, 2008 11:57 AM
&lt;br&gt;&amp;gt; To: Ruud Vlaming; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802883&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [avr-chat] Is this efficient?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The _SFR_IO_REG_P() macro is designed to be used in the C 
&lt;br&gt;&amp;gt; code itself, not in any preprocessor statements. Something like:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; if _SFR_IO_REG_P(TIMSK)
&lt;/div&gt;&lt;br&gt;Obvious missing parens:
&lt;br&gt;&lt;br&gt;&amp;gt; if (_SFR_IO_REG_P(TIMSK))
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802883&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-this-efficient--tp19801271p19802883.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19802779</id>
	<title>RE: Is this efficient?</title>
	<published>2008-10-03T10:57:11Z</published>
	<updated>2008-10-03T10:57:11Z</updated>
	<author>
		<name>Weddington, Eric-2</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802779&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp;On Behalf Of Ruud Vlaming
&lt;br&gt;&amp;gt; Sent: Friday, October 03, 2008 10:28 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802779&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [avr-chat] Is this efficient?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To find out if a register is in the io space in .c files,
&lt;br&gt;&amp;gt; i use the following, ugly, construct:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #undef &amp;nbsp;_SFR_IO8 &amp;nbsp;
&lt;br&gt;&amp;gt; #define _SFR_IO8(arg) (arg) 
&lt;br&gt;&amp;gt; &amp;nbsp; #if (TIMSK &amp;lt; 0x40)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; blah blah &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; #else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; bloh bloh
&lt;br&gt;&amp;gt; &amp;nbsp; #endif
&lt;br&gt;&amp;gt; #undef &amp;nbsp;_SFR_IO8 &amp;nbsp;
&lt;br&gt;&amp;gt; #define _SFR_IO8(arg) (*(volatile uint8_t *)((arg) + 0x20))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I cannot test it with _SFR_IO_REG_P, although that macro seems to be 
&lt;br&gt;&amp;gt; meant for the purpose:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; #if _SFR_IO_REG_P(TIMSK) 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; for that gives the error:
&lt;br&gt;&amp;gt; &amp;nbsp; error: operator '*' has no left operand
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Somewhere i am missing the point i guess. 
&lt;br&gt;&amp;gt; Who knows the proper way to do such things?
&lt;/div&gt;&lt;br&gt;The _SFR_IO_REG_P() macro is designed to be used in the C code itself, not in any preprocessor statements. Something like:
&lt;br&gt;&lt;br&gt;if _SFR_IO_REG_P(TIMSK)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; // TIMSK is an IO register.
&lt;br&gt;}
&lt;br&gt;else
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; // TIMSK is not an IO register.
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Thoroughly untested. And yes it creates more code, as it does not conditional compilation.
&lt;br&gt;&lt;br&gt;If you look at the implementation of the _SFR_IO_REG_P() macro, it is taking the address of the register and typecasting. IIRC, the preprocessor is not that smart. It is not enough C-aware to be able to handle this in preprocessor statements. But it should work in regular C code.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;Eric
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19802779&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-this-efficient--tp19801271p19802779.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19801271</id>
	<title>Is this efficient?</title>
	<published>2008-10-03T09:27:36Z</published>
	<updated>2008-10-03T09:27:36Z</updated>
	<author>
		<name>Ruud Vlaming</name>
	</author>
	<content type="html">To find out if a register is in the io space in .c files,
&lt;br&gt;i use the following, ugly, construct:
&lt;br&gt;&lt;br&gt;#undef &amp;nbsp;_SFR_IO8 &amp;nbsp;
&lt;br&gt;#define _SFR_IO8(arg) (arg) 
&lt;br&gt;&amp;nbsp; #if (TIMSK &amp;lt; 0x40)
&lt;br&gt;&amp;nbsp; &amp;nbsp; blah blah &amp;nbsp;
&lt;br&gt;&amp;nbsp; #else
&lt;br&gt;&amp;nbsp; &amp;nbsp; bloh bloh
&lt;br&gt;&amp;nbsp; #endif
&lt;br&gt;#undef &amp;nbsp;_SFR_IO8 &amp;nbsp;
&lt;br&gt;#define _SFR_IO8(arg) (*(volatile uint8_t *)((arg) + 0x20))
&lt;br&gt;&lt;br&gt;I cannot test it with _SFR_IO_REG_P, although that macro seems to be 
&lt;br&gt;meant for the purpose:
&lt;br&gt;&lt;br&gt;&amp;nbsp; #if _SFR_IO_REG_P(TIMSK) 
&lt;br&gt;&lt;br&gt;for that gives the error:
&lt;br&gt;&amp;nbsp; error: operator '*' has no left operand
&lt;br&gt;&lt;br&gt;Somewhere i am missing the point i guess. 
&lt;br&gt;Who knows the proper way to do such things?
&lt;br&gt;&lt;br&gt;Ruud
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19801271&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-this-efficient--tp19801271p19801271.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19795188</id>
	<title>Re: What does potential Microchip buy out of Atmel mean forfuture of AVR?</title>
	<published>2008-10-03T03:08:42Z</published>
	<updated>2008-10-03T03:08:42Z</updated>
	<author>
		<name>Bob Paddock</name>
	</author>
	<content type="html">On Thursday 02 October 2008 05:22:18 pm Weddington, Eric wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Remember, the news reports says that this an *offer* to buy the company.
&lt;br&gt;&amp;gt; The news reports also say that discussions between the CEO took place in
&lt;br&gt;&amp;gt; early September and that Atmel's Board of Directors *declined* the offer at
&lt;br&gt;&amp;gt; that time.
&lt;br&gt;&lt;br&gt;Yes, that did happen in September, this happened yesterday (Oct 2/2008):
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eetimes.eu/showArticle.jhtml?articleID=210605347&amp;cid=NL_eeteu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.eu/showArticle.jhtml?articleID=210605347&amp;cid=NL_eeteu&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;We feel our offer is too compelling not to take it to shareholders,&amp;quot; said 
&lt;br&gt;Steve Sanghi, chairman, president and CEO at Microchip, during a conference 
&lt;br&gt;call with analysts following the announcement of the offer on Thursday (Oct. 
&lt;br&gt;2). &amp;quot;We came to this point after we heard from Atmel that they were not 
&lt;br&gt;interested.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.wearablesmartsensors.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.wearablesmartsensors.com/&lt;/a&gt;&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.softwaresafety.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.softwaresafety.net/&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.designer-iii.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.designer-iii.com/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.unusualresearch.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.unusualresearch.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19795188&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19795188.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19792544</id>
	<title>Re: &quot;#pragma reentrant&quot; no effect in avr-GCC ?</title>
	<published>2008-10-02T22:55:47Z</published>
	<updated>2008-10-02T22:55:47Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">David Kelly &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19792544&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dkelly@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Would not be surprised if there are gcc targets which require this
&lt;br&gt;&amp;gt; pragma.
&lt;br&gt;&lt;br&gt;GCC never uses pragmas except where mandated by the C standard.
&lt;br&gt;&lt;br&gt;If at all, it would be a function attribute. &amp;nbsp;However, als already
&lt;br&gt;mentioned, GCC-compiled functions are as reentrant as the developer
&lt;br&gt;designed them by default. &amp;nbsp;There are occasionally /negative/
&lt;br&gt;attributes that affect reentrancy, like the new OS_main and OS_task
&lt;br&gt;attributes in AVR-GCC.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19792544&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%22-pragma-reentrant%22-no-effect-in-avr-GCC---tp19774209p19792544.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19789484</id>
	<title>Re: What does potential Microchip buy out of Atmel mean for future of AVR?</title>
	<published>2008-10-02T16:21:46Z</published>
	<updated>2008-10-02T16:21:46Z</updated>
	<author>
		<name>Xiaofan Chen</name>
	</author>
	<content type="html">On Fri, Oct 3, 2008 at 3:49 AM, David VanHorn &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19789484&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;microbrix@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Thu, Oct 2, 2008 at 3:35 PM, Bob Paddock &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19789484&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graceindustries@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; My boss just came in my cube in a panic asked &amp;quot;What have
&lt;br&gt;&amp;gt;&amp;gt; you heard about Microchip and On Semi. buying Atmel?
&lt;br&gt;&amp;gt;&amp;gt; Is this going to be a problem for us?&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On the other hand, maybe they'll dump the PIC! &amp;nbsp;(evil grin)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Seriously, it's possible that they will keep the AVR, and give us
&lt;br&gt;&amp;gt; tools that work, and real support!
&lt;br&gt;&lt;br&gt;If the offer will be successful (it has been rejected), I guess
&lt;br&gt;it is hard for Microchip to keep all 8-bit MCU lines
&lt;br&gt;(Atmel's 8051 and AVR, Microchop's PIC12/16/18).
&lt;br&gt;I hope they keep all the lines though. At work, we
&lt;br&gt;are using Atmel's 8051. And I was using PIC12/16
&lt;br&gt;in the previous job. And AVR apparently beats most
&lt;br&gt;of the PIC18 handsomely in terms of price and
&lt;br&gt;performance. That is why Microchip started to
&lt;br&gt;offer PIC18J and PIC18K.
&lt;br&gt;&lt;br&gt;Atmel's ARM line is quite good, maybe AVR32 would
&lt;br&gt;be killed. And maybe PIC32 line would be killed as well.
&lt;br&gt;&lt;br&gt;Xiaofan
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19789484&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19789484.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19787865</id>
	<title>RE: What does potential Microchip buy out of Atmel mean forfuture of AVR?</title>
	<published>2008-10-02T14:22:18Z</published>
	<updated>2008-10-02T14:22:18Z</updated>
	<author>
		<name>Weddington, Eric-2</name>
	</author>
	<content type="html">Hi Bob,
&lt;br&gt;&lt;br&gt;Remember, the news reports says that this an *offer* to buy the company. The news reports also say that discussions between the CEO took place in early September and that Atmel's Board of Directors *declined* the offer at that time.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19787865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19787865&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat-bounces+eweddington=cso.atmel.com@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp;On Behalf Of Bob Paddock
&lt;br&gt;&amp;gt; Sent: Thursday, October 02, 2008 1:36 PM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19787865&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avr-chat@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [avr-chat] What does potential Microchip buy out of 
&lt;br&gt;&amp;gt; Atmel mean forfuture of AVR?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My boss just came in my cube in a panic asked &amp;quot;What have
&lt;br&gt;&amp;gt; you heard about Microchip and On Semi. buying Atmel?
&lt;br&gt;&amp;gt; Is this going to be a problem for us?&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; He is worried that Microchip will kill the AVR, that
&lt;br&gt;&amp;gt; we use by the tens of thousands per year.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID&lt;/a&gt;&lt;br&gt;&amp;gt; =210605267
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Microchip has already said:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;Microchip said it intends to dispose of Atmel's ASIC business after
&lt;br&gt;&amp;gt; completing the acquisition.&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What else will they dispose of?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;Microchip (Chandler, Ariz.) says ON Semiconductor (Phoenix) 
&lt;br&gt;&amp;gt; would acquire the
&lt;br&gt;&amp;gt; assets related to Atmel's nonvolatile memory and RF and 
&lt;br&gt;&amp;gt; automotive businesses
&lt;br&gt;&amp;gt; immediately prior to the closing of a merger. &amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do the Dataflash (vs EEPROM division) parts go to Microchip 
&lt;br&gt;&amp;gt; or On Semi?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; AVR-chat mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19787865&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19787865&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19787865.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19786663</id>
	<title>Re: What does potential Microchip buy out of Atmel mean for future of AVR?</title>
	<published>2008-10-02T13:06:09Z</published>
	<updated>2008-10-02T13:06:09Z</updated>
	<author>
		<name>Ruud Vlaming</name>
	</author>
	<content type="html">On Thursday 02 October 2008 21:35, Bob Paddock wrote:
&lt;br&gt;&amp;gt; My boss just came in my cube in a panic asked &amp;quot;What have
&lt;br&gt;&amp;gt; you heard about Microchip and On Semi. buying Atmel?
&lt;br&gt;&amp;gt; Is this going to be a problem for us?&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; He is worried that Microchip will kill the AVR, that
&lt;br&gt;&amp;gt; we use by the tens of thousands per year.
&lt;br&gt;Although it is unlikely that the will stop production
&lt;br&gt;of a chip that is sure business, they can easily stop
&lt;br&gt;innovation and development in that direction.
&lt;br&gt;AVR is still very much &amp;quot;alive and kicking&amp;quot;, and it
&lt;br&gt;should stay that way.
&lt;br&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=210605267&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=210605267&lt;/a&gt;&lt;br&gt;It is realy bad news. I sincerely hope the management
&lt;br&gt;of Atmel is able to withstand the pressure and keep off
&lt;br&gt;this deal. 
&lt;br&gt;&lt;br&gt;Ruud.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19786663&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19786663.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19786373</id>
	<title>Re: What does potential Microchip buy out of Atmel mean for future of AVR?</title>
	<published>2008-10-02T12:49:03Z</published>
	<updated>2008-10-02T12:49:03Z</updated>
	<author>
		<name>David VanHorn-2</name>
	</author>
	<content type="html">On Thu, Oct 2, 2008 at 3:35 PM, Bob Paddock &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19786373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;graceindustries@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; My boss just came in my cube in a panic asked &amp;quot;What have
&lt;br&gt;&amp;gt; you heard about Microchip and On Semi. buying Atmel?
&lt;br&gt;&amp;gt; Is this going to be a problem for us?&amp;quot;
&lt;br&gt;&lt;br&gt;HOLY SHIT BATMAN!
&lt;br&gt;&lt;br&gt;On the other hand, maybe they'll dump the PIC! &amp;nbsp;(evil grin)
&lt;br&gt;&lt;br&gt;Seriously, it's possible that they will keep the AVR, and give us
&lt;br&gt;tools that work, and real support!
&lt;br&gt;&lt;br&gt;Possible....
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19786373&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19786373.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19786159</id>
	<title>What does potential Microchip buy out of Atmel mean for future of AVR?</title>
	<published>2008-10-02T12:35:42Z</published>
	<updated>2008-10-02T12:35:42Z</updated>
	<author>
		<name>Bob Paddock-3</name>
	</author>
	<content type="html">My boss just came in my cube in a panic asked &amp;quot;What have
&lt;br&gt;you heard about Microchip and On Semi. buying Atmel?
&lt;br&gt;Is this going to be a problem for us?&amp;quot;
&lt;br&gt;&lt;br&gt;He is worried that Microchip will kill the AVR, that
&lt;br&gt;we use by the tens of thousands per year.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=210605267&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=210605267&lt;/a&gt;&lt;br&gt;&lt;br&gt;Microchip has already said:
&lt;br&gt;&lt;br&gt;&amp;quot;Microchip said it intends to dispose of Atmel's ASIC business after
&lt;br&gt;completing the acquisition.&amp;quot;
&lt;br&gt;&lt;br&gt;What else will they dispose of?
&lt;br&gt;&lt;br&gt;&amp;quot;Microchip (Chandler, Ariz.) says ON Semiconductor (Phoenix) would acquire the
&lt;br&gt;assets related to Atmel's nonvolatile memory and RF and automotive businesses
&lt;br&gt;immediately prior to the closing of a merger. &amp;quot;
&lt;br&gt;&lt;br&gt;Do the Dataflash (vs EEPROM division) parts go to Microchip or On Semi?
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19786159&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-does-potential-Microchip-buy-out-of-Atmel-mean-for-future-of-AVR--tp19786159p19786159.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19777556</id>
	<title>Re: &quot;#pragma reentrant&quot; no effect in avr-GCC ?</title>
	<published>2008-10-02T04:34:52Z</published>
	<updated>2008-10-02T04:34:52Z</updated>
	<author>
		<name>David Kelly</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 2, 2008, at 1:52 AM, Tobias Drößler wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; my question is in the subject-line ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i try to understand &amp;nbsp;some &amp;nbsp;c-sources ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i read that this line &amp;nbsp;in &amp;quot;genearal&amp;quot; c (compiler depended) &amp;nbsp;means &amp;nbsp;
&lt;br&gt;&amp;gt; that the function(s) &amp;nbsp;can be re-entered while it is already running.
&lt;br&gt;&amp;gt; but compiled with the avr-gcc -- there is no effect in the &amp;nbsp;
&lt;br&gt;&amp;gt; programcode, or is that wrong?
&lt;/div&gt;&lt;br&gt;I haven't seen any need for it in avr-gcc, but Metrowerks C for the &amp;nbsp;
&lt;br&gt;HC12 requires a similar modification to a function definition if it &amp;nbsp;
&lt;br&gt;is to be reentrant. Metrowerks rewrites and reorders one's code much &amp;nbsp;
&lt;br&gt;more aggressively than I've seen of avr-gcc.
&lt;br&gt;&lt;br&gt;Would not be surprised if there are gcc targets which require this &amp;nbsp;
&lt;br&gt;pragma.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;David Kelly N4HHE, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19777556&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dkelly@...&lt;/a&gt;
&lt;br&gt;========================================================================
&lt;br&gt;Whom computers would destroy, they must first drive mad.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;AVR-chat mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19777556&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;AVR-chat@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avr-chat&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avr-chat&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/AVR---General-f2011.html&quot; embed=&quot;fixTarget[2011]&quot; target=&quot;_top&quot; &gt;AVR - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%22-pragma-reentrant%22-no-effect-in-avr-GCC---tp19774209p19777556.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19774821</id>
	<title>Re: &quot;#pragma reentrant&quot; no effect in avr-GCC ?</title>
	<published>2008-10-02T00:51:43Z</published>
	<updated>2008-10-02T00:51:43Z</updated>
	<author>
		<name>Pertti Kellomäki-2</name>
	</author>
	<content type="html">Tobias Drößler wrote:
&lt;br&gt;&amp;gt; i read that this line &amp;nbsp;in &amp;quot;genearal&amp;quot; c (compiler depended) &amp;nbsp;means that 
&lt;br&gt;&amp;gt; the function(s) &amp;nbsp;can be re-entered while it is already running.
&lt;br&gt;&amp;gt; but compiled with the avr-gcc -- there is no effect in the programcode, 
&lt;br&gt;&amp;gt; or is that wrong?
&lt;br&gt;&lt;br&gt;Don't know about avr-gcc in particular, but if 