[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / arm-thunk-toolargesection.s
blobf91c4a49593153e53816ac26121080756e101ce8
1 // REQUIRES: arm
2 // RUN: llvm-mc -filetype=obj -triple=thumbv7a-none-linux-gnueabi %s -o %t
3 // RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
5 // RUN: llvm-mc -filetype=obj -triple=thumbv7aeb-none-linux-gnueabi %s -o %t
6 // RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
7 // RUN: not ld.lld --be8 %t -o /dev/null 2>&1 | FileCheck %s
9 .syntax unified
10 .balign 0x1000
11 .thumb
12 .text
13 .globl _start
14 .type _start, %function
15 _start:
16 bx lr
18 .section .text.large1, "ax", %progbits
19 .balign 4
20 .space (17 * 1024 * 1024)
21 bl _start
22 .space (17 * 1024 * 1024)
24 // CHECK: error: InputSection too large for range extension thunk {{.*}}.text.large1