OSDN Git Service

* config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Aug 2001 21:01:06 +0000 (21:01 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Aug 2001 21:01:06 +0000 (21:01 +0000)
commit87f32087bf6d37698f86627fdb433a95ddf143d7
tree62fdc135c6be345d1a3b3229325ea553072e22ce
parentedaba7140d7fe41d34d4090396e78df4e8c847e3
* config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Add _ctor and _dtor.
* config/m68hc11/larith.asm (_exit): Split in several sub-sections
merged by linker script to get a final _exit().
(__do_global_dtors): New for destructor handling in specific exit
section.
(__do_global_ctors): New for constructors in specific install section.
(__map_data_section): Map data sections before running constructors.
* config/m68hc11/m68hc11.h (INT_ASM_OP): Define to use .word.
(CTORS_SECTION_ASM_OP): Define to put in readonly section.
(DTORS_SECTION_ASM_OP): Likewise.
(CTORS_SECTION_FUNCTION): Define to force a reference to
__do_global_ctors.
(DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.

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