summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/symbol-conflict.s
blob: dcca7c13de6e6ea1737775efca0e7882e266ed3d (plain)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t

# RUN: echo "SECTIONS { . = SIZEOF_HEADERS; .text : {*(.text.*)} end = .;}" > %t.script
# RUN: ld.lld -o %t1 --script %t.script %t
# RUN: llvm-objdump -t %t1 | FileCheck %s
# CHECK: 00000000000000e9         .text    00000000 end

.global _start
_start:
 nop
OpenPOWER on IntegriCloud