This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: powerpc-eabi and -msdata
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: powerpc-eabi and -msdata
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 19 Jun 2001 12:35:08 -0700
- Cc: jtc at redback dot com, binutils at sourceware dot cygnus dot com
- References: <5mr8wlityu.fsf@jtc.redback.com> <200106152044.NAA09378@geoffk.org>
On Fri, Jun 15, 2001 at 01:44:29PM -0700, Geoff Keating wrote:
> Declare them in C as
>
> void __bss_start;
I'd recommend "extern char __bss_start[]" instead. Otherwise
you'll almost certainly run afoul of .sdata type optimizations
in the compiler.
r~