what do all those __attribute__(()) mean?
I have been looking into the document of gcc, and did not find any thing of using __attribute__ as follows
i actually find those above when i read kernel source code. And i just can not figure them out with gcc manual.
what are the meanings ?
or it is kind of usage of __attribute__ with any word that just to keep a note or what?
thank you first
I found this on Google: http://kolpackov.net/pipermail/notes...ch/000006.html
This looks like it's for defining weakly-defined symbols, where an unresolved symbol gets set to NULL rather than causing the program to abort with an error.
As you say - those particular attributes don't show up in the GCC docs nor in any obvious Google search.
If I were you I would mail the listed maintainer of the kernel code you are looking at directly and see if they can shed some light.
weak is an __attribute__ of functions. i found it in manual.
what I did not found find is combination with
bitwise, safe and force.
|All times are GMT -5. The time now is 09:56 AM.|