linux.h (TARGET_ASM_FILE_END): Don't define.
authorAlan Modra <amodra@gmail.com>
Mon, 7 Mar 2011 07:50:23 +0000 (18:20 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 7 Mar 2011 07:50:23 +0000 (18:20 +1030)
commit617718f72d0736e5f8630012d3276a276b9e153f
tree78fcd00ea7956cb3b408e04c4eb0eb1dae126454
parentfb72848b0cf6d12be7af24e4f0d984e0d6a5b385
linux.h (TARGET_ASM_FILE_END): Don't define.

* config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define.
* config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define.
* config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define.
* config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and
return_mode args.
* config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes".
(INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode.
(INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode.
(INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE.
* config/rs6000/rs6000.c
(rs6000_elf_end_indicate_exec_stack): Rename to..
(rs6000_elf_file_end): ..this.  Only call file_end_indicate_exec_stack
for POWERPC_LINUX.  Move code emitting .gnu_attribute to here, from..
(rs6000_file_start): ..here.
(rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New
file scope variables.
(call_ABI_of_interest): New function.
(init_cumulative_args): Set above vars when function return value
is a float, vector, or small struct.
(rs6000_function_arg_advance_1): Likewise for function args.
(rs6000_va_start): Set rs6000_passes_float if variable arg function
references float args.

From-SVN: r170734
gcc/ChangeLog
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/sysv4.h