aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/Inputs/out-of-section-sym.s
blob: 9a1349c426f33ed01e9307d94012f3f8a94403c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// $ cat out-of-section-sym.ld
// SECTIONS
// {
//   . = 0x10;
//   .text : { _ftext = . ; *(.text) }
//   . = 0x20;
//   .data : { _fdata = . ; *(.data) }
// }
// as --32 out-of-section-sym.s -o out-of-section-sym.o
// ld -m elf_i386 -Tout-of-section-sym.ld -o out-of-section-sym.elf-i386 \
//    out-of-section-sym.o

.text
_start:
  ret