diff options
Diffstat (limited to 'qemu/roms/u-boot/arch/arm/lib/div0.c')
-rw-r--r-- | qemu/roms/u-boot/arch/arm/lib/div0.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/arm/lib/div0.c b/qemu/roms/u-boot/arch/arm/lib/div0.c new file mode 100644 index 000000000..1337ccab0 --- /dev/null +++ b/qemu/roms/u-boot/arch/arm/lib/div0.c @@ -0,0 +1,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(); +} |