Skip to content

Commit

Permalink
Teach delocate about a new directive that Clang is using.
Browse files Browse the repository at this point in the history
The latest Clang will generate `.hword`.

Change-Id: Ibdb0356049725c758c20f23fc3c9b60a75c28751
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/63646
Reviewed-by: David Benjamin <davidben@google.com>
Auto-Submit: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
(cherry picked from commit 672813c21e7f25d1e5c3475e97779d683ce1ec42)
  • Loading branch information
agl authored and justsmth committed Feb 13, 2024
1 parent 37975c8 commit 6f785fa
Show file tree
Hide file tree
Showing 2 changed files with 2,793 additions and 2,711 deletions.
2 changes: 1 addition & 1 deletion util/fipstools/delocate/delocate.peg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Arg <- QuotedArg / [[0-9a-z%+\-*_@.]]*
QuotedArg <- '"' QuotedText '"'
QuotedText <- (EscapedChar / [^"])*
LabelContainingDirective <- LabelContainingDirectiveName WS SymbolArgs
LabelContainingDirectiveName <- ".xword" / ".word" / ".long" / ".set" / ".byte" / ".8byte" / ".4byte" / ".quad" / ".tc" / ".localentry" / ".size" / ".type" / ".uleb128" / ".sleb128"
LabelContainingDirectiveName <- ".xword" / ".word" / ".hword" / ".long" / ".set" / ".byte" / ".8byte" / ".4byte" / ".quad" / ".tc" / ".localentry" / ".size" / ".type" / ".uleb128" / ".sleb128"
SymbolArgs <- SymbolArg ((WS? ',' WS?) SymbolArg)*
SymbolArg <- SymbolExpr
SymbolExpr <- SymbolAtom (WS? SymbolOperator WS? SymbolExpr)?
Expand Down
Loading

0 comments on commit 6f785fa

Please sign in to comment.