On Mon, 2 Feb 2004, Mark and Janice Juszczec wrote:
> # ls -l memload-full
> -rwxr-xr-x 1 root root 1791550 Feb 1 20:35 memload-full
>
> mipsel-unknown-linux-gnu-objcopy -Obinary --remove-section=.bss
> --remove-section=.data --remove-section=.mdebug --pad-to=0x9fe00000
> memload-full tryrom
>
> # ls -l tryrom
> -rwxr-xr-x 1 root root 1725680 Feb 1 21:01 tryrom
>
> Any idea why tryrom made with mipsel-unknown-linux-gnu-objcopy ver
> 2.13.90.0.18 is smaller than the one made with mipsel-linux-objcopy ver
> 2.8.1
Perhaps there's a bug in one or both of the versions. 2.8.1 is terribly
old and 2.13.90 (as all binutils versions with 9x at the third position)
is a CVS snapshot. You may try upgrading to 2.14 before starting further
experiments.
> This is a step in making a rom image for an emulator. The emulator needs
> the file tryrom to be 2097152. I'm stuck.
What does `readelf -e memload-full' output?
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
|