🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter R. Ham Mon, 09 Oct 1989 16:35
problems with gas
#479
Author: Peter R. Ham
Date: Mon, 09 Oct 1989 16:35
25 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads