1*810390e3Srobert//===------------ exit.S - global terminator for AVR ----------------------===// 2*810390e3Srobert// 3*810390e3Srobert// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*810390e3Srobert// See https://llvm.org/LICENSE.txt for license information. 5*810390e3Srobert// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*810390e3Srobert// 7*810390e3Srobert//===----------------------------------------------------------------------===// 8*810390e3Srobert 9*810390e3Srobert .text 10*810390e3Srobert .align 2 11*810390e3Srobert 12*810390e3Srobert .globl _exit 13*810390e3Srobert .type _exit, @function 14*810390e3Srobert 15*810390e3Srobert_exit: 16*810390e3Srobert cli ; Disable all interrupts. 17*810390e3Srobert__stop_program: 18*810390e3Srobert rjmp __stop_program ; Fall into an infinite loop. 19