Thread (25 messages) flat view 25 messages, 5 authors, 2016-06-15

Re: [PATCH] Round-down years in "years+months" relative date view

From: Alex Riesen <hidden>
Date: 2016-06-15 22:47:20

Nicolas Pitre, Fri, Aug 28, 2009 21:27:53 +0200:
On Fri, 28 Aug 2009, Alex Riesen wrote:
quoted
And shouldn't a linker complain regarding duplicated symbols, unless
the other (library) symbol is defined as a weak symbol, allowing
overriding it with another symbol of stronger linkage?
Normally a linker would search for new objects to link only when there 
are still symbols to resolve.  If the library is well architected (mind 
you I don't know if that is the case on Windows or OS X) you should find 
many small object files in a library, so to have only related functions 
together in a single object for only the needed code to be linked in the 
final binary. Hence the printf symbol should be in a separate object 
file than gettimeofday, etc.

Only if the library's object file containing gettimeofday also contains 
another symbol pulled by the linker will you see a duplicated symbol 
error.  But this is still a possibility.  So your proposal is probably 
cleaner.
Is it so for dynamic linking as well? Like in libc.so?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help