comparison gcc/config/pa/pa32-linux.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Definitions for PA_RISC with ELF-32 format 1 /* Definitions for PA_RISC with ELF-32 format
2 Copyright (C) 2000, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2004, 2006, 2007, 2010
3 Free Software Foundation, Inc.
3 4
4 This file is part of GCC. 5 This file is part of GCC.
5 6
6 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
29 #define CTOR_LIST_BEGIN \ 30 #define CTOR_LIST_BEGIN \
30 asm (".type __canonicalize_funcptr_for_compare,@function\n" \ 31 asm (".type __canonicalize_funcptr_for_compare,@function\n" \
31 " .text\n" \ 32 " .text\n" \
32 " .word __canonicalize_funcptr_for_compare-$PIC_pcrel$0"); \ 33 " .word __canonicalize_funcptr_for_compare-$PIC_pcrel$0"); \
33 STATIC func_ptr __CTOR_LIST__[1] \ 34 STATIC func_ptr __CTOR_LIST__[1] \
34 __attribute__ ((__unused__, section(".ctors"), \ 35 __attribute__ ((__used__, section(".ctors"), \
35 aligned(sizeof(func_ptr)))) \ 36 aligned(sizeof(func_ptr)))) \
36 = { (func_ptr) (-1) } 37 = { (func_ptr) (-1) }
37 38
38 /* This is a PIC version of CRT_CALL_STATIC_FUNCTION. The PIC 39 /* This is a PIC version of CRT_CALL_STATIC_FUNCTION. The PIC
39 register has to be saved before the call and restored after 40 register has to be saved before the call and restored after
55 "r27", "r28", "r29", "r31"); \ 56 "r27", "r28", "r29", "r31"); \
56 asm (TEXT_SECTION_ASM_OP); \ 57 asm (TEXT_SECTION_ASM_OP); \
57 } 58 }
58 #endif 59 #endif
59 60
61 #undef WCHAR_TYPE
62 #define WCHAR_TYPE "long int"
63
64 #undef WCHAR_TYPE_SIZE
65 #define WCHAR_TYPE_SIZE BITS_PER_WORD
66
60 #define MD_UNWIND_SUPPORT "config/pa/linux-unwind.h" 67 #define MD_UNWIND_SUPPORT "config/pa/linux-unwind.h"