comparison gcc/config/arm/arm-c.c @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 77e2b8dfacca
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 #include "config.h"
2 #include "system.h"
3 #include "coretypes.h"
4 #include "tm.h"
5 #include "tm_p.h"
6 #include "tree.h"
7 #include "output.h"
8 #include "c-common.h"
9
10
11 /* Output C specific EABI object attributes. These can not be done in
12 arm.c because they require information from the C frontend. */
13
14 static void arm_output_c_attributes(void)
15 {
16 /* Tag_ABI_PCS_wchar_t. */
17 asm_fprintf (asm_out_file, "\t.eabi_attribute 18, %d\n",
18 (int)(TYPE_PRECISION (wchar_type_node) / BITS_PER_UNIT));
19 }
20
21
22 /* Setup so that common code calls arm_output_c_attributes. */
23
24 void arm_lang_object_attributes_init(void)
25 {
26 arm_lang_output_object_attributes_hook = arm_output_c_attributes;
27 }