OSDN Git Service

* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Aug 2002 07:32:52 +0000 (07:32 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Aug 2002 07:32:52 +0000 (07:32 +0000)
commitd4ce32829b2b2362812c16006543ddb1c2fb4bf4
tree2dd0b4fe61dda1b17e1d78dac99488db3b8f29de
parent299d2d968c0d9195e27b12102303acbcddc1ea75
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
(MULTILIB_OPTIONS): Must also generate for -mlong-calls.

* config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
(ret, declare, farsym): New gas macros.
(__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
and declare the symbol far when compiled with -mlong-calls.
(__far_trampoline): New for 68HC12 trampoline code to invoke a
far handler using jsr/bsr.

* config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
(jsr): New macro to transform a 'jsr' into a 'call'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56282 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/m68hc11/larith.asm
gcc/config/m68hc11/m68hc11-crt0.S
gcc/config/m68hc11/t-m68hc11-gas