linux-mips
[Top] [All Lists]

mipsel-linux-objcopy problem

To: linux-mips@linux-mips.org
Subject: mipsel-linux-objcopy problem
From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
Date: Mon, 02 Feb 2004 02:11:22 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org

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/


<Prev in Thread] Current Thread [Next in Thread>