m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in writing .interrupt command.
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 21 Mar 2003 23:25:21 +0000 (00:25 +0100)
committerStephane Carrez <ciceron@gcc.gnu.org>
Fri, 21 Mar 2003 23:25:21 +0000 (00:25 +0100)
commit639a8102c038087dc5c48115522a5e1f9259d38e
treef9e71f168442d54c90c2837ecd5516d584bd85d2
parentd7394366f2888097b0cb0cc38fc865d78e35b848
m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in writing .interrupt command.

* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
writing .interrupt command.
* config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
if it's a far or near function.
("call_value"): Likewise.
* config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
near attributes.
(m68hc11_handle_fntype_attribute): Accept attributes on methods.
(m68hc11_override_options): Ignore -mlong-calls for 68HC11.
(m68hc11_initial_elimination_offset): Set current_function_far
according to attributes.
(expand_prologue): Likewise.
(trap_handler_symbol): New global to keep track of trap handlers.
(m68hc11_encode_section_info): Mark symbol as far if needed; set
trap symbol.
(m68hc11_is_far_symbol): New function.
(m68hc11_is_trap_symbol): New function.
* config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
(m68hc11_is_trap_symbol): Declare.

From-SVN: r64685
gcc/ChangeLog
gcc/config/m68hc11/m68hc11-protos.h
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc11.md