nios2-protos.h (nios2_adjust_call_address): Adjust function parameter declaration.
authorChung-Lin Tang <cltang@codesourcery.com>
Sun, 22 Mar 2015 02:39:24 +0000 (02:39 +0000)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sun, 22 Mar 2015 02:39:24 +0000 (22:39 -0400)
commita866d527fe22aa477c17ec63a6365fdf72e0bdb7
tree7a86b85b1c7db73b2604eaf2e9bd7c35e85ab176
parentf409ce4cd7ef88db963e63a49df962432c875429
nios2-protos.h (nios2_adjust_call_address): Adjust function parameter declaration.

2015-03-21  Chung-Lin Tang  <cltang@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/nios2/nios2-protos.h (nios2_adjust_call_address): Adjust
function parameter declaration.
* config/nios2/nios2.md (call,call_value,sibcall,sibcall_value):
Update arguments to nios2_adjust_call_address().
(sibcall_internal): Rename from *sibcall.
(sibcall_value_internal): Rename from *sibcall_value.
* config/nios2/nios2.c (nios2_emit_add_constant): New function.
(nios2_large_got_address): Add target temp reg parameter.
(nios2_got_address): Adjust call to nios2_large_got_address, add
force_reg around it.
(nios2_load_pic_address): Add target temp reg parameter, replace call
to nios2_got_address with corresponding code.
(nios2_legitimize_constant_address): Update call to
nios2_load_pic_address.
(nios2_adjust_call_address): Add temp reg parameter, update PIC case
to use temp reg for PIC loading purposes.
(nios2_asm_output_mi_thunk): Implement TARGET_ASM_OUTPUT_MI_THUNK.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(TARGET_ASM_OUTPUT_MI_THUNK): Likewise.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r221569
gcc/ChangeLog
gcc/config/nios2/nios2-protos.h
gcc/config/nios2/nios2.c
gcc/config/nios2/nios2.md