Cross gcc Mailing List Archive

[Prev][Index][Thread]

Using the an relative addressing



Does anybody know how I can generate m68k code using register-relative
addressing for all references to static data only (the -pic option does
not resolve my problem)?

Example:

Instead of having:
	movel #12345678, _foo

I want to obtain:
	movel #12345678, a5@(_foo:w)

(I suppose here that a5 is the address register allowing references to
static data)


Home | Subject Index | Thread Index