! !Purpose: !This program tests if the assembler can handle !references to symbols in pass 2 !that are declared as global but not defined in this file, !or that are neither declared as global nor define in this file. !Description: !This program is similar to "02symbol.s" except that !label3 is referenced after it is declared as global. ! Still it is not defined !label4 is added. ! It is referenced, but is neither defined nor declared as global .section ".data" label0: .byte 0 .align 2 .global label1 label1: .half 0 .section ".text" label2: add %r1, %r2, %r3 .global label2 .global label3 ba label3 ba label4