mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
ef920552d4
There are situations where inline ASM may want to change the section -- for instance, to create a variable in the .data section. However, it cannot do this without (potentially) restoring to the wrong section. E.g.: asm volatile (".section __DATA, __data\n\t" ".globl _fnord\n\t" "_fnord: .quad 1f\n\t" ".text\n\t" "1:" :::); This may be wrong if this is inlined into a function that has a "section" attribute. The user should use `.pushsection' and `.popsection' here instead. The addition of `.previous' is added for completeness. <rdar://problem/12048387> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161477 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ARM | ||
absolutize.s | ||
comm-1.s | ||
darwin-complex-difference.s | ||
darwin-x86_64-diff-reloc-assign.s | ||
darwin-x86_64-diff-relocs.s | ||
darwin-x86_64-nobase-relocs.s | ||
darwin-x86_64-reloc-offsets.s | ||
darwin-x86_64-reloc.s | ||
data.s | ||
debug_frame.s | ||
diff-with-two-sections.s | ||
direction_labels.s | ||
empty-dwarf-lines.s | ||
file.s | ||
gen-dwarf.s | ||
indirect-symbols.s | ||
jcc.s | ||
lcomm-attributes.s | ||
lit.local.cfg | ||
loc.s | ||
pcrel-to-other-section.s | ||
previous.s | ||
pushsection.s | ||
relax-jumps.s | ||
relax-recompute-align.s | ||
reloc-diff.s | ||
reloc-pcrel-offset.s | ||
reloc-pcrel.s | ||
reloc.s | ||
section-align-1.s | ||
section-align-2.s | ||
section-attributes.s | ||
section-flags.s | ||
string-table.s | ||
symbol-diff.s | ||
symbol-flags.s | ||
symbol-indirect.s | ||
symbols-1.s | ||
tbss.s | ||
tdata.s | ||
temp-labels.s | ||
thread_init_func.s | ||
tls.s | ||
tlv-reloc.s | ||
tlv.s | ||
values.s | ||
variable-errors.s | ||
variable-exprs.s | ||
weakdef.s | ||
x86_32-optimal_nop.s | ||
x86_32-sections.s | ||
x86_32-symbols.s | ||
x86_64-reloc-arithmetic.s | ||
x86_64-sections.s | ||
x86_64-symbols.s | ||
zerofill-1.s | ||
zerofill-2.s | ||
zerofill-3.s | ||
zerofill-4.s | ||
zerofill-5.s | ||
zerofill-sect-align.s |