This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: assertion failure in coff-i386.c on .code16
- To: Pavel Roskin <pavel_roskin AT geocities dot com>
- Subject: Re: assertion failure in coff-i386.c on .code16
- From: Alan Modra <alan AT SPRI dot Levels dot UniSA dot Edu dot Au>
- Date: Sat, 18 Sep 1999 10:39:56 +0930 (CST)
- cc: binutils AT sourceware dot cygnus dot com
On Fri, 17 Sep 1999, Pavel Roskin wrote:
> > > While configuring GNU GRUB I have noticed that "as" cannot compile the
> > > following file:
> > >
> > > .code16
> > > l1: addr32
> > > movb %al, l1
> > >
> > > D:\home\proski\src\bfd>as test.s
> > > test.s: Assembler messages:
> > > test.s:2: Warning: stand-alone `addr32' prefix
> > > as: bfd assertion fail coff-i386.c:498
> > > test.s:3: Error: Cannot represent relocation type BFD_RELOC_16
I've just checked in a patch to the binutils CVS that adds i386coff
support for 8 and 16-bit relocs. 'Twas easy, which probably means that it
will break in some obscure way ;-).