编译器中的weak属性

jie.lee posted @ 2010年6月22日 00:42 in 笔记 with tags weak 编译器 , 6751 阅读

多个目标文件中含有相同名字全局符号的定义,那么这些目标文件链接的时候将会出现符号重复定义的错误,这样可以在其中的一个符号前加上weak属性,将其定义为弱符号,就不再与另外的全局符号冲突。

不同编译器的定义方式:
/// Weak attribute
#if defined   ( __CC_ARM   )
    #define WEAK __attribute__ ((weak))
#elif defined ( __ICCARM__ )
    #define WEAK __weak
#elif defined (  __GNUC__  )
    #define WEAK __attribute__ ((weak))
#endif

 参考资料:
1、http://infocenter.arm.com/help/index.jsp?topic= /com.arm.doc.dui0348bc/Cacdgifc.html
2、http://www.cnblogs.com/kernel_hcy/archive/2010/01/27/1657411.html

 

 

DPE Result Chittagon 说:
2022年8月27日 21:40

In order, Bangladesh All Education Board Chittagong Division also successfully completed the class 5th Grade term exams 2022 under Directorate of Primary Education (DPE), this Chittagong PSC Exams also held on November 2022 at all selected centers under DPE, and they have also going to announce PSC Result 2022 Chittagong Board with Full Marksheet along with DPE Result 2022 Download. DPE Result Chittagong According to the reports announced by DPE, there is a huge number of students have participated under the Chittagong division and they are also waiting to check Prathomik Somaponi Result 2022 along with a full mark sheet of the exams with subject-wise total marks. every year the Directorate of Primary Education (DPE) has announced the Primary Certificate Exam result and this year also announced the same.

instagram profil lös 说:
2023年7月19日 21:34

Instagram ist eine weltweit bekannte Anwendung für soziale Netzwerke. Es ermöglicht Benutzern, mit Personen auf der ganzen Welt zu sprechen und sich mit ihnen zu verbinden. Benutzer von Instagram haben die Möglichkeit, Fotos, Videos, Geschichten usw. instagram profil löschen zu teilen, um Follower zu gewinnen, was dazu beiträgt, als Berühmtheit zu wachsen, wenn Sie eine gewöhnliche Person sind.

CBSE 2nd Class Solu 说:
2023年9月08日 17:28

CBSE CBSE 2nd Class Solutions 2024 Solutions 2024 Final Exam help Students Prepare for Subject Wise Central Board Exam, our Website Provides Chapter Wise Pdf format Central Board Solution 2024, Both Subject Problems Detailed Solution are Provided, CBSE Solutions 2024 for CBSE Class Solutions 2024 help Students Better Performance in Final Examination 2024, CBSE Solution is the Good Guidance to CBSE 2nd Class Solutions 2024 help you Prepare for CBSE Exam, CBSE Solution are used not only by CBSE but also by all India State Education Boards.CBSE Solutions 2024 for Class has been Solved by the Experience Teachers of CBSE Guide. CBSE Class Books Solutions 2024 are available in PDF format our Website.

seo service london 说:
2023年11月01日 19:05

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

롸쓰고도메인 说:
2023年11月15日 13:47

Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here . I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject.

소울카지노도메인 说:
2023年11月15日 15:28

On that website page, you'll see your description, why not read through this

먹튀검증 说:
2023年11月15日 15:50

On that website page, you'll see your description, why not read through this 

다리다리게임방법 说:
2023年11月15日 16:11

Thank you so much as you have been willing to share information as ABC.

안전놀이터목록 说:
2023年11月15日 16:45

Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

먹튀검증 说:
2023年11月15日 16:45

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!! 

사설토토사이트주소 说:
2023年11月15日 17:04

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has the same topic with your article. Thanks, great share 

먹튀슈퍼맨 도메인 说:
2023年11月15日 17:11

Thank you so much as you have been willing to share information as ABC.

베팅의민족도메인 说:
2023年11月15日 17:14

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

먹튀슈퍼맨주소 说:
2023年11月15日 17:23

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that 

먹튀검증커뮤니티모음 说:
2023年11月15日 17:31

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free

사설토토 说:
2023年11月15日 17:35

I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.

사설토토사이트 说:
2023年11月15日 17:53

I've found this interesting! Check it out!

안전토토사이트 说:
2023年11月15日 17:53

This may be the correct weblog for everyone who is hopes to discover this topic.

헤븐카지노이벤트 说:
2023年11月15日 17:54

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that 

먹튀검증커뮤니티 说:
2023年11月15日 18:31

I really appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks again!

먹튀폴리스 说:
2023年11月15日 18:31

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

먹튀검증커뮤니티 说:
2023年11月15日 18:32

I really appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks again!

벳무브카지노주소 说:
2023年11月15日 18:34

I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing

토토가입코드 说:
2023年11月15日 18:56

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

해외안전놀이터 说:
2023年11月15日 19:03

On that website page, you'll see your description, why not read through this 

토토은어 说:
2023年11月15日 19:09

Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here . I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject.

메이저사이트가입코드 说:
2023年11月15日 19:13

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

라이트닝바카라 说:
2023年11月15日 19:23

On that website page, you'll see your description, why not read through this

안전한토토사이트 说:
2023年11月15日 19:40

I basically need to reveal to you that I am new to weblog and certainly enjoyed this blog webpage. Likely I'm going to bookmark your blog . You totally have superb stories. Supports imparting to us your blog.

샌즈카지노 먹튀 说:
2023年11月15日 19:41

