This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
M68k 2.9.1 unknown-seg error
- From: GroundVehicle2 at aol dot com
- To: binutils at sources dot redhat dot com
- Cc: groundvehicle2 at aol dot com
- Date: Wed, 28 Jan 2004 09:40:37 -0500
- Subject: M68k 2.9.1 unknown-seg error
Hello,
Does anyone know why I get the "unknown-seg symbol" error when trying to assemble the following code and error messages:
***** Example *****
1 .extern _cat
2 .section .catdog
3 _dog:
4 nop
5 .dc.l _cat-_dog /* This line assmebles just fine */
6 .dc.l _dog-_cat /* This line does not assmble */
7 nop
8 .end
*******************
C:\GNU>m68k-coff-as -m68040 example.s
example.s: Assembler messages:
example.s:0: Warning: end of file not at end of a line; newline inserted
example.s:6: Error: Can't emit reloc {- unknown-seg symbol "_cat"} @ file address 6.
Thanks,
Bart