This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AS-BUG????????


hi again,

as I allredy said I as-2.95.2 has a BUG.
absolut  jumps does not work. only with the verion as-2.9.1 it works
very good.

	.long	label_y
	jmp	label_x
	:
label_x:
	:
label_y:

when I compile it with 2.9.1 it works good. any other verion does NOT
work.
this is the result of as-2.95.2 for jmp label_x is:
41F9 0000 0000. 
as you see >> 0000 0000 << should be a distence to the label
it does not calculate the jump.
the same with     .long label_y    is tranlated as 0000 0000
insted of the addresse of label_y.
but when you load the label to an addresse register let us say a0 and
then

jump	(a0)

it works.

STRANGE, is'nt it ?????????
I think there is a bug with the absolute JUMPS.

best regards
S. Gad


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]