This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld 2.13.2.1 taking ~37 minutes to link file


For our embedded system (mips-wrs-vxworks)

the final image is linked once -r
it then munches the tmp.o that is produced to get
symbols and ctor/dtor/eh_frame stuff
and then performs the final link and locate it

Upgrading from 2.11.2 to 2.13.2.1 takes the final link from ~30s to
37 minutes.

tracking it done somewhat
in elf32_mips_discard_info()
it spends all this time go through the .pdr section
calling elf_reloc_symbol_deleted_p()

the raw size is 798912 

if I remove the .pdr section which our embedded system does not
use anyway the link goes back to ~30s.

It seems this is needed for gdb to be able to do stack tracing etc..
so it would be nice to have but @ 30+minutes 

Any thoughts as to why this is so slow.

System is
binutils-2.13.2.1
cygwin 1.3.19
Win 2K 




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]