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