From 6ef01c3e2bc2b19c9628518c53cf360cb6a43e23 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 23 Aug 2019 07:50:09 +0000 Subject: [PATCH] Add a description about multiple linker scripts Differential Revision: https://reviews.llvm.org/D66630 llvm-svn: 369737 --- lld/docs/ld.lld.1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 index c432aacf7f73..f9711577bbaa 100644 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -424,6 +424,8 @@ and .It Fl -script Ns = Ns Ar file , Fl T Ar file Read linker script from .Ar file . +If multiple linker scripts are given, they are processed as if they +were concatenated in the order they appeared on the command line. .It Fl -section-start Ns = Ns Ar section Ns = Ns Ar address Set address of section. .It Fl -shared , Fl -Bsharable