Change '@SECREL' suffix to GAS-compatible '@SECREL32'.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Mar 2013 16:21:50 +0000 (16:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 30 Mar 2013 16:21:50 +0000 (16:21 +0000)
commit42734cfb4140287d59d3b35718d62b5f90737499
treed6318fa1f06edf303e57f3626709de7bda2bb7c0
parent6ef362a6de0e5d503385df6d7710442951944f1a
Change '@SECREL' suffix to GAS-compatible '@SECREL32'.

'@SECREL' is what is used by the Microsoft assembler, but GNU as expects '@SECREL32'.
With the patch, the MC-generated code works fine in combination with a recent GNU as (2.23.51.20120920 here).

Patch by David Nadlinger!
Differential Revision: http://llvm-reviews.chandlerc.com/D429

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCExpr.cpp
lib/Target/X86/X86AsmPrinter.cpp
test/CodeGen/X86/tls.ll