gas fixup problem?

Alan Modra alan@spri.levels.unisa.edu.au
Wed Jun 21 16:57:00 GMT 1995


/usr/i486-linux/bin/as zzz.s; nm a.out
00000000 t L0
00000006 t L1
00000002 t L2		!!!!!!!!!
00000006 t L3
00000015 t L4
00000094 t L5

 --------------------zzz.s----------------
	.text
L0:
	jz L5
L1:
L2:
L3:
	.space -(L2 - L0 + 0x7f) & (16-1), 0x90

L4:
	.space 0x7f, 0x90
L5:
 -----------------------------------------

The idea of the .space here is to align L5, given we know how much
code is between the .space and L5.  Maybe this bug is just related to
.space, but if it's something to do with expression evaluation, then
it is a more serious one.  I'll see if I can fix it myself, but my
time is rather limited at the moment.  Maybe someone else will get
curious as to what is wrong here?




More information about the Gas2 mailing list