Undefined Symbol Error in GAS
info@micromatik.com
info@micromatik.com
Tue Feb 27 08:13:00 GMT 2001
Hi !
I'am testing if a can replace the Microtec Compiler by the
GNU assembler.
When I try to assemble the following example I received some error messages (as68 is my 68K cross GAS):
.title "wg1.S"
.text
* .equ fooVar, 10
wg: dc.l 10+fooVar+testVar
wg2: dc.l 10+fooVar
Command line Messages:
wolfgang@linux-se:~/Develop/misc > as68 wg1.S
wg1.S: Assembler messages:
wg1.S:6: Error: undefined symbol fooVar in operation
wg1.S:6: Error: undefined symbol testVar in operation
So when I uncomment the ".equ fooVar" line then there were no error messages any more!!!
My question is:
"Is the GAS unable to handel more than one external reference in one assembler statement ?"
thanks
wolfgang
------------------------------------------------
Wolfgang Gertzen
Micromatik GmbH
57074 Siegen
Tel.:0271/50150
wolfgang.gertzen@micromatik.com
More information about the Binutils
mailing list