Re: 32bits specific code in do_adjust_elf_header()

2009-07-01 Thread Ian Lance Taylor
Roman Divacky writes: > Target_freebsd::do_adjust_elf_header() > > there is 32specific code that does not work on 64bit platforms > > this: > > gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size); > > elfcpp::Ehdr<32, false> ehdr(view); > > > the 32 does not work on 64bit platform (ie.

32bits specific code in do_adjust_elf_header()

2009-07-01 Thread Roman Divacky
hi in Target_freebsd::do_adjust_elf_header() there is 32specific code that does not work on 64bit platforms this: gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size); elfcpp::Ehdr<32, false> ehdr(view); the 32 does not work on 64bit platform (ie. amd64), I believe it should be ei