mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
------------------------------------------------------------------------ r228490 | majnemer | 2015-02-07 00:26:40 -0800 (Sat, 07 Feb 2015) | 5 lines MC: Emit COFF section flags in the "proper" order COFF section flags are not idempotent: 'rd' will make a read-write section because 'd' implies write 'dr' will make a read-only section because 'r' disables write ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@228502 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
203 B
LLVM
8 lines
203 B
LLVM
; RUN: llc -mtriple i686-windows %s -o - | FileCheck %s
|
|
; RUN: llc -mtriple x86_64-windows %s -o - | FileCheck %s
|
|
|
|
@data = dllexport constant [5 x i8] c"data\00", align 1
|
|
|
|
; CHECK: .section .rdata,"dr"
|
|
|