Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 21:12:41 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 104723 for review
Message-ID:  <200608212112.k7LLCfJ7049695@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104723

Change 104723 by imp@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 | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608212112.k7LLCfJ7049695>