https://bugs.llvm.org/show_bug.cgi?id=34948

            Bug ID: 34948
           Summary: -defsym should accept expressions, not just symbols
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

The -defsym SYM=VAL option in other linkers accepts an absolute address         
constant (e.g. 0 or 0x1234) or even an expression like 1+2 or symbol+3for       
VAL, not just a symbol name.  In gold and BFD, it takes basically any           
expression you can use in freestanding linker script contexts like              
PROVIDE(SYM = VAL).

-- 
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