[gnu.utils.bug] problems with gas

ham@Neon.Stanford.EDU (Peter R. Ham) (10/09/89)

I have gas1.34 and am experiencing some problems. I'm using it for a m68k,
but the problems appear to be in target independent section.
The following input file is accepted without complaint, but produces a 
weird object file:

.long _foo+_bar

I think that this file should instigate an error, not because the symbols
are undefined, but because symbol addition appears to be beyond gas.

.globl _foo
.globl _bar
.long _foo+_bar

produces an error message.

Why can't gas handle symbol+symbol expressions? Can it handle 
symbol-symbol expressions? 

Why or why not?
Peter
--
Peter Ham			PO Box 3430	(h)(415) 324-9645
MS Computer Science Student	Stanford, CA	ham@polya.stanford.edu
Stanford University 		94309		(o)(415) 723-2067