blob: b91b408f64bfa0ff2e78a00544c863c9f9293a30 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
wdenk79efd002002-09-08 19:55:02 +00002/*
3 * (C) Copyright 2002
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenk79efd002002-09-08 19:55:02 +00005 */
6
Simon Glassdb41d652019-12-28 10:45:07 -07007#include <hang.h>
8
wdenk79efd002002-09-08 19:55:02 +00009/* Replacement (=dummy) for GNU/Linux division-by zero handler */
10void __div0 (void)
11{
wdenk79efd002002-09-08 19:55:02 +000012 hang();
13}