Fix the x87 FP register printout when issuing the “info float” command.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.arch / i386-float.S
CommitLineData
433730c9
PA
1/* Copyright 2009-2013 Free Software Foundation, Inc.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 3 of the License, or
6 (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 This file is part of the gdb testsuite. */
17
18#define CONCAT1(a, b) CONCAT2(a, b)
19#define CONCAT2(a, b) a ## b
20
21#ifdef SYMBOL_PREFIX
22# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
23#else
24# define SYMBOL(str) str
25#endif
26
27 .text
28 .globl SYMBOL(main)
29SYMBOL(main):
30 fninit
31 fldt val
32 ret
33.data
34 val: .byte 0x00,0x00,0x45,0x07,0x11,0x19,0x22,0xe9,0xfe,0xbf
This page took 0.023984 seconds and 4 git commands to generate.