Hi Jian,
Excuse me,I don't know how to remove unused functions and variable when
linking ELF.
Compile your program with --function-sections. Link your program with
-Wl,--gc-sections.
Note: This feature is not implemented for all targets. If it does not
work for you then it may be that t
Dear,
Excuse me,I don't know how to remove unused functions and variable when
linking ELF.
please let me know ASAP.
eg.
int main()
{
int i;
i= 5;
return i;
}
char tmpBuffer[5];
char *getTmpBuff()
{
return tmpBuffer;
}
char *getTmpBuff1()
{
return tmpBuffer;
}
char *getTmpBuff2()
{
retur
--- Additional Comments From yosh at gimp dot org 2008-06-01 20:09 ---
Created an attachment (id=2770)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2770&action=view)
Fix typo
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6585
--- You are receiving this mail because
Obvious typo breaks -z on 32-bit little endian archs.
--
Summary: Typo breaks -z on 32-bit little endian archs
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assigne
Hi,
I am trying to cross compile binutils-2.18 to arm-wince-pe and I have tried
on a Cywin and linux(Ubuntu 8.04) host and I always get the same error:
./configure --prefix=/opt/cegcc --target=arm-wince-pe --disable-nls
make
make[4]: entrant dans le répertoire « /home/vincent/src/binutils-2.18