Lines Matching full:section

3 # Single flags on a section with no flags:
4 # RUN: llvm-objcopy --set-section-flags=.foo=alloc \
5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc
7 # RUN: llvm-objcopy --set-section-flags=.foo=load \
8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load
10 # RUN: llvm-objcopy --set-section-flags=.foo=noload \
11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload
13 # RUN: llvm-objcopy --set-section-flags=.foo=readonly \
14 # RUN: --set-section-flags=.baz=readonly --set-section-flags=.rela.baz=readonly %t %t.readonly
16 # RUN: llvm-objcopy --set-section-flags=.foo=exclude \
17 # RUN: --set-section-flags=.baz=exclude --set-section-flags=.rela.baz=exclude %t %t.exclude
19 # RUN: llvm-objcopy --set-section-flags=.foo=debug \
20 # RUN: --set-section-flags=.baz=debug --set-section-flags=.rela.baz=debug %t %t.debug
22 # RUN: llvm-objcopy --set-section-flags=.foo=code \
23 # RUN: --set-section-flags=.baz=code --set-section-flags=.rela.baz=code %t %t.code
25 # RUN: llvm-objcopy --set-section-flags=.foo=data \
26 # RUN: --set-section-flags=.baz=data --set-section-flags=.rela.baz=data %t %t.data
28 # RUN: llvm-objcopy --set-section-flags=.foo=rom \
29 # RUN: --set-section-flags=.baz=rom --set-section-flags=.rela.baz=rom %t %t.rom
31 # RUN: llvm-objcopy --set-section-flags=.foo=contents \
32 # RUN: --set-section-flags=.baz=contents --set-section-flags=.rela.baz=contents %t %t.contents
34 # RUN: llvm-objcopy --set-section-flags=.foo=merge \
35 # RUN: --set-section-flags=.baz=merge --set-section-flags=.rela.baz=merge %t %t.merge
37 # RUN: llvm-objcopy --set-section-flags=.foo=strings \
38 # RUN: --set-section-flags=.baz=strings --set-section-flags=.rela.baz=strings %t %t.strings
40 # RUN: llvm-objcopy --set-section-flags=.foo=share \
41 # RUN: --set-section-flags=.baz=share --set-section-flags=.rela.baz=share %t %t.share
43 # RUN: llvm-objcopy --set-section-flags=.foo=large \
44 # RUN: --set-section-flags=.baz=large --set-section-flags=.rela.baz=large %t %t.large
46 # RUN: llvm-objcopy --set-section-flags=.foo=data \
47 # RUN: --set-section-flags=.baz=data --set-section-flags=.rela.baz=data %t %t.no-large
51 # RUN: llvm-objcopy --set-section-flags=.foo=alloc,readonly,strings \
52 # RUN: --set-section-flags=.baz=alloc,readonly,strings \
53 # RUN: --set-section-flags=.rela.baz=alloc,readonly,strings %t %t.alloc_ro_strings
55 # RUN: llvm-objcopy --set-section-flags=.foo=alloc,code \
56 # RUN: --set-section-flags=.baz=alloc,code \
57 # RUN: --set-section-flags=.rela.baz=alloc,code %t %t.alloc_code
61 # RUN: not llvm-objcopy --set-section-flags=.foo=xyzzy %t %t.xyzzy 2>&1 | FileCheck %s --check-pref…
64 # RUN: not llvm-objcopy --set-section-flags=.foo %t %t2 2>&1 | FileCheck %s --check-prefix=BAD-FORM…
66 # Setting flags for the same section multiple times:
67 # RUN: not llvm-objcopy --set-section-flags=.foo=alloc --set-section-flags=.foo=load %t %t2 2>&1 | …
70 # RUN: llvm-objcopy --set-section-flags=.foo=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENT…
71 # RUN: --set-section-flags=.baz=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STR…
72 # RUN: --set-section-flags=.rela.baz=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERG…
76 # RUN: llvm-objcopy --set-section-flags=.foo=aLlOc,LoAd,NoLoad,rEAdONly,Debug,codE,DaTa,rOm,CoNtEnT…
77 # RUN: --set-section-flags=.baz=aLlOc,LoAd,NoLoad,rEAdONly,Debug,codE,DaTa,rOm,CoNtEnTs,mErGe,sTR…
78 # RUN: --set-section-flags=.rela.baz=aLlOc,LoAd,NoLoad,rEAdONly,Debug,codE,DaTa,rOm,CoNtEnTs,mErG…
82 # RUN: llvm-objcopy --set-section-flags=.foo=alloc %t %t.unspecified
139 # BAD-FORMAT: bad format for --set-section-flags: missing '='
140 # MULTIPLE-SETS: --set-section-flags set multiple times for section '.foo'
142 # BAD-FLAG: unrecognized section flag 'xyzzy'. Flags supported for GNU compatibility: alloc, load, …