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

source code of compiler-rt/lib/builtins/avr/exit.S