boringssl/util/fipstools/testdata/x86_64-BSS/in.s
Adam Langley f64a6eeaf0 Switch to new delocate tool.
Most importantly, this version of delocate works for ppc64le. It should
also work for x86-64, but will need significant testing to make sure
that it covers all the cases that the previous delocate.go covered.

It's less stringtastic than the old code, however the parser isn't as
nice as I would have liked. I thought that the reason we put up with
AT&T syntax with Intel is so that assembly syntax could be somewhat
consistent across platforms. At least for ppc64le, that does not appear
to be the case.

Change-Id: Ic7e3c6acc3803d19f2c3ff5620c5e39703d74212
Reviewed-on: https://boringssl-review.googlesource.com/16464
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-05-30 18:00:16 +00:00

34 lines
559 B
ArmAsm

.text
movq %rax, %rax
# BSS declarations emit accessors.
.comm aes_128_ctr_generic_storage,64,32
.lcomm aes_128_ctr_generic_storage2,64,32
# BSS symbols may also be emitted in .bss sections.
.section .bss,"awT",@nobits
.align 4
.globl x
.type x, @object
.size x, 4
x:
.zero 4
.Llocal:
.quad 0
.size .Llocal, 4
# .bss handling is terminated by a .text directive.
.text
.section .bss,"awT",@nobits
y:
.quad 0
# Or a .section directive.
.section .rodata
.quad 0
# Or the end of the file.
.section .bss,"awT",@nobits
z:
.quad 0