This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Getting a 32bit symbol into a 16bit .word directive
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: MurF <murphyn at microsense dot co dot uk>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 21 Jul 2003 09:59:03 +0930
- Subject: Re: Getting a 32bit symbol into a 16bit .word directive
- References: <200307181349.OAA16492@mail.microsense.co.uk>
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