------- Additional Comments From ian at airs dot com 2005-04-15 14:56 ------- Subject: Re: New: Error: Zero-length symbol is illegal
Nick Clifton <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > > 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-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils