[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binutils- + rtems-patches is broken

   Date: Fri, 30 Jul 1999 14:53:20 -0500 (CDT)
   From: <joel at oarcorp.com>

   it is used like this in i386ex/start/start.S

   start.S:      movw    $0xFFFB, SYM(i8259s_cache) /* set up same values in cache */

   I am heading out the door.  Any other ideas what could have tripped this?

This instruction appears in a .code16 section.  In a .code16 section,
current versions of gas assume that all addresses are 16 bits unless
told otherwise.

If you change the line to
    addr32   movw $0xFFFB, SYM(i8259s_cache)
then you will get a 32 bit address reference.

You may want to use addr32 only when NEW_GAS is defined.