• Linker - UNUSED(REMOVE)
    Hi, the linker option UNUSED(REMOVE) is great. But now I have a function, that I don't use. But I want to include it on the binary. What I have to do, that this (one) function will not remove? ...
  • REMOVING UNUSED CODE SEGMENTS
    Hello, I am using a third part library and from map file I notice that I include some code of unused functions in my applycation. Do you know how I can remove these functions? And their associated...
  • How to remove unused __aeabi_idivmod
    Hi, Does any one know how to remove unused __aeabi_idivmod? In SourceCode.htm, we can see __aeabi_idivmod is unused. But in SourceCode.map, it still occupy code memory. SourceCode.htm __aeabi_idivmod...
  • Removing unused variables that are used in unused functions
    Removing variables used in unused functions Hello, I'm having issue with removing unused variables, when they are used in unused functions. I'm using Keil 5.25.2.0, armcc.exe and armlink...
  • How to remove unused functions with armclang?
    Obviously, the option --freedback for armcc doesn't work. But setting -flto to compiler controls or linker controls (or checking the Link-time optimization checkbox) shows this error: error: use...