linux-mips
[Top] [All Lists]

BFD: Warning: Writing section `.text' to huge (ie negative) file offset

To: linux-mips <linux-mips@linux-mips.org>
Subject: BFD: Warning: Writing section `.text' to huge (ie negative) file offset 0xa1ffff10
From: zhuzhenhua <zzh.hust@gmail.com>
Date: Thu, 1 Jun 2006 14:19:29 +0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iT86CN9FTt8ZSUeEbX70Y+pQHsYbPlkYNTUlCv/A96E1SSahCsp11op/b0XXODk8NKUnGmpwRQ2N5XSKIbtXZzNKootrEWKpSYAcSc4dBTmBnpHC+4lEzA5nrmKadCTbXNipaZhFZV8SZH0Zzuw+RAAQ85xTkVxIjLqOOZjemnw=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
i have write a code to link at 0xa2000000(uncached address)
but when link i get the error as
"BFD: Warning: Writing section `.text' to huge (ie negative) file
offset 0xa1ffff10.
BFD: Warning: Writing section `.data' to huge (ie negative) file
offset 0xa200b050.
BFD: Warning: Writing section `.reginfo' to huge (ie negative) file
offset 0xa200c980.
mipsel-linux-objcopy: /root/project/brec_flash/release/brec_flash.bin:
File truncated
make: *** [brec_flash] Error 1"

my link.xn as follow:

OUTPUT_ARCH(mips)
ENTRY(brec_flash_entry)
SECTIONS
{
.text 0xa2000000 :
        {
    release/entry.o (.text)
        
                    release/*(.text)
        }
        
.data :
        {
                    release/*(.data)
        }
        
.sbss :
        {
                    release/*(.sbss)
                    release/*(.scommon)
        }

.bss :
        {
                    release/*(.bss)
                    release/*(COMMON)
         }

}



thanks for any hints

Best Regards

zhuzhenhua

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