Commit | Line | Data |
---|---|---|
6bc9a396 CL |
1 | /* |
2 | * arch/score/lib/libgcc.h | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, see the file COPYING, or write | |
16 | * to the Free Software Foundation, Inc., | |
17 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | */ | |
19 | ||
20 | ||
21 | #ifndef __ASM_LIBGCC_H | |
22 | #define __ASM_LIBGCC_H | |
23 | ||
24 | #include <asm/byteorder.h> | |
25 | ||
26 | typedef int word_type __attribute__((mode(__word__))); | |
27 | ||
28 | struct DWstruct { | |
29 | int low, high; | |
30 | }; | |
31 | ||
32 | typedef union { | |
33 | struct DWstruct s; | |
34 | long long ll; | |
35 | } DWunion; | |
36 | ||
37 | #endif /* __ASM_LIBGCC_H */ |