[llvm-bugs] [Bug 27407] New: support symbol assignment in linker script expression parsing
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 18 12:05:54 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27407
Bug ID: 27407
Summary: support symbol assignment in linker script expression
parsing
Product: lld
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: emaste at freebsd.org
CC: llvm-bugs at lists.llvm.org
Blocks: 23214
Classification: Unclassified
This is a fairly common construct in linker scripts. Format is symbol =
expression; -- for example,
foo = .;
GNU ld also supports +=, -=, *= etc. although in my experience they are rarely
used compared to simple = assignment (and not by FreeBSD). Along with 'ALIGN'
(PR27406) this should be sufficient to handle all FreeBSD base system userland
linker scripts.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160418/4173398b/attachment.html>
More information about the llvm-bugs
mailing list