PERFORCE change 104723 for review

Warner Losh imp at FreeBSD.org
Mon Aug 21 21:12:42 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=104723

Change 104723 by imp at imp_lighthouse on 2006/08/21 21:12:17

	Get the types right for __bss_start__ and end.  Turns out that
	they are declared by the linker script to be a common area, which
	means they are an array, not a pointer.

Affected files ...

.. //depot/projects/arm/src/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c#9 edit

Differences ...

==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c#9 (text) ====

@@ -30,8 +30,8 @@
 #include "at91rm9200.h"
 #include "at91rm9200_lowlevel.h"
 
-extern void *__bss_start__;
-extern void *__bss_end__;
+extern int __bss_start__[];
+extern int __bss_end__[];
 
 #define BAUD	115200
 #define AT91C_US_ASYNC_MODE (AT91C_US_USMODE_NORMAL | AT91C_US_NBSTOP_1_BIT | \


More information about the p4-projects mailing list