summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/arch/arm/lib/div0.c
blob: 1337ccab048694151ea99fd2b4a0406ca6a0ce8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * (C) Copyright 2002
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

/* Replacement (=dummy) for GNU/Linux division-by zero handler */
void __div0 (void)
{
	extern void hang (void);

	hang();
}