bolt/deps/llvm-18.1.8/lld/test/ELF/linkerscript/output-too-large-32bit.s

12 lines
346 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# REQUIRES: x86 && !llvm-64-bits
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { .text : { . = 0x6fffffffffffffff; *(.text*); } }" > %t.script
# RUN: not ld.lld --no-check-sections --script %t.script %t.o -o /dev/null 2>&1 | FileCheck %s
# CHECK: output file too large
.global _start
_start:
nop