[PATCH] AVR32 bzero() produces no code

Geoffrey Wossum geoffrey at pager.net
Thu Mar 13 16:07:00 UTC 2008


Hi all,

Found a problem with the AVR32 optimized bzero() code.  Due to a missing 
#include, it actually generated no code.  Below is a patch against the 
uClibc-0.9.29-002-atmel.1.patch version found in OpenEmbedded.

---
Geoffrey


--- uClibc-0.9.29-orig/libc/string/avr32/bzero.S	2008-03-10 15:02:14.000000000 -0500
+++ uClibc-0.9.29/libc/string/avr32/bzero.S	2008-03-10 15:05:39.000000000 -0500
@@ -6,6 +6,8 @@
  * archive for more details.
  */
 
+#include <features.h>
+
 #ifdef __UCLIBC_SUSV3_LEGACY__
 
 	.text




More information about the uClibc mailing list