Meaning what?
Whoops. Let me be more clear on this. When compiling without -lm you get
3k+ bytes of program and 256+ bytes of ram used.
IIRC switching on -lm you get 600 bytes of flash and 0 bytes of ram used...
I know that I tested the test case and confirmed that it adds 256 bytes
to RAM.
Yes nog using -lm indeed adds the 256 bytes
I tried fixing this by implementing the __clzm in the
libgcc.s But I did
not succeed, because gcc would still use his own. This is probably
because i missed some config somewhere. But I could not find
documentation on using the library. Any pointers are well
come. I might
give it another try this weekend.
At this point, I would accept a patch that reverts the change back to
the 4.1.x code, while we wait to figure out the best solution that has a
reasonable chance to make it into the repository. I would then just
include that patch in the WinAVR release.
I see. I don't have any clue on the gcc internals. So I can't help you
here. Sorry.
HTH
Wouter
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev