• 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...
  • 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...
  • REMOVEUNUSED removes C function called from assembly
    Hi, I use PK51 8.08 with LX51 and AX51. My code is a mix of assembly and C. I use the REMOVEUNUSED directive to deleted "dead-code". It works fine except for C-functions called form assembly. Exampled...
  • 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...
  • 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...