Unix Programming - A question about weak external symbols

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > August 2006 > A question about weak external symbols





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author A question about weak external symbols
Zheng Da

2006-08-20, 1:21 am

The book <linkers and loaders> gives the example of printf when it
describe weak external symbols. But I don't understand well how weak
external symbols work in printf.
Does it means if there is "%f" in the first parameter of printf,
fltused will be called and floating point routines will be linked?
I don't understand that if there's a reference to fltused, the floating
point routines are linked.
Is fltused a function?
If it is, it seems that fltused has some codes that can link the
floating point routines.
Anyway, I am quite confused.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com