> CCing Richard to see if there is a right answer for this or if it is > just undefined. For what it is worth, gcc will call the user defined puts in the example I attached on the previous email. It is also the correct behavior for LTO with libc. Cheers, Rafael