[lld] r276323 - [ELF] - Basic support of linkerscript commands: DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, CONSTANT
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 21 18:33:33 PDT 2016
On 21 July 2016 at 19:48, George Rimar via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: grimar
> Date: Thu Jul 21 14:48:00 2016
> New Revision: 276323
>
> URL: http://llvm.org/viewvc/llvm-project?rev=276323&view=rev
> Log:
> [ELF] - Basic support of linkerscript commands: DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, CONSTANT
It looks like CONSTANT doesn't work with symbol assignment? E.g. the
FreeBSD amd64 linker script has
kernphys = CONSTANT (MAXPAGESIZE);
but the kernel link fails with
undefined symbol: kernphys in machdep.o
More information about the llvm-commits
mailing list