mipsel-linux-objcopy problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi folks


On one system, I've got

# mipsel-linux-objcopy --version
GNU objcopy 2.8.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

# ls -l memload-full
-rwxr-xr-x    1 root     root      1791550 Feb  1 20:46 memload-full

# mipsel-linux-objcopy -Obinary --remove-section=.bss --remove-section=.data --remove-section=.mdebug --pad-to=0x9fe00000 memload-full tryrom

[root@mjolnir hfload]# ls -l tryrom
-rwxr-xr-x    1 root     root      2097152 Feb  1 21:09 tryrom

on another system,

# mipsel-unknown-linux-gnu-objcopy --version
GNU objcopy 2.13.90.0.18 20030121
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

# 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

This is a step in making a rom image for an emulator. The emulator needs the file tryrom to be 2097152. I'm stuck.

Help.

Mark

_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux