bolt/deps/llvm-18.1.8/lld/test/ELF/linkerscript/locationcountererr.test

12 lines
322 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t
# RUN: not ld.lld %t --script %s -o /dev/null 2>&1 | FileCheck %s
# CHECK: {{.*}}.test:8: unable to move location counter (0x2000) backward to 0x10 for section '.text'
SECTIONS {
.text 0x2000 : {
. = 0x10;
*(.text)
}
}