Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!polya!Polya.Stanford.EDU!ham From: ham@Neon.Stanford.EDU (Peter R. Ham) Newsgroups: gnu.utils.bug Subject: problems with gas Message-ID: Date: 9 Oct 89 16:35:24 GMT Sender: USENET News System Distribution: gnu Organization: Stanford University Lines: 25 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