[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/847] Error: Zero-length symbol is illegal
From: |
ian at airs dot com |
Subject: |
[Bug gas/847] Error: Zero-length symbol is illegal |
Date: |
15 Apr 2005 14:57:00 -0000 |
------- Additional Comments From ian at airs dot com 2005-04-15 14:56 -------
Subject: Re: New: Error: Zero-length symbol is illegal
Nick Clifton <address@hidden> writes:
> > The ia64 assembler is choking on `.file ""' with the error message
> > "Zero-length symbol is illegal". According to the GAS manual this
> > should be allowed. The problem is that gcc 3.4 and later now uses
> > `.file ""' instead of `.file "<stdin>"' when input comes from stdin.
>
> Hmm, well the documentation does also say that the feature is only
> supported for backwards compatibility and may go away in the future.
>
> Still a patch for this problem seems fairly straight forward.
>
> Jan, Ian - what do you think of this ?
>
> Cheers
> Nick
>
> gas/ChangeLog
> 2005-04-15 Nick Clifton <address@hidden>
>
> PR gas/847
> * read.c (s_app_file): Call tc_convert_file_name, if defined,
> before s_app_file_string.
> * config/tc-ia64.c (ia64_convert_file_name): Define. Convert
> empty file names into "<stdin>".
> * config/tc-ia64.h (tc_convert_file_name): Define.
Why does ia64_canonicalize_symbol_name reject a symbol with no name?
ELF permits them. Perhaps there are places which call
canonicalize_symbol_name which want to reject empty symbol names, but
I don't see why they should be rejected in canonicalize_symbol_name
itself.
Ian
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=847
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/847] New: Error: Zero-length symbol is illegal, schwab at suse dot de, 2005/04/13
- Re: [Bug gas/847] New: Error: Zero-length symbol is illegal, Nick Clifton, 2005/04/15
- [Bug gas/847] Error: Zero-length symbol is illegal, nickc at redhat dot com, 2005/04/15
- [Bug gas/847] Error: Zero-length symbol is illegal, jbeulich at novell dot com, 2005/04/15
- [Bug gas/847] Error: Zero-length symbol is illegal,
ian at airs dot com <=
- [Bug gas/847] Error: Zero-length symbol is illegal, jbeulich at novell dot com, 2005/04/15
- [Bug gas/847] Error: Zero-length symbol is illegal, ian at airs dot com, 2005/04/15
- [Bug gas/847] Error: Zero-length symbol is illegal, jbeulich at novell dot com, 2005/04/18
- [Bug gas/847] Error: Zero-length symbol is illegal, jbeulich at novell dot com, 2005/04/19
- [Bug gas/847] Error: Zero-length symbol is illegal, jbeulich at novell dot com, 2005/04/20