diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-19 18:10:29 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-19 18:10:29 +0000 |
commit | dbffa6761a64972bb9531d85317a0943cd4069ac (patch) | |
tree | 01ccbf52888a5f9fbe02bafcd529d62b373d8934 /gcc/config/darwin.c | |
parent | ff089219c8acded3c3857a88cd7219e0fa5c66d6 (diff) | |
download | gcc-dbffa6761a64972bb9531d85317a0943cd4069ac.tar.gz |
2010-02-19 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 156900
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@156902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 18800634c31..3ca507cc0a3 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1177,9 +1177,8 @@ machopic_select_section (tree decl, { bool weak = (DECL_P (decl) && DECL_WEAK (decl) - && (lookup_attribute ("weak", DECL_ATTRIBUTES (decl)) - || ! lookup_attribute ("weak_import", - DECL_ATTRIBUTES (decl)))); + && !lookup_attribute ("weak_import", + DECL_ATTRIBUTES (decl))); section *base_section; switch (categorize_decl_for_section (decl, reloc)) |