• 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? ...
  • 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...
  • 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...
  • 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...
  • 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.exe V5.06 update 6 build 750. My project options...