Problems building project with .c and .s
You might need to rename the .s file to .S to get it to compile in a GCC project. It sounds like the build system is ignoring it and thus not generating any code for the function.