#62 hc08 library _mulint.c --stack-auto enables small typo

closed-accepted
None
5
2006-05-10
2006-05-10
No

hello,
there's a rather small error in _mulint.c of the
library functions device/lib/hc08.
using compile options
--stack-auto --int-long-reent --float-reent
"enables" an ifdef, where a '_endasm;' is missing.

simple patch (in device/lib/hc08):

--- _mulint.c~ 2004-01-20 06:48:09.000000000 +0100
+++ _mulint.c 2006-05-10 12:14:35.000000000 +0200
@@ -93,6 +93,7 @@
ais #2
pulx
pula
+ _endasm;
#endif
}
#pragma restore
bye kosmo

Discussion

  • Maarten Brock

    Maarten Brock - 2006-05-10
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2006-05-10
    • assigned_to: nobody --> maartenbrock
    • status: closed --> closed-accepted
     
  • Maarten Brock

    Maarten Brock - 2006-05-10

    Logged In: YES
    user_id=888171

    Thanks. Applied in SDCC 2.5.6 #4161.

     

Log in to post a comment.