* config/microblaze/crti.S: Setup stack protection at entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196432
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
+
+ * config/microblaze/crti.S: Setup stack protection at entry
+
2013-03-04 Georg-Johann Lay <avr@gjlay.de>
* config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
.section .init, "ax"
.global __init
+
+ .weak _stack
+ .set _stack, 0xffffffff
+ .weak _stack_end
+ .set _stack_end, 0
+
.align 2
__init:
addik r1, r1, -8
sw r15, r0, r1
+ la r11, r0, _stack
+ mts rshr, r11
+ la r11, r0, _stack_end
+ mts rslr, r11
.section .fini, "ax"
.global __fini