OSDN Git Service

[ia64] Add a big-endian version of the ia64-ext floatformat
authorbrobecke <brobecke>
Thu, 13 Jan 2011 16:22:39 +0000 (16:22 +0000)
committerbrobecke <brobecke>
Thu, 13 Jan 2011 16:22:39 +0000 (16:22 +0000)
commitb7b71993bb1610399448d6db66076b3019c6ae2c
tree75dc5c8bd0f7847f4fd93cdcf37d52f3c4d67703
parent6a97b967a17fbdd3e68e1707eed64f079ccb78eb
[ia64] Add a big-endian version of the ia64-ext floatformat

ia64-tdep.c defines a floatformats_ia64_ext that should contain
both the little-endian and the big-endian version of the float
format used in the ia64 registers (an 82bit float format).
Right now, both entries point to the same little-endian definition.

A big-endian definition is now necessary for the ia64-hpux port.

gdb/ChangeLog:

        * ia64-tdep.c (floatformat_ia64_ext_little): Renames
        floatformat_ia64_ext.
        (floatformat_ia64_ext_big): New static const.
        (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
gdb/ChangeLog