Article View: gnu.utils.bug
Article #479problems with gas
From: Peter R. Ham
Date: Mon, 09 Oct 1989 16:35
Date: Mon, 09 Oct 1989 16:35
25 lines
1139 bytes
1139 bytes
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
Technical Details
Message-ID:
<HAM.89Oct9093524@Neon.Stanford.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!polya!Polya.Stanford.EDU!hamShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <HAM.89Oct9093524@Neon.Stanford.EDU> Date: 9 Oct 89 16:35:24 GMT Sender: USENET News System <news@Polya.Stanford.EDU> Distribution: gnu Organization: Stanford University Lines: 25