comparison lld/test/ELF/arm-thumb2-adr.s @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 0572611fdcc8
children c4bab56944e8
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
8 // RUN: .text.high 0x10100 : { *(.text.high) } \ 8 // RUN: .text.high 0x10100 : { *(.text.high) } \
9 // RUN: .data_high 0x1100f : { *(.data.high) } \ 9 // RUN: .data_high 0x1100f : { *(.data.high) } \
10 // RUN: } " > %t.script 10 // RUN: } " > %t.script
11 // RUN: ld.lld --script %t.script %t.o -o %t 11 // RUN: ld.lld --script %t.script %t.o -o %t
12 // RUN: llvm-readobj --symbols %t | FileCheck %s --check-prefix=SYMS 12 // RUN: llvm-readobj --symbols %t | FileCheck %s --check-prefix=SYMS
13 // RUN: llvm-objdump -d --triple=thumbv7m-none-eabi %t
14 // RUN: llvm-objdump -d --no-show-raw-insn --triple=thumbv7m-none-eabi %t | FileCheck %s 13 // RUN: llvm-objdump -d --no-show-raw-insn --triple=thumbv7m-none-eabi %t | FileCheck %s
15 14
16 /// Test the various legal cases for the R_ARM_THM_ALU_PREL_11_0 relocation 15 /// Test the various legal cases for the R_ARM_THM_ALU_PREL_11_0 relocation
17 /// Interesting things to note 16 /// Interesting things to note
18 /// Range is +- 4095 bytes 17 /// Range is +- 4095 bytes