Subject: Re: more on sparc svr4 emul problem
To: Todd Whitesel <toddpw@best.com>
From: Klaus Klein <kleink@ira.uka.de>
List: port-sparc
Date: 02/07/2000 13:29:16
Todd Whitesel <toddpw@best.com> writes:
> > Huh? Alignment directives (in both .align and .common) on the SPARC
> > aren't logarithmic, neither in ELF nor (unlike on the x86) a.out
> > toolchains.
>
> Somebody needs to tell the sparc assembler then...
That's fairly simple, once you look at it. Whenever a .common
directive with an alignment parameter is processed, the gas updates
the alignment requirements of the bss section as well via
record_alignment(). That interface, however, takes a logarithmic
argument (as does frag_align()).
I've committed a fix; check out tc-sparc rev. 1.4.