This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with linking C and ARM assembly

I'm writing library files for the ARM. I noticed that if you include an assembly file which contains several functions, and you only use one of those functions (called in the C file) the compiler still links the entire assembly file, which is unnecessary. Is there any command that could prevent this,without spilting each function of the assembly file into different files?
Thanks!

Parents Reply Children
No data