[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2009-10-11 19:24 --- Subject: Re: Linker failed to build working ia64 kernel On Sun, 11 Oct 2009, amodra at bigpond dot net dot au wrote: Created an attachment (id=4265) --

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-10-10 16:31 --- (In reply to comment #13) On hppa-unknown-linux-gnu: Executing on host: sh -c {/home/dave/gnu/binutils/objdir/ld/../binutils/readelf -S --wide tmpdir/dump tmpdir/dump.out 2ld.tmp} /dev/null

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-10 23:12 --- I guess the hppa test failure is due to hppaelf_after_parse if (link_info.relocatable) lang_add_unique (.text); I'd be inclined just to xfail the test for hppa. -- What|Removed

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2009-10-10 23:50 --- Subject: Re: Linker failed to build working ia64 kernel I guess the hppa test failure is due to hppaelf_after_parse if (link_info.relocatable) lang_add_unique (.text); I'd be inclined

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-11 01:55 --- Exactly. The reason is that .text is made a unique section, so doesn't match the .text in the script. See unique_section_p, in particular the one in output_section_callback. So .text is treated as an

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-11 02:05 --- Created an attachment (id=4265) -- (http://sourceware.org/bugzilla/attachment.cgi?id=4265action=view) ld --unique tweak It might be reasonable to change the behaviour of unique sections so that the

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-10 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-11 02:26 --- Sorry, I shouldn't have said .text is treated as an orphan. That isn't quite correct. .text obviously isn't an orphan since .text is mentioned in the linker script, so we don't hit the /DISCARD/. .text

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-08 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-10-08 22:33 --- 20090923 linker is OK and 20090929 linker is bad. Alan, I think your ld -r patch may be the cause. -- What|Removed |Added

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-08 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-10-09 01:28 --- Do you have a good and a bad kernel image for me to look at? -- http://sourceware.org/bugzilla/show_bug.cgi?id=10749 --- You are receiving this mail because: --- You are on the CC list for

[Bug ld/10749] Linker failed to build working ia64 kernel

2009-10-08 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-10-09 03:57 --- Please get http://sourceware.org/bugzilla/attachment.cgi?id=4260action=view and do [...@gnu-14 kernel]$ ld -r -o gate-syms.o -T gate.lds gate.o 20090929 linker generates bad gate-syms.o. --