From 0a84fec6967c3b45c3bf62d5e00d3e8f6cfb6368 Mon Sep 17 00:00:00 2001 From: Anatoly Sokolov Date: Sat, 19 Jan 2008 15:15:02 +0300 Subject: [PATCH] * config/avr/avr.S (_exit): Disable interrupt. From-SVN: r131651 --- gcc/ChangeLog | 4 ++++ gcc/config/avr/libgcc.S | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2276eba7ec3e..49c97380790b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-01-19 Anatoly Sokolov + + * config/avr/avr.S (_exit): Disable interrupt. + 2008-01-18 Kenneth Zadeck Steven Bosscher diff --git a/gcc/config/avr/libgcc.S b/gcc/config/avr/libgcc.S index c6814fe650e8..397778b82d94 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 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 -- 2.47.2