Any MIPS experts?
Maciej W. Rozycki
macro@linux-mips.org
Fri Sep 23 16:51:00 GMT 2005
On Thu, 22 Sep 2005, Dave Korn wrote:
> > This removes the weird separate .data for "traditional" (linux-like)
> > mips. Also, in some cases ld -N may be acceptable as a workaround for
> > the problem.
>
>
> Brilliant. Thanks a load Thiemo!
Note that the increased alignment shouldn't actually affect the size of
files generated, as trailing padding for segments is supported for ELF
without occupying file space (cf "file size" vs "memory size" for
segments). Thus if that's what happens, then there is a problem with that
particular toolchain.
$ cat main.c
int main(void)
{
return 0;
}
$ mipsel-linux-gcc -o main main.c
$ ls -la main
-rwxr-xr-x 1 macro macro 7378 Sep 23 16:21 main
Maciej
More information about the Binutils
mailing list