xref: /llvm-project-15.0.7/lld/test/ELF/linkerscript/searchdir.s (revision 052d95a6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t
4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd \
5# RUN:   %p/Inputs/libsearch-dyn.s -o %tdyn.o
6# RUN: mkdir -p %t.dir
7# RUN: ld.lld -shared %tdyn.o -o %t.dir/libls.so
8# RUN: echo "SEARCH_DIR(\"%t.dir\")" > %t.script
9# RUN: ld.lld -o %t2 --script %t.script -lls %t
10
11.globl _start,_bar
12_start:
13

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026