Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/compiler-rt/lib/builtins/avr/exit.S
35291 views
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
20