OSDN Git Service

* pa.c (update_total_code_bytes): New function.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jun 2003 18:21:57 +0000 (18:21 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Jun 2003 18:21:57 +0000 (18:21 +0000)
commit2247cc5f7d811286d42dd14e1b1a1ba946777024
tree4530b135c43f906ef7b411175cd7fc7732dcb684
parentf1667d92066311e05f8f7d7167dfd46604dc5e5b
    * pa.c (update_total_code_bytes): New function.
(last_address): Number of bytes output for a function and its
associated thunks.
(compute_frame_size): Use BITS_PER_UNIT.
(pa_output_function_epilogue): Compute last_address.  Use
update_total_code_bytes.
(output_lbranch): Handle long branch on portable runtime.
(attr_length_millicode_call, attr_length_call,
attr_length_indirect_call): Only use total_code_bytes for calls in
the text section.
(output_call): Only use an indirect call sequence when the target is
not local.
(pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
test to determine when an IA-relative branch can be used.  Add various
long branch sequences.  Avoid using an indirect branch on all ports
except SOM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68677 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/pa/pa.c