From: Alex S. <al...@gm...> - 2011-01-28 19:59:44
|
Hi all! I am trying to make a switch to mspgcc4 but I get an `undefined reference to `__get_frame_address' ' error from the linker (in gcc 3.. the macro I am using, GET_FRAME_ADDR_F( __FUNCTION__ ), expands to assembly code so it does work). This should be a built-in, it seems and the extern declaration in iomacros.h may be screwing it up. Is there a fix for this(other functions of similar kind, like __bic_sr_irq, work fine)? The error is the same when I use the latest git version of mspgcc4. Finally, unrelated to this, the code that mspgcc4 generates is about 1K longer than the 3.2.3 branch. Is there a trick (I know this question is too general but I am looking for something obvious I may have overlooked) other than -Os switch to make it generate smaller code? Alex |