Subject: Re: ELF and m68k
To: Todd Vierling <tv@wasabisystems.com>
From: Steve Woodford <scw@netbsd.org>
List: tech-toolchain
Date: 12/05/2000 14:39:28
On Tue, 5 Dec 2000, Todd Vierling wrote:

> On Tue, 5 Dec 2000, Steve Woodford wrote:
> 
> : The linker produces the warning only in a few cases, where the variable is
> : declared uninitialised in one source/header file and declared initialised
> : in another.
> 
> To my knowledge, this is a violation of common sections -- if it's
> initialized in one file, it should wind up in a data section (instead of a
> common bss section) and cause the linker to fail.

The variable *does* end up in the data section of the final binary, which
is why the resulting programs still work. :)

> These would, then, be bugs in *our source* that should be fixed.

If there are no objections, I'll squish the obvious ones I get while
building m68k elf.

Cheers, Steve