commit | 5edf8957b5563020edef384b22678e589746053f | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sun Dec 16 21:20:53 2018 -0600 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Dec 21 16:35:32 2018 +0000 |
tree | 543449264292f74c45ac535cdf8a7d2a769f1165 | |
parent | 54efa1afc08069c9dff3e7c419cea95222e65211 [diff] |
Translate .L directives inside .byte too. Win64 unwind tables place distances from the start of a function in byte-wide values. Change-Id: Ie2aad7f6f5b702a60933bd52d872a83cba4e73a9 Reviewed-on: https://boringssl-review.googlesource.com/c/33784 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <alangley@gmail.com>
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 49551c8..f7ca870 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl
@@ -742,7 +742,7 @@ } last; }; - /\.rva|\.long|\.quad/ + /\.rva|\.long|\.quad|\.byte/ && do { $$line =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei; $$line =~ s/\.L/$decor/g; last;