aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr/libgcc.S
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2008-01-19 15:15:02 +0300
committerAnatoly Sokolov <aesok@gcc.gnu.org>2008-01-19 15:15:02 +0300
commit0a84fec6967c3b45c3bf62d5e00d3e8f6cfb6368 (patch)
treede90c888244360ffadbff04049382306d4336a4d /gcc/config/avr/libgcc.S
parentdaf6ff4c78947c4a770f866a85f152db9b3a4a64 (diff)
downloadgcc-0a84fec6967c3b45c3bf62d5e00d3e8f6cfb6368.zip
gcc-0a84fec6967c3b45c3bf62d5e00d3e8f6cfb6368.tar.gz
gcc-0a84fec6967c3b45c3bf62d5e00d3e8f6cfb6368.tar.bz2
* config/avr/avr.S (_exit): Disable interrupt.
From-SVN: r131651
Diffstat (limited to 'gcc/config/avr/libgcc.S')
-rw-r--r--gcc/config/avr/libgcc.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/avr/libgcc.S b/gcc/config/avr/libgcc.S
index c6814fe..397778b 100644
--- a/gcc/config/avr/libgcc.S
+++ b/gcc/config/avr/libgcc.S
@@ -1,5 +1,6 @@
/* -*- Mode: Asm -*- */
-/* Copyright (C) 1998, 1999, 2000, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2007, 2008
+ Free Software Foundation, Inc.
Contributed by Denis Chertykov <denisc@overta.ru>
This file is free software; you can redistribute it and/or modify it
@@ -647,6 +648,7 @@ exit:
/* Code from .fini8 ... .fini1 sections inserted by ld script. */
.section .fini0,"ax",@progbits
+ cli
__stop_program:
rjmp __stop_program
.endfunc