[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segmentation fault in as
From: |
Philip Blundell |
Subject: |
Re: Segmentation fault in as |
Date: |
Tue, 24 Apr 2001 21:11:59 +0100 |
>I use the following command to assemble:
>% /usr/local/bin/m68k-as sys_test.s
>Segmentation fault (core dumped)
>
>Here are the source files which cause the crash reduced to a minimum....
Thanks for your report.
This seems to afflict all coff targets, not just m68k. In fact the assembler
crashes if you feed it just that single source line.
bash-2.04$ ./as-new
# 0
Segmentation fault
bash-2.04$
The problem seems to be that a line number of zero is treated in some ghastly
special way by do_linenos_for(). See about line 3353 of gas/config/obj-coff.c.
But I don't really understand exactly what this code is about so I'm not even
going to try to fix it.
p.