[lld] r276323 - [ELF] - Basic support of linkerscript commands: DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, CONSTANT

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 20:23:29 PDT 2016


On Thu, Jul 21, 2016 at 6:33 PM, Ed Maste via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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);
>

It works in easy cases (just tested). Can you upload a reproduce somewhere?

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list