a question about bfd

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

 



Hi,
I have a problem when I am running my program on a powerpc(ppc604) linux system.

I use the BFD to open the obj file and operated it.
But I found a problem when I using this function.

"gMM_sysSymbolCount = bfd_canonicalize_symtab (abfd, gMM_sysSymbolTable);"
after this is executed, I found that "gMM_sysSymbolTable[i]->name" is correct, but all "gMM_sysSymbolTable[i]->value =0";

I also found that bfd.startaddr=0;
They should not equal "0".
Why?

I cross-compile the obj file on a rh9 i686 system,
It seem that the obj is ok when I objdump it.

Is there something wrong in my makefile or in BFD?

Thank you!

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux