divmodqi.S: Return 0x00 by default for div by 0.
authorKaushik Phatak <kaushik.phatak@kpit.com>
Fri, 16 Oct 2015 21:47:07 +0000 (21:47 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 16 Oct 2015 21:47:07 +0000 (17:47 -0400)
commit793aa938bd0d3dae1027c0bd175f289948d847a8
treec398b887195322f1d38d190de46657c45b212975
parent0d3a9fe776071d474267ed56e54834c041e24118
divmodqi.S: Return 0x00 by default for div by 0.

* config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
* config/rl78/divmodsi.S: Update return register to r8.
* config/rl78/divmodhi.S: Update return register to r8,r9.
Branch to main_loop_done_himode to pop registers before return.

From-SVN: r228926
libgcc/ChangeLog
libgcc/config/rl78/divmodhi.S
libgcc/config/rl78/divmodqi.S
libgcc/config/rl78/divmodsi.S