[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-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=4265&action=view) ld --unique tweak It might be reasonable to change the behaviour of unique sections so that the scr

[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-11 02:03 --- (In reply to comment #17) > 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.

[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 or

[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 inc

[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 gas/10740] amd64+i386 as: i8086 Intel syntax far jumps broken (both variants of them)

2009-10-10 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-10-10 21:35 --- (In reply to comment #2) > > 1. Assembly source. > > .intel_syntax noprefix > .text > .code16 > .globl _start > _start: ljmp0xF000,0xFFF0 > Are there anything else whi

[Bug gas/10740] amd64+i386 as: i8086 Intel syntax far jumps broken (both variants of them)

2009-10-10 Thread tg at mirbsd dot de
--- Additional Comments From tg at mirbsd dot de 2009-10-10 20:36 --- > 1. Assembly source. .intel_syntax noprefix .text .code16 .globl _start _start: ljmp0xF000,0xFFF0 > 2. Command line options. t...@bleu:~ $ as -o x.o x.s > 3. Expected output. t

[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 2>ld.tmp} /dev/null

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

2009-10-10 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2009-10-10 16: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 2>ld.tmp} /dev/null (timeout = 300) extra regexps in /h