comparison gcc/config/vax/elf.h @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
83 if (flag_pic) \ 83 if (flag_pic) \
84 flag_no_function_cse = 1; \ 84 flag_no_function_cse = 1; \
85 } \ 85 } \
86 while (0) 86 while (0)
87 87
88 /* Don't allow *foo which foo is non-local */
89 #define NO_EXTERNAL_INDIRECT_ADDRESS
90
91 #undef VAX_CC1_AND_CC1PLUS_SPEC
92 #define VAX_CC1_AND_CC1PLUS_SPEC \
93 "%{!fno-pic: \
94 %{!fpic: \
95 %{!fPIC:-fPIC}}}"
96
88 /* VAX ELF is always gas; override the generic VAX ASM_SPEC. */ 97 /* VAX ELF is always gas; override the generic VAX ASM_SPEC. */
89 98
90 #undef ASM_SPEC 99 #undef ASM_SPEC
91 #define ASM_SPEC "" 100 #define ASM_SPEC "%{!fno-pic: %{!mno-asm-pic:-k}}"
92 101
102 /* We want PCREL dwarf output. */
103 #define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \
104 ((GLOBAL ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4)
105
106 /* Emit a PC-relative relocation. */
107 #define ASM_OUTPUT_DWARF_PCREL(FILE, SIZE, LABEL) \
108 do { \
109 fputs (integer_asm_op (SIZE, FALSE), FILE); \
110 fprintf (FILE, "%%pcrel%d(", SIZE * 8); \
111 assemble_name (FILE, LABEL); \
112 fputc (')', FILE); \
113 } while (0)