This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why link C with crtstuff? [patch]



  In message <m0yTKUE-000598C@ocean.lucon.org>you write:
  > BTW, Jim, I cannot get__ attribute__((weak)) to work on extern.
I don't think it should work on a function declaration.

Seems to me you have to have it on the function defintion or
there's no way for it to actually mark the function in question
as weak.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]