Hi John,
Thanks for the information. I did as you suggested and it is working fine..
Thanks,
Nagaraju
John (Eljay) Love-Jensen wrote:
Hi Nagaraju,
I have a problem in Linker. I have some hard coded routines in a file.
My problem is, when some program is using that function then my
linker is loading all the sub-routines in that file as a result my code
size got increased.
The problem is not in the linker, it is in your code.
Break out your routines into separate files.
That way, your routines will be in separate translation units.
Only link against the object files that you want.
HTH,
--Eljay