[all-commits] [llvm/llvm-project] fae961: [ELF] Support operator ^ and ^=

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 15 14:10:53 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fae96104d4378166cbe5c875ef8ed808a356f3fb
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-15 (Sat, 15 Jul 2023)

  Changed paths:
    M lld/ELF/ScriptLexer.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/test/ELF/linkerscript/diag3.test
    M lld/test/ELF/linkerscript/diag4.test
    M lld/test/ELF/linkerscript/diag5.test
    M lld/test/ELF/linkerscript/operators.test

  Log Message:
  [ELF] Support operator ^ and ^=

GNU ld added ^ support in July 2023 and it looks like ^= is in plan as

For now, we don't support `a^=0` (^= without a preceding space).

More information about the All-commits mailing list