Compile:
authorChris Lattner <sabre@nondot.org>
Tue, 26 Sep 2006 03:39:53 +0000 (03:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Sep 2006 03:39:53 +0000 (03:39 +0000)
commita53115b4c254885fa19bbedf96d8d491204b86e8
treeede0e19920f3cfc045eb13bff88d689780ffd92f
parentcb05af852f1d346ac07b84c74a930a5cdbd6d427
Compile:
int x __attribute__((used));

to:

        .data
.comm _x,4              ; 'x'
        .no_dead_strip  _x

on both x86 and ppc darwin targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30605 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp