1 |
427 |
jeremybenn |
2010-11-18 Jeremy Bennett
|
2 |
|
|
|
3 |
|
|
* config/or32/t-linux ($(T)crtbegin.o): Reverse out __dso_handle
|
4 |
|
|
rename.
|
5 |
|
|
(crtbegin$(objext)): Likewise.
|
6 |
|
|
|
7 |
414 |
jeremybenn |
2010-11-07 Joern Rennecke
|
8 |
|
|
|
9 |
|
|
* config/or32/or32.opt (mredzone=): New option.
|
10 |
|
|
* config/or32/or32.c (frame_info): New members gpr_frame, late_frame.
|
11 |
|
|
(or32_compute_frame_size, or32_expand_prologue): Implement -mredzone.
|
12 |
|
|
or32_expand_epilogue, or32_initial_elimination_offset): Likewise.
|
13 |
|
|
(or32_function_ok_for_sibcall): Suppress sibcall optimization if
|
14 |
|
|
the sibcall register might not be available.
|
15 |
|
|
|
16 |
|
|
* config/or32/or32.c (or32_expand_prologue): Fix threshold for
|
17 |
|
|
loading the frame size into a register.
|
18 |
|
|
|
19 |
|
|
* config/or32/or32.md (SP_REG, FP_REG, UNSPEC_FRAME): New constants.
|
20 |
|
|
(frame_dealloc_fp, frame_dealloc_sp): New insn patterns.
|
21 |
|
|
* config/or32/or32.c (or32_expand_epilogue): Use frame_dealloc_[fs]p.
|
22 |
|
|
|
23 |
402 |
jeremybenn |
2010-11-01 Joern Rennecke
|
24 |
|
|
|
25 |
|
|
* config/or32/or32.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
|
26 |
|
|
|
27 |
404 |
jeremybenn |
* config/or32/t-linux ($(T)crtbegin.o): Rename __dso_handle.
|
28 |
|
|
|
29 |
|
|
(crtbegin$(objext)): Likewise.
|
30 |
|
|
|
31 |
402 |
jeremybenn |
2010-10-31 Joern Rennecke
|
32 |
|
|
|
33 |
|
|
* config/or32/or32.c (or32_struct_alignment): Refine rules to
|
34 |
|
|
avoid overriding user settings.
|
35 |
|
|
|
36 |
|
|
* Don't increase alignment of struct with sole packed field.
|
37 |
|
|
|
38 |
399 |
jeremybenn |
2010-10-29 Joern Rennecke
|
39 |
|
|
|
40 |
|
|
* config/or32/or32.c (or32_output_mi_thunk): New function.
|
41 |
|
|
(or32_output_highadd, or32_output_tailcall): Likewise.
|
42 |
|
|
(TARGET_ASM_OUTPUT_MI_THUNK): Redefine.
|
43 |
|
|
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
|
44 |
|
|
|
45 |
|
|
(or32_output_mi_thunk): Don't emit add of zero delta.
|
46 |
|
|
|
47 |
|
|
* config/or32/or32.opt: Remove -maj option.
|
48 |
|
|
* config/or32/or32.md, config/or32/or32.c: Likewise.
|
49 |
|
|
|
50 |
|
|
* config.gcc: Add Embecosm Copyright notice.
|
51 |
|
|
* config/or32/predicates.md: Likewise.
|
52 |
|
|
* config/or32/or32.md: Likewise.
|
53 |
|
|
* config/or32/t-or32: Likewise.
|
54 |
|
|
* config/or32/or32.opt: Likewise.
|
55 |
|
|
* config/or32/or32-protos.h: Likewise.
|
56 |
|
|
* config/or32/crti.S: Likewise.
|
57 |
|
|
* config/or32/or32.c: Likewise.
|
58 |
|
|
* config/or32/constraints.md: Likewise.
|
59 |
|
|
* config/or32/crtn.S: Likewise.
|
60 |
|
|
* config/or32/default.h: Likewise.
|
61 |
|
|
* config/or32/or32.h: Likewise.
|
62 |
|
|
|
63 |
|
|
2010-10-28 Joern Rennecke
|
64 |
|
|
|
65 |
|
|
* config/or32/or32.md (movsi_lo_sum, movsi_high): Enable generator
|
66 |
|
|
function generation.
|
67 |
|
|
(movsi_insn_big): Now define_insn_and_split.
|
68 |
|
|
|
69 |
|
|
* config.gcc (or32-*-elf*): Change extra_parts to:
|
70 |
|
|
"crti.o crtbegin.o crtend.o crtn.o".
|
71 |
|
|
( or32-*linux*): Change tmake_file to
|
72 |
|
|
"${cpu_type}/t-${cpu_type} or32/t-linux"
|
73 |
|
|
* config/or32/t-default, config/or32/initfini.c: Delete.
|
74 |
|
|
* t-or32 ((T)or32-crtbegin.o, $(T)or32-crtend.o): Replace with:
|
75 |
|
|
((T)crti.o, $(T)crtn.o).
|
76 |
|
|
* config/or32/t-linux: New file.
|
77 |
|
|
* config/or32/crti.S, config/or32/crtn.S: Likewise.
|
78 |
|
|
* config/or32/or32.h (STARTFILE_SPEC): Replace or32-crtbegin.o%s with
|
79 |
|
|
crti.o%s crtbegin.o%s.
|
80 |
|
|
(ENDFILE_SPEC): Set to crtend.o%s crtn.o%s.
|
81 |
|
|
|
82 |
|
|
* config/or32/elf.h (DBX_DEBUGGING_INFO): Don't redefine.
|
83 |
|
|
(PREFERRED_DEBUGGING_TYPE, PUT_SDB_DEF): Likewise.
|
84 |
|
|
|
85 |
|
|
* config/or32/or32.md (tablejump): For -fpic, emit add of table base.
|
86 |
|
|
|
87 |
|
|
2010-10-26 Joern Rennecke
|
88 |
|
|
|
89 |
|
|
* config.gcc (or32-*-elf*): Rename crtinit.o / crtfini.o
|
90 |
|
|
to or32-crtbegin.o / or32-crtend.o.
|
91 |
|
|
* config/or32/t-default, config/or32/t-or32 (Entire file): Likewise.
|
92 |
|
|
* config/or32/initfini.c, config/or32/or32.h: Likewise.
|
93 |
|
|
|
94 |
|
|
2010-10-26 Joern Rennecke
|
95 |
|
|
|
96 |
|
|
* config/or32/or32.opt Mask(MASK_SCHED_LOGUE): Renamed to
|
97 |
|
|
Mask(SCHED_LOGUE). Changed all users.
|
98 |
|
|
(-msibcall): Delete option.
|
99 |
|
|
* config/or32/or32.md (sibcall, sibcall_value, sibcall_internal): Make
|
100 |
|
|
patterns unconditional.
|
101 |
|
|
(sibcall_internal): Change alternatives to handle callee-saved
|
102 |
|
|
registers correctly.
|
103 |
|
|
* config/or32/or32.c (or32_compute_frame_size): Place register save
|
104 |
|
|
area at bottom of frame.
|
105 |
|
|
(or32_expand_prologue): Initialize frame pointer from stack pointer.
|
106 |
|
|
For large offsets, add a REG_FRAME_RELATED_EXPR note.
|
107 |
|
|
(or32_expand_epilogue): Restore stack pointer from frame pointer.
|
108 |
|
|
sibcall is now the sibcall epilogue insn to be split.
|
109 |
|
|
(or32_compute_frame_size, or32_expand_prologue, or32_expand_epilogue):
|
110 |
|
|
Use PROLOGUE_TMP and EPILOGUE_TMP.
|
111 |
|
|
(or32_function_ok_for_sibcall): Retrun true.
|
112 |
|
|
(TARGET_DEFAULT_TARGET_FLAGS): Include MASK_SCHED_LOGUE.
|
113 |
|
|
(PROLOGUE_TMP, EPILOGUE_TMP): Define.
|
114 |
|
|
* config/or32/or32.md (CC_REG): New constant. Use it to denote
|
115 |
|
|
register number of flags register.
|
116 |
|
|
Include constraints.md.
|
117 |
|
|
* config/or32/predicates.md (cc_reg_operand): Use CC_REG.
|
118 |
|
|
(input_operand): Use satisfies_constraint_[KMI].
|
119 |
|
|
* config/or32/or32-protos.h (or32_initial_elimination_offset): Declare.
|
120 |
|
|
(or32_print_jump_restore): Declare.
|
121 |
|
|
* config/or32/or32.h (OR32_LAST_ACTUAL_REG): Define. Use in place of
|
122 |
|
|
OR32_LAST_INT_REG to iterate through registers where appropriate.
|
123 |
|
|
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Define.
|
124 |
|
|
(ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM): Define as fake hard
|
125 |
|
|
registers.
|
126 |
|
|
(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_CLASS_CONTENTS): Update.
|
127 |
|
|
(REGNO_REG_CLASS, REGISTER_NAMES): : Likewise.
|
128 |
|
|
* config/or32/or32.c: Use HARD_FRAME_POINTER_REGNUM /
|
129 |
|
|
hard_frame_pointer_rtx to refer to the hard frame pointer.
|
130 |
|
|
(or32_emit_move): Now static.
|
131 |
|
|
(or32_print_jump_restore): New function.
|
132 |
|
|
(or32_compute_frame_size): Distinguish between saving the hard frame
|
133 |
|
|
pointer and saving the GPR with the regno of the eliminated frame
|
134 |
|
|
pointer.
|
135 |
|
|
(indexed_memory): Delete.
|
136 |
|
|
(stack_disp_mem): New function.
|
137 |
|
|
(or32_compute_frame_size): Avoid over-wide shifts.
|
138 |
|
|
(or32_output_function_prologue): Likewise.
|
139 |
|
|
(or32_output_function_epilogue): Likewise.
|
140 |
|
|
(or32_frame_pointer_required): Comment out.
|
141 |
|
|
(or32_initial_elimination_offset): New function.
|
142 |
|
|
(TARGET_FRAME_POINTER_REQUIRED): Don't redefine.
|
143 |
|
|
(PRINT_OPERAND): Handle %J.
|
144 |
|
|
* config/or32/constraints.md: New file.
|
145 |
|
|
|
146 |
|
|
2010-10-25 Joern Rennecke
|
147 |
|
|
|
148 |
|
|
* config/or32/or32-protos.h (get_hard_reg_initial_val): Declare.
|
149 |
|
|
* config/or32/or32.h (INCOMING_RETURN_ADDR_RTX): Fix register number.
|
150 |
|
|
* (RETURN_ADDR_RTX): Define.
|
151 |
|
|
|
152 |
|
|
2010-10-12 Joern Rennecke
|
153 |
|
|
|
154 |
|
|
* config/or32/or32.c (or32_struct_alignment): Round up alignment to
|
155 |
|
|
power of two.
|
156 |
|
|
|
157 |
|
|
For unions, use maximum of field size for size estimate.
|
158 |
|
|
|
159 |
|
|
2010-10-11 Joern Rennecke
|
160 |
|
|
|
161 |
|
|
* config/or32/or32.opt (mpadstruct): New option.
|
162 |
|
|
* config/or32/or32-protos.h (or32_struct_alignment): Declare.
|
163 |
|
|
(or32_data_alignment): Likewise.
|
164 |
|
|
* config/or32/or32.c (or32_struct_alignment): New function.
|
165 |
|
|
(or32_data_alignment): Likewise.
|
166 |
|
|
* config/or32/or32.h (STRUCTURE_SIZE_BOUNDARY): Default to 8.
|
167 |
402 |
jeremybenn |
(ROUND_TYPE_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMENT): Define.
|
168 |
399 |
jeremybenn |
|
169 |
|
|
* config/or32/or32.c (or32_struct_alignment): Take
|
170 |
|
|
maximum_field_alignment into account.
|
171 |
|
|
|
172 |
|
|
2010-09-14 Joern Rennecke
|
173 |
|
|
|
174 |
|
|
* config/or32/or32.h (ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo.
|
175 |
|
|
(JUMP_TABLES_IN_TEXT_SECTION): Define.
|
176 |
|
|
* config/or32/default.h (JUMP_TABLES_IN_TEXT_SECTION): Use flag_pic.
|
177 |
|
|
|
178 |
|
|
2010-09-13 Joern Rennecke
|
179 |
|
|
|
180 |
|
|
* config/or32/or32.h (TRAMPOLINE_SIZE): Use result of
|
181 |
|
|
or32_trampoline_code_size rather than its address.
|
182 |
|
|
|
183 |
|
|
* config/or32/initfini.c (init): Rename to:
|
184 |
|
|
(__init).
|
185 |
|
|
* config/or32/or32.c (or32_trampoline_init): Don't clobber r12.
|
186 |
|
|
|
187 |
|
|
* config.gcc (or32-*-elf*): Add newlib-stdint.h to tm_file.
|
188 |
|
|
|
189 |
334 |
jeremybenn |
2010-09-05 Jeremy Bennett
|
190 |
|
|
|
191 |
336 |
jeremybenn |
* BASE_VER: Updated for gcc-4.5.1-or32-1.0rc1.
|
192 |
335 |
jeremybenn |
|
193 |
|
|
2010-09-05 Jeremy Bennett
|
194 |
|
|
|
195 |
334 |
jeremybenn |
* config/or32/or32-protos.c : Added.
|
196 |
|
|
* config/or32/or32.c : Added.
|
197 |
|
|
* config/or32/or32.h : Deleted.
|
198 |
|
|
* doc/contrib.texi: Updated for OpenRISC.
|
199 |
|
|
* doc/invoke.texi: Updated for OpenRISC.
|
200 |
|
|
|
201 |
332 |
jeremybenn |
2010-09-04 Jeremy Bennett
|
202 |
|
|
|
203 |
|
|
* config/or32/or32-protos.c : Added.
|
204 |
|
|
* config/or32/or32.c :
|
205 |
|
|
New macros added.
|
206 |
|
|
(or32_emit_mode, or32_emit_binary, or32_force_binary)
|
207 |
|
|
(or32_trampoline_code_size, or32_trampoline_init): Created.
|
208 |
|
|
(or32_output_bf): Tabbing fixed.
|
209 |
|
|
: Definition added.
|
210 |
|
|
* config/or32/or32.h : Uses R11.
|
211 |
|
|
: redefined.
|
212 |
|
|
: Added definition.
|
213 |
|
|
|
214 |
280 |
jeremybenn |
2010-09-01 Jeremy Bennett
|
215 |
|
|
|
216 |
|
|
* haifa-sched.c (initiate_bb_reg_pressure_info): Declaration of i
|
217 |
|
|
made conditional to avoid warning.
|
218 |
|
|
* or32.c: Updated for compatibility with GCC 4.5.1. Redundant
|
219 |
|
|
functions remobed. Now contains all target hooks.
|
220 |
|
|
* or32.h: Complete rewrite for compatibility with GCC
|
221 |
|
|
4.5.1. Removed all target hooks.
|
222 |
|
|
* or32.md: Rewrite for compatibility with GCC 4.5.1.
|
223 |
|
|
* or32-protos.h: Updated to match or32.c.
|
224 |
|
|
|
225 |
|
|
2010-09-01 Jeremy Bennett
|
226 |
|
|
|
227 |
|
|
* .: All files updated to GCC 4.5.1 base.
|
228 |
|
|
|
229 |
|
|
2010-08-26 mirekez
|
230 |
|
|
|
231 |
|
|
* config/or32/or32.h : CR_REGS removed from
|
232 |
|
|
enumeration.
|
233 |
|
|
|
234 |
|
|
2010-08-26 Jeremy Bennett
|
235 |
|
|
|
236 |
|
|
* vec.h: All references to VEC_TA_GTY with an empty fourth
|
237 |
|
|
argument replaced by VEC_TA_GTY_ANON with only three arguments
|
238 |
|
|
: Created.
|
239 |
|
|
|
240 |
|
|
2010-08-25 Jeremy Bennett
|
241 |
|
|
|
242 |
|
|
* config/or32/elf.h : Defined.
|
243 |
|
|
: Changed to DWARF2_DEBUG.
|
244 |
|
|
: Deleted.
|
245 |
|
|
* config/or32/or32.h: Obsolete code surrounded by "#if 0" removed
|
246 |
|
|
for clarity.
|
247 |
|
|
: Definition deleted.
|
248 |
|
|
:
|
249 |
|
|
Definition deleted (default suffices).
|
250 |
|
|
: Defined.
|
251 |
|
|
: Defined.
|
252 |
|
|
* config/or32/or32.md: Commenting clarified. Obsolete code for
|
253 |
|
|
define_function_unit deleted.
|
254 |
|
|
|
255 |
|
|
2010-08-19 Jeremy Bennett
|
256 |
|
|
|
257 |
|
|
* config/or32/elf.h : Definition removed.
|
258 |
|
|
: Modified to match or32.h
|
259 |
|
|
* config/or32/linux-elf.h: Modified to match
|
260 |
|
|
or32.h
|
261 |
|
|
* config/or32/or32.h : Changed to use free instead of
|
262 |
|
|
_free to match change in USER_LABEL_PREFIX.
|
263 |
|
|
: Changed from "_" to "".
|
264 |
|
|
: Surround .proc by tab chars.
|
265 |
|
|
* config/or32/or32.S (__mulsi3, __udivsi3, __divsi3, __umodsi3)
|
266 |
|
|
(__modsi3): Changed from ___mulsi3, ___udivsi3, ___divsi3,
|
267 |
|
|
___umodsi3 and ___modsi3 respectively to match change in
|
268 |
|
|
USER_LABEL_PREFIX.
|
269 |
|
|
|
270 |
|
|
2010-07-20 Jeremy Bennett
|
271 |
|
|
|
272 |
|
|
* config/or32/or32.h: Updated LIB_SPEC for newlib 1.18.0 to force
|
273 |
|
|
linking of _malloc and _free against a weak reference also when
|
274 |
|
|
using -lg.
|
275 |
|
|
|
276 |
|
|
2010-07-19 Jeremy Bennett
|
277 |
|
|
|
278 |
|
|
* config/or32/or32.h: Updated LIB_SPEC for newlib 1.18.0 to force
|
279 |
|
|
linking of _malloc and _free against a weak reference.
|
280 |
|
|
|
281 |
|
|
2010-07-17 Jeremy Bennett
|
282 |
|
|
|
283 |
|
|
* config/or32/or32.h: Updated STARTFILE_SPEC and LIB_SPEC
|
284 |
|
|
definition for newlib.
|
285 |
|
|
|
286 |
|
|
2010-07-16 Jeremy Bennett
|
287 |
|
|
|
288 |
|
|
* config/or32/or32.h: Updated SPEC definitions to pick up newlib
|
289 |
|
|
in custom location.
|
290 |
|
|
|
291 |
|
|
2010-07-13 Jeremy Bennett
|
292 |
|
|
|
293 |
|
|
* config/or32/initfini.c: Corrected assembler sequences.
|
294 |
|
|
|
295 |
|
|
2010-07-07 Jeremy Bennett
|
296 |
|
|
|
297 |
|
|
* config.gcc: Specified cpu_type for or32. Corrected templates
|
298 |
|
|
specified for or32-*-elf*. Added extra_parts for
|
299 |
|
|
or32-*-elf*. Specified t-or32 as tmake_file for or32-*-elf*.
|
300 |
|
|
* config/or32/initfini.c: Created.
|
301 |
|
|
* config/or32/or32.h : Removed.
|
302 |
|
|
: Add crtinit.o.
|
303 |
|
|
: Just specify crtfini.o.
|
304 |
|
|
: Unified multiple definitions. Added newlib library
|
305 |
|
|
when specified.
|
306 |
|
|
* config/or32/or32.opt : New option added.
|
307 |
|
|
* config/or32/t-default: Added details for crtinit and crtfini.
|
308 |
|
|
* config/or32/t-or32: Added details for crtinit and crtfini.
|
309 |
|
|
|
310 |
|
|
2010-06-30 Jeremy Bennett
|
311 |
|
|
|
312 |
|
|
* config/or32/or32.h : Corrected definition.
|
313 |
|
|
: Pick up newlib specific linker script.
|
314 |
|
|
: Specify newlib library.
|
315 |
|
|
* config/or32/or32.opt : New option added.
|
316 |
|
|
|
317 |
|
|
2010-06-21 Jeremy Bennett
|
318 |
|
|
|
319 |
|
|
* config/or32/or32.md: Duplicate define_insn of "movdf" and "movsf"
|
320 |
|
|
removed.
|
321 |
|
|
|
322 |
|
|
2010-06-17 Jungsook yang
|
323 |
|
|
|
324 |
|
|
* config/or32/or32.c (or32_expand_branch): Added SFmode case.
|
325 |
|
|
* config/or32/or32.md : Added.
|
326 |
|
|
: Added.
|
327 |
|
|
: Added.
|
328 |
|
|
: Added.
|
329 |
|
|
: Added.
|
330 |
|
|
: Added.
|
331 |
|
|
: Added.
|
332 |
|
|
: Added.
|
333 |
|
|
: Added.
|
334 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
335 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
336 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
337 |
|
|
: Added TARGET_DOUBLE_FLOAT.
|
338 |
|
|
: Added.
|
339 |
|
|
: Added.
|
340 |
|
|
: Added.
|
341 |
|
|
: Added.
|
342 |
|
|
* config/or32/or32.opt: mdouble-float option added.
|
343 |
|
|
|