aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-01 12:45:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-01 12:45:43 +0000
commit4a04294882bdd530bd0c3b388980e5326423e1b2 (patch)
tree567b6b8c47363745ec6739451d36139aae8ce254 /clang/lib/Frontend/FrontendActions.cpp
parentc5f2bca86615322f0295f0cf448dfc350f6e7d1e (diff)
downloadllvm-4a04294882bdd530bd0c3b388980e5326423e1b2.zip
llvm-4a04294882bdd530bd0c3b388980e5326423e1b2.tar.gz
llvm-4a04294882bdd530bd0c3b388980e5326423e1b2.tar.bz2
Don't force symbols to be globals in .thumb_set.
We currently force symbols to be globals in .thumb_set. The intent seems to be that given .thumb_set foo, bar we emit an undefined symbol to bar if it is never defined. The side effect is that we mark bar as global, even if it is defined, which gas does not. Producing an undefined reference to bar is a general difference from MC and gas. For example, given a = b gas will produce an undefined reference to b, MC will not. I would be surprised if any code depends on this, but it it does, we should fix the general difference, not special case .thumb_set. llvm-svn: 207757
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions