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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to