[Bug gas/994] section switch in function causes segfault

2005-11-22 Thread wilson at specifix dot com
--- Additional Comments From wilson at specifix dot com 2005-11-23 04:41 --- Fixed on mainline. http://sourceware.org/ml/binutils/2005-11/msg00335.html -- What|Removed |Added

[Bug gas/994] section switch in function causes segfault

2005-11-22 Thread wilson at specifix dot com
--- Additional Comments From wilson at specifix dot com 2005-11-23 03:25 --- I spent some time looking at this, and I'm giving up. I'm just making this a hard error. If someone else wants to try to make this work, good luck. There are a number of problems here. The .endp is ending u

[Bug gas/994] section switch in function causes segfault

2005-11-18 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-11-18 21:18 --- as -x c-lex.s -o /dev/null c-lex.min.s:30: Warning: Corrupted unwind info due to unsupported section switching Assertion failure in ia64_estimate_size_before_relax at ../../gas/config/tc-ia64.c line 3098.

[Bug gas/994] section switch in function causes segfault

2005-11-18 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-11-18 21:06 --- So, reopen. -- What|Removed |Added Status|RESOLVED|REOPENED

[Bug gas/994] section switch in function causes segfault

2005-11-18 Thread rguenth at gcc dot gnu dot org
--- Additional Comments From rguenth at gcc dot gnu dot org 2005-11-18 21:05 --- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24934 for a testcase as still ICEs. -- http://sourceware.org/bugzilla/show_bug.cgi?id=994 --- You are receiving this mail because: --- You are on

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-06-08 21:12 --- Fixed by my patch, which has already been checked in. -- What|Removed |Added Stat

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-06-08 20:19 --- Yes, your warning solution is acceptable. I may look into disabling the section switching stuff for ia64. I'm unconvinced it's worth the effort it would take to get all the unwind info correct. This is "solve

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-06-08 20:00 --- Richard, is my solution (a warning) acceptable? Or do you have another suggestion? It might be possible to do better, either add more code to get the unwind info correct in this case, or add code to determ

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-06-08 20:09 --- I should point out that while my patch does get the unwind info correct for the .text section (assuming no additional code in .text after the section switch), the .text.unlikely section unwind info is still m

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-06-08 19:55 --- Created an attachment (id=511) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=511&action=view) Warn for section switch that corrupts unwind info. This is my fix for the problem. It does two thin

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread wilson at specifixinc dot com
--- Additional Comments From wilson at specifixinc dot com 2005-06-08 18:48 --- Nick's patch avoids the assembler core dump, but results in corrupted unwind info. IMHO, this is worse, since it converted an obvious error into a silent one. I'm thinking the assembler should emit a warni

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2005-06-08 15:45 --- Hi Richard, Agreed, the assembler should not crash. I am applying the patch in the attachmrnt to stop the seg fault hapeening. Cheers Nick gas/ChangeLog 2005-06-08 Nick Clifton <[EMAIL PROTECTED]>

[Bug gas/994] section switch in function causes segfault

2005-06-08 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2005-06-08 15:46 --- Created an attachment (id=510) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=510&action=view) Fix seg fault by checking for a NULL pointer -- http://sources.redhat.com/bugzilla/show_bug.cgi?id=994