Commit e367a231 by Paul Brook Committed by Paul Brook

* config/arm/crti.asm: Give _init and _fini function type.

From-SVN: r88405
parent 47bcd07d
2004-10-01 Paul Brook <paul@codesourcery.com>
* config/arm/crti.asm: Give _init and _fini function type.
2004-10-01 Zdenek Dvorak <dvorakz@suse.cz> 2004-10-01 Zdenek Dvorak <dvorakz@suse.cz>
* common.opt (ftree-loop-ivcanon): Enable by default. * common.opt (ftree-loop-ivcanon): Enable by default.
...@@ -6,7 +10,7 @@ ...@@ -6,7 +10,7 @@
(canonicalize_induction_variables, tree_unroll_loops_completely): (canonicalize_induction_variables, tree_unroll_loops_completely):
Reset scev info. Reset scev info.
2004-01-01 Paul Brook <paul@codesourcery.com> 2004-10-01 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (thumb_compute_saved_rag_mask): Or with bitmask, * config/arm/arm.c (thumb_compute_saved_rag_mask): Or with bitmask,
not register number. not register number.
......
...@@ -35,6 +35,12 @@ ...@@ -35,6 +35,12 @@
# .init sections. Users may put any desired instructions in those # .init sections. Users may put any desired instructions in those
# sections. # sections.
#ifdef __ELF__
#define TYPE(x) .type x,function
#else
#define TYPE(x)
#endif
# Note - this macro is complemented by the FUNC_END macro # Note - this macro is complemented by the FUNC_END macro
# in crtn.asm. If you change this macro you must also change # in crtn.asm. If you change this macro you must also change
# that macro match. # that macro match.
...@@ -60,6 +66,7 @@ ...@@ -60,6 +66,7 @@
#ifdef __thumb__ #ifdef __thumb__
.thumb_func .thumb_func
#endif #endif
TYPE(_init)
_init: _init:
FUNC_START FUNC_START
...@@ -70,6 +77,7 @@ _init: ...@@ -70,6 +77,7 @@ _init:
#ifdef __thumb__ #ifdef __thumb__
.thumb_func .thumb_func
#endif #endif
TYPE(_fini)
_fini: _fini:
FUNC_START FUNC_START
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment