Getting a 32bit symbol into a 16bit .word directive

Alan Modra amodra@bigpond.net.au
Mon Jul 21 00:29:00 GMT 2003


On Fri, Jul 18, 2003 at 03:38:01PM +0100, MurF wrote:
> Problem is I can't get 
> as to put a 32-bit symbol into a .word directive without getting an error.
[snip]
> '.word (int0),0x0010)'

You need to link your executable at an address such that "int0" resolves
to a valid 16 bit address.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list