Thank you so much as you have been willing to share information as ABC.

메이저사이트 说:
2023年11月15日 20:05

Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

가족방 说:
2023年11月15日 20:32

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has the same topic with your article. Thanks, great share 

메이저놀이터 说:
2023年11月15日 20:34

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free

메이저공원추천 说:
2023年11月15日 20:39

I've found this interesting! Check it out!

스포츠중계사이트순위 说:
2023年11月15日 20:52

I got too much interesting stuff on your blog. I guess I am not the only one having all the enjoyment here! Keep up the good work

사설토토사이트 说:
2023年11月15日 21:13

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

사설토토 说:
2023年11月15日 21:14

It's always exciting to read articles from other writers and practice something from their web sites 

제왕카지노 说:
2023年11月15日 21:35

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

먹튀폴리스 说:
2023年11月15日 21:52

It's always exciting to read articles from other writers and practice something from their web sites 

단폴토토사이트가입 说:
2023年11月15日 22:11

I really appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks again!

무료스핀구매 说:
2023年11月15日 22:33

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

먹튀검증사이트 说:
2023年11月15日 22:45

Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers 

pavzi.com 说:
2024年1月10日 01:08

Pavzi.com is a startup by passionate webmasters and bloggers who have a passion for providing engaging content that is accurate, interesting, and worthy to read. pavzi.com We are more like a web community where you can find different information, resources, and topics on day-to-day incidents or news. We provide you with the finest web content on every topic possible with the help of the editorial and content team.

토토사이트 说:
2024年1月15日 15:54

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.

슬롯사이트 说:
2024年1月15日 18:00

This is an awesome motivating article.I am practically satisfied with your great work.You put truly extremely supportive data. Keep it up. Continue blogging. Hoping to perusing your next post

먹튀검증 说:
2024年1月15日 18:48

What a information of un-ambiguity and preserveness of valuable familiarity concerning unexpected feelings.

소액결제현금화 说:
2024年1月15日 19:03

I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up..

슬롯사이트 说:
2024年1月15日 19:50

After research a couple of of the weblog posts in your website now, and I really like your method of blogging. I bookmarked it to my bookmark website record and will probably be checking back soon. Pls check out my site as effectively and let me know what you think. Computers & Accessories

고화질스포츠중계 说:
2024年1月15日 19:58

So it is intriguing and great composed and see what they think about other individuals

ios industrial outdo 说:
2024年1月15日 20:31

Hello First time I visite your website. I read some posts I got some good information from your posts. I got quality of work from your website. Now I'm your permanent user many Thanks for your writing

카지노사이트 说:
2024年1月15日 20:36

Thumbs up guys your doing a really good job

카지노사이트 说:
2024年1月15日 21:15

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!

카지노 说:
2024年1月16日 13:49

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!

카지노 说:
2024年1月16日 14:17

I enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform!

온라인카지노 说:
2024年1月16日 17:22

"Very nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed browsing
your blog posts. After all I will be subscribing to your feed and I hope you write again soon!"

온라인 카지노 说:
2024年1月18日 14:08

Amazing experience after visiting this site which is really full of information and someone have information for

먹튀검증 说:
2024年1月18日 16:32

Thank you for sharing excellent information. Your website is very cool. I am impressed by the info that you?ve on this website. It reveals how nicely you understand  this subject. Bookmarked this web page, will come back for more articles

pavzi.com 说:
2024年1月19日 00:39

Pavzi website is a multiple Niche or category website which will ensure to provide information and resources on each and every topic. Some of the evergreen topics you will see on our website are Career, Job Recruitment, Educational, Technology, Reviews and others. pavzi.com We are targeting mostly so it is true that Tech, Finance, and Product Reviews. The only reason we have started this website is to make this site the need for your daily search use.

바카라 사이트 먹튀검증 说:
2024年1月22日 14:40

온라인 카지노 커뮤니티 온카허브 입니다. 온카허브는 카지노 먹튀 사이트들과 안전한 카지노 사이트 정보를 공유하고 있습니다. 카지노 먹튀검증 전문팀을 자체적으로 운영함으로써 철저한 검증을 진행하고 있습니다. <a href="https://oncahub24.com/">바카라 사이트 추천</a>

바카라 추천 说:
2024年1月22日 15:03

온라인 카지노 커뮤니티 온카허브 입니다. 온카허브는 카지노 먹튀 사이트들과 안전한 카지노 사이트 정보를 공유하고 있습니다. 카지노 먹튀검증 전문팀을 자체적으로 운영함으로써 철저한 검증을 진행하고 있습니다.

카지노사이트 说:
2024年1月24日 10:23

카지노사이트 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.

하노이 가라오케 说:
2024年1月24日 10:42

하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.

베트남 유흥 说:
2024年1月25日 12:27

베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다. https://vn-hyena.com/

안전놀이터 说:
2024年1月25日 12:32

No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!

pavzi.com 说:
2024年1月26日 18:43

Pavzi website is a multiple Niche or category website which will ensure to provide information and resources on each and every topic. Some of the evergreen topics you will see on our website are Career, Job Recruitment, Educational, Technology, Reviews and others. pavzi.com We are targeting mostly so it is true that Tech, Finance, and Product Reviews. The only reason we have started this website is to make this site the need for your daily search use.

코인지갑개발 说:
2024年4月23日 16:35

블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.
https://xn--539awa204jj6kpxc0yl.kr/

Coin exchange 说:
2024年6月03日 10:52

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/

Coin exchange 说:
2024年6月07日 16:26

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter